Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.




3423 posts

Uber Geek
+1 received by user: 414

Trusted

Topic # 30453 9-Feb-2009 11:36
Send private message

Hey Guys,
We have a trixbox setup with 3 WXC VFX lines and it's working great. We use Cisco 7940s for our extensions and they too are working really well.

I'm wanting to setup some cordless DECT phones for the branches which run as extensions. I have 3x pap2t adapters which I'm trying to figure out how to provision. I have setup a basic config file that I got off the net in my tftp root directory:







        voip.internal


        (GSR)
        902
        902





Then in my device under "provisioning rule" I have set to tftp://voip.internal/pap2tMACADDRESS.xml (where mac address is the mac address of the device in all lower case andn without colons).

I can see in the tftp logs that it is getting the file but unfortunately isn't applying the configuration of the lines to the device. When I manually set them it works but there are issues with the cadence etc. which seems to be different in NZ.

Can someone please provide a sample configuration file?

Cheers!
Zeon





Create new topic
27287 posts

Uber Geek
+1 received by user: 6721

Moderator
Trusted
Biddle Corp
Lifetime subscriber

  Reply # 194876 9-Feb-2009 12:29
Send private message

Have you read the full Cisco cadmin guide for TFTP provisioning? If the file isn't being applied then you've probably got incorrect settings somewhere. If anything is incorrect the settings simply aren't applied.

What issue are you having with setting the NZ specific tones? I've certainly never come across anybody else who's had issues setting these from the web interface.



3423 posts

Uber Geek
+1 received by user: 414

Trusted

  Reply # 194902 9-Feb-2009 14:34
Send private message

Thanks for the feedback sbiddle,

OK, the issues with cadence etc. are more to do with the ring which just doesn't sound normal? (In fact I'm not even sure if that is cadence?)

Anyway I managed to ge tthem working by adding a few things to my config file. Also now Im just using the following provision rule:

tftp://voip.internal/pa2t$MA.cfg


This is my config file:



<flat-profile>

<!-- line 1, proxy and registration -->
        <Proxy_1_>voip.internal</Proxy_1_>
     <Outbound_Proxy_1_>
voip.internal</Outbound_Proxy_1_>
     <Use_Outbound_Proxy_1_ ua="na">Yes</Use_Outbound_Proxy_1_>


<!-- line 1, subscriber information -->
        <Display_Name_1_>(GSR)</Display_Name_1_>
        <User_ID_1_>902</User_ID_1_>
     <Auth_User_ID_1_>902</Auth_User_ID_1_>
        <Password_1_>902</Password_1_>
     <Register_1_>Yes</Register_1_>
      <Make_Call_Without_Reg_1_>No</Make_Call_Without_Reg_1_>
      <Register_Expires_1_>60</Register_Expires_1_>
      <Ans_Call_Without_Reg_1_>No</Ans_Call_Without_Reg_1_>
      <Use_DNS_SRV_1_>No</Use_DNS_SRV_1_>
      <DNS_SRV_Auto_Prefix_1_>No</DNS_SRV_Auto_Prefix_1_>
      <Proxy_Fallback_Intvl_1_>1</Proxy_Fallback_Intvl_1_>
      <Preferred_Codec_1_>G729a</Preferred_Codec_1_>


<Resync_Periodic>30</Resync_Periodic>
<Resync_On_Reset>yes</Resync_On_Reset>

</flat-profile>



Now it's onto dial plan! Our extensions are all 3 digits and we dial 1 or 9 to get out? Any ideas?





 
 
 
 


27287 posts

Uber Geek
+1 received by user: 6721

Moderator
Trusted
Biddle Corp
Lifetime subscriber

  Reply # 194907 9-Feb-2009 14:57
Send private message

To make the ring tone sound right you just need to enter the right settings for NZ in the regional settings. the voipusers wiki has these. These settings are the same whether you use the auto provisioning or use the web interface.

To be completely honest unless you have large numbers of devices to manage I'd just stick to the web interface. There are actually quite a few settings that need to be changed in a PAP2T from the default settings to set it up.

I'll send you the config I use for all Linksys devices & Asterisk later.. Bit busy at present.




3423 posts

Uber Geek
+1 received by user: 414

Trusted

  Reply # 194927 9-Feb-2009 16:40
Send private message

sbiddle: To make the ring tone sound right you just need to enter the right settings for NZ in the regional settings. the voipusers wiki has these. These settings are the same whether you use the auto provisioning or use the web interface.

To be completely honest unless you have large numbers of devices to manage I'd just stick to the web interface. There are actually quite a few settings that need to be changed in a PAP2T from the default settings to set it up.

I'll send you the config I use for all Linksys devices & Asterisk later.. Bit busy at present.



No rush at all mate. Thanks so much for the help!

I realize it maybe easier to set the devices using the web interface in the short term but I walso want to get this provisioning sorted as it is likely these devices will also go to staff's homes so they can work from there and this way I still have control of the configuration.

I also found it really hard to get info on this from google so hopefully this may also help someone else out around the world!





27287 posts

Uber Geek
+1 received by user: 6721

Moderator
Trusted
Biddle Corp
Lifetime subscriber

  Reply # 194933 9-Feb-2009 17:12
Send private message

If you're deploying these remotely then using the auto provisioning is a good idea as it makes updates painless!

I use the following as my dialplan

(*xx|1xx|2xx|3xx|4xx|5xx|6xx|7xx|8xx|9xx|xxxxxxx|0xx.|xx.)

Since Asterisk handles all the call routing it doesn't need to be anything smart but this allows 3 digit extn numbers (1xx - 9xx) 2 digit * codes (such as *97) and 7 digit local numbers to dial immediately without having to wait for the interdigit timer. Any other numbers other than these will wait for the interdigit timer before proceeding but you could easily edit this to add other number ranges.

Do you have a copy of the Cisco Provisioning Guide? This contains the details for every field so you can set this in the provisioning file. I haven't seen a copy of this on the net and seem to have misplaced my PDF of it (I only have the printed file) so can't email it to you but it's extremely handy if you plan on using config files for auto provisioning.

Create new topic



Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.


Geekzone Live »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.