PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
[2022-09-08 08:33:50.074] NOTICE[6147][C-00000000]: chan_sip.c:25450 handle_request_invite: Call from 'IMSI001010000001343' (127.0.0.1:5062) to extension '79236976981' rejected because extension not found in context 'sip-external'.
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
[general]
register => 488632:7zPtuX2db8@sip.test.com
srvlookup=yes
[IMSI001010000001343]
callerid=1343
canreinvite=no
type=friend
context=sip-external
allow=gsm
host=dynamic
dtmfmode=info
[488632]
host=sip.test.com
insecure=invite,port
type=peer
fromdomain=sip.test.com
disallow=all
allow=alaw
allow=ulaw
dtmfmode=auto
secret=7zPtuX2db8
defaultuser=488632
trunkname=488632
fromuser=488632
callbackextension=488632
context=test-in
qualify=400
directmedia=no
nat=force_rport,comedia
[1343]
secret=6zPtuX2db9
host=dynamic
type=friend
context=test-out
register => 488632:7zPtuX2db8@sip.test.com
srvlookup=yes
[IMSI001010000001343]
callerid=1343
canreinvite=no
type=friend
context=sip-external
allow=gsm
host=dynamic
dtmfmode=info
[488632]
host=sip.test.com
insecure=invite,port
type=peer
fromdomain=sip.test.com
disallow=all
allow=alaw
allow=ulaw
dtmfmode=auto
secret=7zPtuX2db8
defaultuser=488632
trunkname=488632
fromuser=488632
callbackextension=488632
context=test-in
qualify=400
directmedia=no
nat=force_rport,comedia
[1343]
secret=6zPtuX2db9
host=dynamic
type=friend
context=test-out
А extensions.conf:
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
#include extensions-range-test.conf
[test-in]
exten => 488686,1, Dial(SIP/1343)
[test-out]
exten => _XXXX,1,Dial(SIP/${EXTEN})
exten => _XXXX.,1,Dial(SIP/${EXTEN}@488632)
[test-in]
exten => 488686,1, Dial(SIP/1343)
[test-out]
exten => _XXXX,1,Dial(SIP/${EXTEN})
exten => _XXXX.,1,Dial(SIP/${EXTEN}@488632)