07-20-2011 07:34 AM - edited 03-16-2019 06:02 AM
Hello to all,
I have a Cisco 2811 router, running IOS version 15.1(4)M and Call Manager Express 8.6. I have also setup the router to serve out SIP to a few Cisco 9971 SIP phones. I have been able to work out exactly the config required for these phones to work as far as audio and video calls are required but I have a final problem.
Under the "voice register global", when I run the command "create profile" in order to create the .cnf.xml files, I find that one piece of information is always missing, which in consequence makes these phones to not become registered against this SIP server.
It is the field called: "name" which should contain the actual phone number extension for that particular SIP phone.
How can this field be automatically-populated?
partial example .cnf.xml
<sipLines>
<line button="1" lineIndex="1">
<featureID>9</featureID>
<featureLabel></featureLabel>
<proxy>USECALLMANAGER</proxy>
<port>5060</port>
<name></name> <<<<<------------- MISSING Line number extension !!!!
<displayName></displayName>
I have the following defined:
voice register global
mode cme
source-address 10.123.123.138 port 5060
bandwidth video tias-modifier 100000 negotiate end-to-end
max-dn 20
max-pool 20
load 9971 sip9971.9-1-2
authenticate realm XXXXXXX
timezone 48
time-format 24
date-format D/M/Y
mwi stutter
mwi reg-e164
voicemail 550
tftp-path flash:
file text
create profile sync 000669015953813A
ntp-server 10.123.123.138 mode directedbroadcast
camera
video
!
voice register dn 1
number 110
call-forward b2bua busy 110
call-forward b2bua mailbox 550
call-forward b2bua noan 550 timeout 40
allow watch
name XXXXXXXX
label 110
mwi
!
voice register pool 1
id mac XXXXXXXXX
session-transport tcp
type 9971
number 1 dn 1
dtmf-relay sip-notify
username XXXXX password XXXXXX
camera
video
!
Thank you for your assistance!
07-20-2011 07:42 AM
Hi,
Do you have the following line already configured?
voice service voip
sip
registrar server
Hope it helps, please rate if it does.
Regards,
- Adrian.
07-20-2011 09:21 AM
Hello Adrian,
Unfortunately that didn't do the trick. Here is the additional relevant sections:
voice service voip
media flow-around
media transcoder sync-streams
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
signaling forward none
h323
no call service stop
call start slow
sip
bind control source-interface Vlan1
bind media source-interface Vlan1
registrar server
asymmetric payload full
video screening
!
Anything else I should be looking at? When I run the "create profile" command, I get files of the type: SEPxxxx.cnf.xml for these 9971 phones, but that's what these phones request for anyway when using the "load 9971 sip9971.9-1-2" command.
As I mentioned above, I have a working file but every time I reload the router or when I type the command "create profile", I keep losing that one setting. Everything else is fine!
07-29-2011 03:44 PM
I figured it out!
I noticed that my 1st SIP extension would always get the right settings and become registered so after some further investigations, I found that in the section "voice register pool xx", I had been defining line 1 incorrectly.
For example
Instead of: number 1 dn 3 (match line 1 to the "voice register dn 3" profile)
I had: number 3 dn 3
Thus my line 1 was never defined properly and hence the xml tag
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide