SIP.conf
[code][general]
port=5060
bindaddr=0.0.0.0
[general]
context=bogon-calls
realm=entropy
basic-options
dtmfmode=rfc2833
type=friend
mobile-phone
host=dynamic
nat=yes
canreinvite=no
disallow=all
allow=g729
allow=ulaw
allow=alaw
201
username=201
secret=secretpass
callerid=(“Kosh @ Mobile” <201>)
context=mobile-outbound
mailbox=201@default
[203]
type=friend
host=dynamic
secret=203
[204]
type=friend
host=dynamic
secret=204
[/code]
There are 2 Soft Phones {user : 1000 and 1001}
and 1 Nokia e63 {User : 201}
extensions.conf
[code][default]
exten =>203,1,dial(sip/203)
exten => 204,1,dial(sip/204)
[bogon-calls]
exten => _.,1,Congestion
exten => s,1,Congestion
[mobile-except]
include => ext-sip
exten => _X.,1,Dial(IAX2/122220/${EXTEN})
[ext-sip]
exten => 200,1,Macro(stdexten,200,SIP/200)
exten => 201,1,Macro(stdexten,201,SIP/201)
exten => 201,1,dial(sip/201)
[/code]
Nokia Sip account is registered but when i call from 1000 to 201 this show following error in
*CLI> [quote] == Using SIP RTP CoS mark 5
– Executing [201@default:1] Macro(“SIP/203-00000013”, “stdexten,201,SIP/201”) in new stack
[Mar 30 19:13:43] WARNING[1843]: app_macro.c:302 _macro_exec: No such context ‘macro-stdexten’ for macro ‘stdexten’
– Auto fallthrough, channel ‘SIP/203-00000013’ status is ‘UNKNOWN’
[/quote]
If i call from mobile to softphone this shows
*CLI> [quote] == Using SIP RTP CoS mark 5
[Mar 30 19:15:05] NOTICE[1231]: chan_sip.c:20785 handle_request_invite: Call from ‘201’ to extension ‘202’ rejected because extension not found in context ‘mobile-outbound’.
[/quote]