New extension not registering

Hi,

I have a working SIP extension programed on my cell phone (x-200) using the CSipsimple application. I am trying to create a second extension (x-210) with same configuration but when it tries to register I got an error message saying “Unauthorized”.

Both lines have same configuration…ONE works the other NOT…I am clubless…Any help will be appreciated.

[200]
deny=0.0.0.0/0.0.0.0
secret=pass1234
dtmfmode=rfc2833
canreinvite=no
context=from-internal
host=dynamic
trustrpid=yes
sendrpid=no
type=friend
nat=yes
port=5060
qualify=yes
callgroup=
pickupgroup=
dial=SIP/200
mailbox=200@device
permit=0.0.0.0/0.0.0.0
callerid=x-200 <200>
call-limit=50

[210]
deny=0.0.0.0/0.0.0.0
secret=pass1234
dtmfmode=rfc2833
canreinvite=no
context=from-internal
host=dynamic
trustrpid=yes
sendrpid=no
type=friend
nat=yes
port=5060
qualify=yes
callgroup=
pickupgroup=
dial=SIP/210
mailbox=210@device
permit=0.0.0.0/0.0.0.0
callerid=x-210 <210>
call-limit=50

If it is the same phone (IP) you will need to use another port than 5060.

It is the same IP…your sugestion make sense, so…

  1. On my Asterisk system, I switched to port 5062.
  2. On my router, I fowarded ports 5060 to 5070 to the asterisk IP (for future extensions).
  3. On my cellphone I replaced the server name ‘.com’ to '.com:5062’

It is not registereing yet. I need to keep digging on the CSipsimple settings.

Thanks for your help.