Outbound routes not working

I recently rearranged some of my phone lines (deleted some numbers, including our former outbound route), and now my outbound routes are not working.

I suspect either my outbound dial patterns (defaults generated by the system) or some way the dial patterns interface with my provider are to blame.

If I remove all dial patters, system just goes silent on outbound calls. When i use the system generated 7/10/11 digit dial patterns, when I dial a number like 15555555555, I get a busy signal.
Output from asterisk -RvvvvT^c command

Blockquote
[2018-01-02 11:59:45] WARNING[27619][C-00001b23]: app_macro.c:310 _macro_exec: No such context ‘macro-outisbusy’ for macro ‘outisbusy’. Was called by [email protected]
[Jan 2 11:59:45] – Executing [[email protected]:6] Wait(“SIP/1-0000004b”, “1”) in new stack
[Jan 2 11:59:46] – Executing [[email protected]:7] Congestion(“SIP/1-0000004b”, “20”) in new stack
[2018-01-02 11:59:46] WARNING[27619][C-00001b23]: channel.c:4883 ast_prod: Prodding channel ‘SIP/1-0000004b’ failed
[Jan 2 11:59:46] == Spawn extension (from-internal, 151, 7) exited non-zero on ‘SIP/1-0000004b’
[Jan 2 11:59:46] – Executing [[email protected]:1] Macro(“SIP/1-0000004b”, “hangupcall”) in new stack
[Jan 2 11:59:46] – Executing [[email protected]:1] GotoIf(“SIP/1-0000004b”, “1?theend”) in new stack
[Jan 2 11:59:46] – Goto (macro-hangupcall,s,3)
[Jan 2 11:59:46] – Executing [[email protected]:3] ExecIf(“SIP/1-0000004b”, “0?Set(CDR(recordingfile)=)”) in new stack
[Jan 2 11:59:46] – Executing [[email protected]:4] Hangup(“SIP/1-0000004b”, “”) in new stack
[Jan 2 11:59:46] == Spawn extension (macro-hangupcall, s, 4) exited non-zero on ‘SIP/1-0000004b’ in macro ‘hangupcall’
[Jan 2 11:59:46] == Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/1-0000004b’
[Jan 2 11:59:46] == Extension Changed 1[ext-local] new state Idle for Notify User 2

Blockquote

Any ideas on how to diagnose /correct?

perhaps a bit of information about your environment might help elicit more responses. things like the trunk definition and the outbound route might be a good place to start

Here are my outbound trunk rules:

Blockquote
type=friend
secret= xxxxxxx
host=xxxxx
disallow=all
context=from-pstn
canreinvite=no
allow=ulaw

Not much else to report, the dial patters are just teh 7/10/11 dial patterns for the outbound route that get autogenerated. The rest of the outbound route and outbound trunk configs are generic.

Inbound calls working. Outbound,if I dial an internal extension it works. If I dial a number like NXXNXXXXXX I get a long silent pause then a busy signal.

what does the dial pattern on outbound route and/or trunk look like. what does the log file tell you is happening to your call (/var/log/asterisk/full is a place to start)

018-01-02 11:59:45] WARNING[27619][C-00001b23]: app_macro.c:310 _macro_exec: No such context ‘macro-outisbusy’ for macro ‘outisbusy’. Was called by [email protected]

is suspicious, what is you extension “1” in the [from-internal] context ?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.