Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cisco 7906 over Elastix

Status
Not open for further replies.

lordluis2000

Technical User
Oct 3, 2014
12
MX
Hi I have been trying to register two Cisco Phone 7906G in Elastix 2.4.0 But I did have any luck.
I updated the phone firmware to SIP version SIP11.9-4-2-1S and I did the configuration on The phone XML File
This is the important part I guess:

My Elastix Server is 192.168.1.252
My Extension: 128 / Password01

<sipLines>
<line button="1">
<featureID>9</featureID>
<featureLabel>Asterisk</featureLabel>
<proxy>192.168.1.252</proxy>
<port>5060</port>
<name>128</name>
<displayName>Asterisk</displayName>
<autoAnswer>
<autoAnswerEnabled>2</autoAnswerEnabled>
</autoAnswer>
<callWaiting>3</callWaiting>
<authName>128</authName>
<authPassword>Password01</authPassword>
<sharedLine>false</sharedLine>
<messageWaitingLampPolicy>1</messageWaitingLampPolicy>
<messagesNumber>*97</messagesNumber>
<ringSettingIdle>4</ringSettingIdle>
<ringSettingActive>5</ringSettingActive>
<contact>128</contact>
<forwardCallInfoDisplay>
<callerName>true</callerName>
<callerNumber>false</callerNumber>
<redirectedNumber>false</redirectedNumber>
<dialedNumber>true</dialedNumber>
</forwardCallInfoDisplay>
</line>
</sipLines>

In the Elastix

I put

NAT value to "never"
Quality to "No"

The extension works fine using a soft-phone 3CXPhone

The phone is trying to register without success
After a couple of minutes the phone stop trying and nothing

Any idea????

Thanks,

Luis M.
 
I see that you are trying to get answer...but I have never used Cisco phone with Asterisk

Sorry...hope somebody out there who might help.

Learning is not enough, you have to apply it...
 
Thanks... I hopefully this help someone

Update this thread

Finally I did register the phones in Asterisk. And I would like to share some import tips I found.
Setting Cisco phone over Asterisk could be really tricky. And here all the information I found from many sources.
This is my environment
1. Elastix 2.4.0 and FreePBX
2. Cisco phone 7906G
3. Tftpd32 (TFTP Server)
4. XML Editor file I used editiX XML Editor (useful to find typing mistakes)
5. SIP Firmware (I successfully uses SIP11.8-5-4S and SIP11.9-4-2-1S) both work fine. Just with my phone the 9x version runs slow the 8x version is faster but have a small error in Time configuration but still register the hour and date correctly.

I got several error learning about theses phone, so here we go.

1. Blank screen or just the cisco logo without the phone start

a. For these I will just assume that you know how to set the TFTP server and DHCP to update the firmware ( Note: if you did the reset and you cannot access the phone setting do not worry working in the same network subnet if you have the TFTP server Up the phone will start an ARC to find a TFTP server)

b. You probably saw in many sites about the reset holding # key during the start and after the blinked light enter the sequence 12345678*0#

i. This code clean the configuration

c. And the other code 3491672850*# delete the firmware
So, in both case you can uses and you can recover the phone if you did use the first one you can update your phone from one firmware to other. But if you did the second one will be a little harder you will need to uses the exact firmware, that’s means you will have to try old the firmware’s until find the right one (Probably SCCP or SIP) so write down the current firmware before do that but after that you can migrate from one firmware to other

2. Auth fail during firmware update

a. This error is not completed supported but I found something save my life, if you are trying to update from SCCP to SIP some of the firmware´s has issues with the authentication

i. Try this if you have any firmware SCCP or SIP and get the error just update or downgrade to SCCP firmware SCCP 8.4.4 from this firmware I was able to update to SIP without any authentication error.

ii. Just a little piece of advice. You already know that you need a lot files for update (zip pack you download from cisco page) and some xml files. Try first just using XMLDefault.cnf.xml, it is faster and for the beginning you have more control of the XML file and errors linked to them.
I used this code:

Default>
<callManagerGroup>
<members>
<member priority="0">
<callManager>
<ports>
<analogAccessPort>2002</analogAccessPort>
<digitalAccessPort>2001</digitalAccessPort>
<ethernetPhonePort>2000</ethernetPhonePort>
<mgcpPorts>
<listen>2427</listen>
<keepAlive>2428</keepAlive>
</mgcpPorts>
</ports>
<processNodeName>AsterikIPServer</processNodeName>
</callManager>
</member>
</members>
</callManagerGroup>
<loadInformation369 model="Cisco Phone 7906G">SIP11.9-3-1SR4-1S</loadInformation369>
</Default>

Just need to edit two values
Your Asterisk Server and the firmware you want to update
Note: < loadInformation369 model> this number 369 change with the model but I do not know if there important keep it, just use the write number for your model.

3. Registering process in Asterisk.

a. That was the trickiest part, one you have the SEP<MACADDRESS>.cnf.XML, the problem there are several of these model of files on Internet but most of them did not work for me. You can try download any of them but the most important part I will put it here.

i. Nat part
<natEnabled>false</natEnabled>
<natAddress></natAddress>

ii. Sip Line part (here it is where authentication has place
<sipLines>
<line button="1">
<featureID>9</featureID>
<featureLabel>Luis-Manuel</featureLabel>
<name> EXTENSION-USER </name>
<displayName>Luis-Manuel</displayName>
<contact> EXTENSION-USER </contact>

<proxy>USECALLMANAGER</proxy>
<port>5060</port>
<autoAnswer>
<autoAnswerEnabled>2</autoAnswerEnabled>
</autoAnswer>
<callWaiting>3</callWaiting>

<authName> EXTENSION-USER </authName>
<authPassword> EXTENSION-PASS </authPassword>

<sharedLine>false</sharedLine>
<messageWaitingLampPolicy>1</messageWaitingLampPolicy>
<messagesNumber>*97</messagesNumber>
<ringSettingIdle>4</ringSettingIdle>
<ringSettingActive>5</ringSettingActive>

<forwardCallInfoDisplay>
<callerName>true</callerName>
<callerNumber>false</callerNumber>
<redirectedNumber>false</redirectedNumber>
<dialedNumber>true</dialedNumber>
</forwardCallInfoDisplay>
</line>
</sipLines>
Note: Just change the part refers to user name and password but DO NOT FORGET THIS LINE
<proxy>USECALLMANAGER</proxy>
if you do not put just like this the phone will never register on Asterisk, just put and places exactly like that.
You must complete the SEPxxxxx.cnf.XML file but these were the crucial point for me.
4. In Elastix.

a. Well, for me it was impossible make work the phones over UDP so I enabled the TCP transport, because I am using Elastix these are the files but in other distributions can change

i. sip_general_custom.conf
tcpenable=yes
tcpbindaddr=0.0.0.0

ii. sip_custom_post.conf

[EXTENSION](+)
transport=tcp
Note:You must add one entrance for each extension

And That's it guys.
Good luck
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top