Koozali.org: home of the SME Server

Provisioning filenames

Offline timn

  • *
  • 62
  • +0/-0
    • Nash CDL
Provisioning filenames
« on: July 03, 2009, 01:36:05 AM »
I am running 2.3.1-13 release and have just noticed a change to the provisioning set up. Previously the provisioning filename could be set as spa$MAC or spa$MAU where $MAC would be replaced by the lowercase MAC address and $MAU by the uppercase. I have a spa942 phone which only looks for lowercase so have been using $MAC. This is also as per the current wiki.

Having just had the need to make a change to the rules for the first time in a long while I have noticed that $MAU is no longer replaced - results in a filename spa$MAU - while $MAC is replaced with the uppercase MAC address. I therefore cannot provision the spa942 which is still picking up the old lowercase file.

The extension edit page in server manager also automatically saves the entered MAC address in uppercase. This may be cosmetic or related, but I am sure it never used to do case conversion.

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Provisioning filenames
« Reply #1 on: July 03, 2009, 07:49:45 AM »
Thanks for this.

We'll be back to you very shortly

Best

S

Offline timn

  • *
  • 62
  • +0/-0
    • Nash CDL
Re: Provisioning filenames
« Reply #2 on: August 26, 2009, 03:09:59 PM »
Bump

I am now on 2.3.2-12 but $MAC is still writing all uppercase filenames.

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Provisioning filenames
« Reply #3 on: August 26, 2009, 10:06:02 PM »
Sorry for the delay - this was closed so I though we'd dealt with it.

use $mac instead of $MAC in your provisioning file reference in extensions.


Kind Regards

S

Offline timn

  • *
  • 62
  • +0/-0
    • Nash CDL
Re: Provisioning filenames
« Reply #4 on: August 27, 2009, 02:22:16 AM »
OK. Thanks, that is working now, but the Wiki needs updating.

Now that the file is being generated with the correct filename however, the provisioning updates are still failing because the substitutional variables $ext, $password, and $desc are not being replaced in the generated file. $localip does work.
« Last Edit: August 27, 2009, 02:41:13 AM by timn »

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Provisioning filenames
« Reply #5 on: August 27, 2009, 06:13:31 AM »
Hmmm,

I just created an spa-942 extension on our test system here and it worked perfectly.  Can you give me a little more context, perhaps an example of what isn't working for you?  If there is sensitive information in there that you don't want to publish online then send it to us at admin@aelintra.com. 

S

Offline timn

  • *
  • 62
  • +0/-0
    • Nash CDL
Re: Provisioning filenames
« Reply #6 on: August 27, 2009, 11:29:30 AM »
I've sent you an email with all the relevant setup and files

Offline timn

  • *
  • 62
  • +0/-0
    • Nash CDL
Re: Provisioning filenames
« Reply #7 on: August 27, 2009, 01:15:58 PM »
Solved, sorry my fault. Substitutional variables in extension template instead of IP device descriptor. read the Wiki - which is what I should have done  :oops:

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Provisioning filenames
« Reply #8 on: August 27, 2009, 01:18:42 PM »
No problem

- thanks for letting us know.

Best

S