Hey i hope you can help me out… to try to understand what happened.
Using Asterisk 1.8, and everything was going great, from one hour to another… we were unable to make phone calls, but we can still receive them
from cli sip show peers…
ht503 192.168.10.60 N 5062 UNREACHABLE
ht503_in/ht503_in 192.168.1.45 D N 62254 OK (12 ms)
where ht503 is Outgoing and ht503_in is incoming… is a trunk from Grandstream ATA device.
main problem that shows up on CLI is
WARNING[2404]: app_dial.c:2345 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Subscriber absent)
== Everyone is busy/congested at this time (1:0/0/1)
the information from debug when making the call
-- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/120-000000be", "0?Set(DIAL_TRUNK_OPTIONS=CtTwWM(confirm))") in new stack
[2015-01-31 17:45:38] DEBUG[2404]: app_macro.c:435 _macro_exec: Executed application: ExecIf
[2015-01-31 17:45:38] DEBUG[2404]: pbx.c:4405 ast_str_substitute_variables_full: Expression result is '0'
[2015-01-31 17:45:38] DEBUG[2404]: pbx.c:4718 pbx_extension_helper: Launching 'Macro'
-- Executing [s@macro-dialout-trunk:17] Macro("SIP/120-000000be", "dialout-trunk-predial-hook,") in new stack
[2015-01-31 17:45:38] DEBUG[2404]: pbx.c:4718 pbx_extension_helper: Launching 'MacroExit'
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/120-000000be", "") in new stack
[2015-01-31 17:45:38] DEBUG[2404]: app_macro.c:435 _macro_exec: Executed application: Macro
[2015-01-31 17:45:38] DEBUG[2404]: pbx.c:4614 pbx_substitute_variables_helper_full: Expression result is '0'
[2015-01-31 17:45:38] DEBUG[2404]: pbx.c:4718 pbx_extension_helper: Launching 'GotoIf'
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/120-000000be", "0?bypass,1") in new stack
[2015-01-31 17:45:38] DEBUG[2404]: pbx.c:10670 pbx_builtin_gotoif: Not taking any branch
[2015-01-31 17:45:38] DEBUG[2404]: app_macro.c:435 _macro_exec: Executed application: GotoIf
[2015-01-31 17:45:38] DEBUG[2404]: pbx.c:4614 pbx_substitute_variables_helper_full: Expression result is '0'
[2015-01-31 17:45:38] DEBUG[2404]: pbx.c:4718 pbx_extension_helper: Launching 'GotoIf'
-- Executing [s@macro-dialout-trunk:19] GotoIf("SIP/120-000000be", "0?customtrunk") in new stack
[2015-01-31 17:45:38] DEBUG[2404]: pbx.c:10670 pbx_builtin_gotoif: Not taking any branch
[2015-01-31 17:45:38] DEBUG[2404]: app_macro.c:435 _macro_exec: Executed application: GotoIf
[2015-01-31 17:45:38] DEBUG[2404]: pbx.c:4718 pbx_extension_helper: Launching 'Dial'
-- Executing [s@macro-dialout-trunk:20] Dial("SIP/120-000000be", "SIP/ht503/4404151,300,CtTwW") in new stack
[2015-01-31 17:45:38] DEBUG[2404]: chan_sip.c:27297 sip_request_call: Asked to create a SIP channel with formats: 0x8 (alaw)
[2015-01-31 17:45:38] DEBUG[2404]: chan_sip.c:8227 sip_alloc: Allocating new SIP dialog for 189e6efc54f1cd431412c8eb12f44b22@127.0.0.1:5060 - INVITE (No RTP)
[2015-01-31 17:45:38] WARNING[2404]: app_dial.c:2345 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Subscriber absent)
== Everyone is busy/congested at this time (1:0/0/1)
[2015-01-31 17:45:38] DEBUG[2404]: app_dial.c:3029 dial_exec_full: Exiting with DIALSTATUS=CHANUNAVAIL.
[2015-01-31 17:45:38] DEBUG[2404]: app_macro.c:435 _macro_exec: Executed application: Dial
[2015-01-31 17:45:38] DEBUG[2404]: pbx.c:4718 pbx_extension_helper: Launching 'NoOp'
-- Executing [s@macro-dialout-trunk:21] NoOp("SIP/120-000000be", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 20") in new stack
[2015-01-31 17:45:38] DEBUG[2404]: app_macro.c:435 _macro_exec: Executed application: Noop
[2015-01-31 17:45:38] DEBUG[2404]: pbx.c:4718 pbx_extension_helper: Launching 'Goto'
-- Executing [s@macro-dialout-trunk:22] Goto("SIP/120-000000be", "s-CHANUNAVAIL,1") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
[2015-01-31 17:45:38] DEBUG[2404]: app_macro.c:435 _macro_exec: Executed application: Goto
[2015-01-31 17:45:38] DEBUG[2404]: pbx.c:4546 pbx_substitute_variables_helper_full: Function result is '0'
[2015-01-31 17:45:38] DEBUG[2404]: pbx.c:4614 pbx_substitute_variables_helper_full: Expression result is '0'
[2015-01-31 17:45:38] DEBUG[2404]: pbx.c:4546 pbx_substitute_variables_helper_full: Function result is '20'
[2015-01-31 17:45:38] DEBUG[2404]: pbx.c:4718 pbx_extension_helper: Launching 'Set'
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set("SIP/120-000000be", "RC=20") in new stack
[2015-01-31 17:45:38] DEBUG[2404]: app_macro.c:435 _macro_exec: Executed application: Set
[2015-01-31 17:45:38] DEBUG[2404]: pbx.c:4718 pbx_extension_helper: Launching 'Goto'
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("SIP/120-000000be", "20,1") in new stack
-- Goto (macro-dialout-trunk,20,1)
Not sure if we need even more from the dial… or should i set debug off…
and from my sip.conf… i have
[code][ht503]
host=192.168.10.60
type=peer
canreinvite=no
insecure=port,invite
dtmfmode=rfc2833
port=5062
qualify=yes
context=from-trunk-sip-ht503
[ht503_in]
context=from-trunk
host=dynamic
insecure=port,invite
type=friend
dtmfmode=rfc2833
secret=1234
nat=yes
[/code]
and i have abunch of #include…
so if you need more info please ask, because ive been with this problem for several days and not going anywhere =(
Any help would be really apreciated.