do not know why. Anybody has a clue what could be wrong ? Is this a
bug ?
[I rebooted asterisk, and now it works.]
Regards
Axelle.
Logs of failed registration:
> sip show users
Username Secret Accountcode
Def.Context ACL NAT
IMSI208011234567890 sip-local
No RFC3581
IMSI208302141472352
sip-external No RFC3581
IMSI208304424439206
sip-external No RFC3581
[Apr 8 15:01:01] NOTICE[20626]: chan_sip.c:15642
handle_request_register: Registration from 'IMSI208300618462231
<sip:IMSI208300618462231 at 127.0.0.1>' failed for '127.0.0.1'
- No
matching peer found
> sip show user IMSI208300618462231
User IMSI208300618462231 not found.
My configuration in extensions.conf:
[IMSI208300618462231]
callerid=2111
canreinvite=no
type=friend
context=sip-external
allow=gsm
host=dynamic
sip.conf:
exten => 2111,1,Macro(dialSIP,IMSI208300618462231)
where dialSIP is a macro:
[macro-dialSIP]
exten => s,1,Dial(SIP/${ARG1})
exten => s,2,Goto(s-${DIALSTATUS},1)
exten => s-CANCEL,1,Hangup
exten => s-NOANSWER,1,Hangup
exten => s-BUSY,1,Busy(3000)
exten => s-CONGESTION,1,Congestion(3000)
exten => s-CHANUNAVAIL,1,playback(ss-noservice)
exten => s-CANCEL,2,Hangup