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
Warren Selby
2011-Feb-24 17:48 UTC
[asterisk-users] Registration failed though configured.
On Thu, Feb 24, 2011 at 7:24 AM, Axelle <aafortinet at gmail.com> wrote:> Hi list, ><snip>> in /etc/asterisk/extensions.conf: > exten => 2102,1,Macro(dialSIP,IMSI2081xxxx) ; this one registers ok > exten => 2111,1,Macro(dialSIP,IMSI20830061xxxx) ; fails >These lines have nothing to do with endpoint registration. These are outbound dial Macro's.> 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 >Do these IMSI names / numbers match what your phone is trying to register as? Are there actual "xxxx" at the end of the numbers, or are you attempting to obfuscate? Show us the actual logs and the actual sip.conf entries with only passwords removed, leave the usernames intact, and maybe we'll be able to see what's actually happening. -- Thanks, --Warren Selby, dCAP http://www.selbytech.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110224/9a414d2b/attachment-0001.htm>