[numberplan-custom-1]
plancomment = DialPlan1
include = default
exten => 69,1,Answer
exten => 69,n,Echo
;
exten => _X.,1,Dial(SIP/${EXTEN})
exten => _X.,2,Dial(SIP/${EXTEN}@10.0.0.1)
exten => _X.,3,Congestion
;
exten => _23XXX,1,Dial(SIP/${EXTEN})
exten => _23XXX,2,Congestion
----------------------------------------
[harris]
type=friend
host=10.0.0.1
context=default
insecure=port
canreinvite=no
allow=alaw
-----------------------------------------
-- Executing [0748881658@numberplan-custom-1:1] Dial("SIP/23003-b5a06fb0", "SIP/0748881658") in new stack
[Mar 5 05:57:08] WARNING[9761]: chan_sip.c:2719 create_addr: No such host: 0748881658
[Mar 5 05:57:08] WARNING[9761]: app_dial.c:1081 dial_exec_full: Unable to create channel of type 'SIP' (cause 3 - No route to destination)
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [0748881658@numberplan-custom-1:2] Dial("SIP/23003-b5a06fb0", "SIP/0748881658@10.0.0.1") in new stack
-- Called 0748881658@10.0.0.1
-- Got SIP response 415 "Unsupported Media Type" back from 10.0.0.1
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [0748881658@numberplan-custom-1:3] Congestion("SIP/23003-b5a06fb0", "") in new stack
== Spawn extension (numberplan-custom-1, 0748881658, 3) exited non-zero on 'SIP/23003-b5a06fb0'