[asterisk-users] Registration failed though configured.

Axelle aafortinet at gmail.com
Thu Feb 24 07:24:32 CST 2011


Hi list,

Currently, one of my phones registers fine, and the other does not,
though for me they have the same config...
Can somebody help debug/understand why?

The logs in asterisk say:
[Feb 24 13:48:09] NOTICE[20626]: chan_sip.c:15642
handle_request_register: Registration from 'IMSI208300618462231
<sip:IMSI20830061xxxx at 127.0.0.1>' failed for '127.0.0.1' - No matching
peer found

Thanks


in /etc/asterisk/extensions.conf:
exten => 2102,1,Macro(dialSIP,IMSI2081xxxx) ; this one registers ok
exten => 2111,1,Macro(dialSIP,IMSI20830061xxxx) ; fails

In sip.conf:
[IMSI2081xxxx]	;
callerid=2102
canreinvite=no
type=friend
context=sip-external
allow=gsm
host=dynamic

[IMSI20830061xxxx]
callerid=2111
canreinvite=no
type=friend
context=sip-external
allow=gsm
host=dynamic



More information about the asterisk-users mailing list