Cisco IP Phone is not able to register with Asterisk server


#1

Hi Friends,

          I am configuring Cisco IP Phone 7960 with Asterisk server. After configuration, when i call from SJphone to Cisco IP phone in direct mode, i am getting the call. But when i try through proxy mode, i.e., through Asterisk server, i can't able to connect between SJphone and Cisco IP Phone.  I can make calls between two SJphones running on two machines, through Asterisk server. Here two SJphone have extensions as 277 and 278. The Cisco IP Phone has 121. 

          Is there any problem with my configuration files.

          [b]SIP.conf[/b]

             [121]
context=sipphone
type=friend
host=dynamic
username=121
secret=121
allow=all

[277]
context=sipphone
type=friend
host=dynamic
username=277
secret=277
allow=all


[278]
context=sipphone

type=friend
host=dynamic
username=278
secret=278
allow=all

[279]
context=sipphone
type=friend
host=dynamic

username=279
secret=279
allow=all

[280]

context=sipphone
type=friend
host=dynamic
username=280
secret=280

[u]extensions.conf[/u]
 
  [sipphone]
;exten => cisco_line1,1,Goto(121,1)
 ;exten => 121,1,Dial(SIP/121)
 ;exten => 121,2,Hangup()

 exten => 121,1,Dial(SIP/121)
 exten => 277,1,Dial(SIP/277)
 exten => 278,1,Dial(SIP/278)
 exten => 279,1,Dial(SIP/279)
 exten => 280,1,Dial(SIP/280)
 exten => 101,1,Dial(SIP/jis)

SIP001A2F53CAE1.cnf

Line 1 Settings

 line1_name: "121"                     ; Line 1 Extension\User ID
 line1_displayname: "121"           ; Line 1 Display Name
  line1_authname: "121"         ; Line 1 Registration Authentication
  line1_password: "121"         ; Line 1 Registration Password
  proxy1_address: 192.168.1.162
  proxy1_port: 5060

Can any one help how to make connection between IP phone and SJphone.

Regards,
NagaVardhan


#2

Does the Cisco phone register successfully to asterisk? Try to get a SIP trace (sip set debug) to see what is going on.


#3

You need to set

nat_enable: “1”

in your SIPmac.cnf file.

Cisco SIP firmware is very limited in functionality. People should be using SCCP instead.
With SIP firmware you do not even get Call Reject/Send to VM button on your phone :open_mouth:


#4

[quote=“thor”]You need to set

nat_enable: “1”

in your SIPmac.cnf file.

Cisco SIP firmware is very limited in functionality. People should be using SCCP instead.
With SIP firmware you do not even get Call Reject/Send to VM button on your phone :open_mouth:[/quote]

Thank you Very Much. Now i can able to call from IP Phone to SJPhone, but i can’t call from SJPhone to IP Phone.
I am getting the following errors.
[root@localhost tftpboot]# [Sep 27 14:53:13] WARNING[5747]: app_dial.c:1726 dial_exec_full: Skipping dialing interface ‘SIP/121’ again since it has already been dialed
[Sep 27 14:53:16] WARNING[5749]: app_dial.c:1726 dial_exec_full: Skipping dialing interface ‘SIP/121’ again since it has already been dialed
[Sep 27 14:53:19] WARNING[5752]: app_dial.c:1726 dial_exec_full: Skipping dialing interface ‘SIP/121’ again since it has already been dialed
[Sep 27 14:53:25] WARNING[5754]: app_dial.c:1726 dial_exec_full: Skipping dialing interface ‘SIP/121’ again since it has already been dialed
[Sep 27 14:53:35] WARNING[5756]: app_dial.c:1726 dial_exec_full: Skipping dialing interface ‘SIP/121’ again since it has already been dialed
[Sep 27 14:58:02] WARNING[5905]: app_dial.c:1726 dial_exec_full: Skipping dialing interface ‘SIP/121’ again since it has already been dialed
[Sep 27 14:58:15] WARNING[4813]: chan_sip.c:13581 register_verify: Failed to parse contact info

PLEASE TELL ME HOW TO OVERCOME THIS SITUATION.

REGARDS,
Nagavardhan.


#5

No Cisco phone is not able to register successfully.

Regards,
Nagavardhan.


#6

That error message indicates a dialplan configuration error. It’s intended use is where you use the & notation in complex ways, and, as a result, try and call the same device more than once for the same call attempt.

There are bugs, in some versions, which mean that this can happen in other cases, but they are not related to the type of phone.


#7

Do you have any working Dialplan.


#8

A useful dialplan is unique to you.  Although I have provided one, asking for one doesn't make sense.

(Strictly speaking the above example is broken, because it will try to play the screeches a second time on a non-existent channel.)

A useful dialplan is unique to you. Although I have provided one, asking for one doesn’t make sense.

(Strictly speaking the above example is broken, because it will try to play the screeches a second time on a non-existent channel.)


#9

No Cisco phone is not able to register successfully.
[/quote]

Try to find out why the registration fails. To be able to receive calls, the Cisco phone must be registered to your Asterisk server. Get a C/P of SIP trace while the phone tries to register.

Regards,
Nix