800 Number Problem

We are having problems with this in multiple locations.

We can dial all 800 numbers except one.

The number continuously rings and rings. If we call it from another phone system or a cell phone it rings right through. There is an automated service on that line and it picks up in less than 3 rings.

I have attached a call trace on the line if that helps.

Please let me know if there is something more I can do on my end

Thank You.

(“SIP/1002-b646d830”, “1|AGI|fixlocalprefix”) in new stack
[2010-02-26 13:14:01] VERBOSE[3922] logger.c: – Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
[2010-02-26 13:14:01] VERBOSE[3922] logger.c: == fixlocalprefix: Dialpattern 1NXXNXXXXXX matched. 18004592780 -> 18004592780
[2010-02-26 13:14:01] VERBOSE[3922] logger.c: – AGI Script fixlocalprefix completed, returning 0
[2010-02-26 13:14:01] DEBUG[3922] app_macro.c: Executed application: ExecIf
[2010-02-26 13:14:01] DEBUG[3922] app_macro.c: Last app: AGI|fixlocalprefix
[2010-02-26 13:14:01] VERBOSE[3922] logger.c: – Executing [s@macro-dialout-trunk:13] Set(“SIP/1002-b646d830”, “OUTNUM=18004592780”) in new stack
[2010-02-26 13:14:01] DEBUG[3922] app_macro.c: Executed application: Set
[2010-02-26 13:14:01] VERBOSE[3922] logger.c: – Executing [s@macro-dialout-trunk:14] Set(“SIP/1002-b646d830”, “custom=SIP/HarborLight”) in new stack
[2010-02-26 13:14:01] DEBUG[3922] app_macro.c: Executed application: Set
[2010-02-26 13:14:01] VERBOSE[3922] logger.c: – Executing [s@macro-dialout-trunk:15] ExecIf(“SIP/1002-b646d830”, “0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^)r”) in new stack
[2010-02-26 13:14:01] DEBUG[3922] app_macro.c: Executed application: ExecIf
[2010-02-26 13:14:01] VERBOSE[3922] logger.c: – Executing [s@macro-dialout-trunk:16] Macro(“SIP/1002-b646d830”, “dialout-trunk-predial-hook|”) in new stack
[2010-02-26 13:14:01] VERBOSE[3922] logger.c: – Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(“SIP/1002-b646d830”, “”) in new stack
[2010-02-26 13:14:01] DEBUG[3922] app_macro.c: Executed application: Macro
[2010-02-26 13:14:01] VERBOSE[3922] logger.c: – Executing [s@macro-dialout-trunk:17] GotoIf(“SIP/1002-b646d830”, “0?bypass|1”) in new stack
[2010-02-26 13:14:01] DEBUG[3922] app_macro.c: Executed application: GotoIf
[2010-02-26 13:14:01] VERBOSE[3922] logger.c: – Executing [s@macro-dialout-trunk:18] GotoIf(“SIP/1002-b646d830”, “0?customtrunk”) in new stack
[2010-02-26 13:14:01] DEBUG[3922] app_macro.c: Executed application: GotoIf
[2010-02-26 13:14:01] VERBOSE[3922] logger.c: – Executing [s@macro-dialout-trunk:19] Dial(“SIP/1002-b646d830”, “SIP/HarborLight/18004592780|300|r”) in new stack
[2010-02-26 13:14:01] VERBOSE[3922] logger.c: – Called HarborLight/18004592780
[2010-02-26 13:14:02] VERBOSE[3922] logger.c: – SIP/HarborLight-09684418 is making progress passing it to SIP/1002-b646d830
[2010-02-26 13:14:21] VERBOSE[3922] logger.c: == Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on ‘SIP/1002-b646d830’ in macro ‘dialout-trunk’
[2010-02-26 13:14:21] VERBOSE[3922] logger.c: == Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on ‘SIP/1002-b646d830’
[2010-02-26 13:14:21] VERBOSE[3922] logger.c: – Executing [h@macro-dialout-trunk:1] Macro(“SIP/1002-b646d830”, “hangupcall|”) in new stack
[2010-02-26 13:14:21] VERBOSE[3922] logger.c: – Executing [s@macro-hangupcall:1] GotoIf(“SIP/1002-b646d830”, “1?skiprg”) in new stack
[2010-02-26 13:14:21] VERBOSE[3922] logger.c: – Goto (macro-hangupcall,s,4)
[2010-02-26 13:14:21] DEBUG[3922] app_macro.c: Executed application: GotoIf
[2010-02-26 13:14:21] VERBOSE[3922] logger.c: – Executing [s@macro-hangupcall:4] GotoIf(“SIP/1002-b646d830”, “1?skipblkvm”) in new stack
[2010-02-26 13:14:21] VERBOSE[3922] logger.c: – Goto (macro-hangupcall,s,7)
[2010-02-26 13:14:21] DEBUG[3922] app_macro.c: Executed application: GotoIf
[2010-02-26 13:14:21] VERBOSE[3922] logger.c: – Executing [s@macro-hangupcall:7] GotoIf(“SIP/1002-b646d830”, “1?theend”) in new stack
[2010-02-26 13:14:21] VERBOSE[3922] logger.c: – Goto (macro-hangupcall,s,9)
[2010-02-26 13:14:21] DEBUG[3922] app_macro.c: Executed application: GotoIf
[2010-02-26 13:14:21] VERBOSE[3922] logger.c: – Executing [s@macro-hangupcall:9] Hangup(“SIP/1002-b646d830”, “”) in new stack
[2010-02-26 13:14:21] VERBOSE[3922] logger.c: == Spawn extension (macro-hangupcall, s, 9) exited non-zero on ‘SIP/1002-b646d830’ in macro ‘hangupcall’

your problem is right here:

[2010-02-26 13:14:01] VERBOSE[3922] logger.c: -- Executing [s@macro-dialout-trunk:19] Dial("SIP/1002-b646d830", "SIP/HarborLight/18004592780|300|r") in new stack

get rid of the “r” in your trunk dial options, I believe the tooltip tells you the same, not to put that there.

You are hitting an IVR which delivers early media but until the call is signaled to answer, Asterisk will keep generating a ring with that “r” there.

Had a similar problem once. Turns out that my trunk provider didn’t have a “route” to that number programmed into their switch. After a couple of hours of trouble trouble shootings, the problem was resolved. Before you assume that is the case, follow Philippe’s advice.

Bill/W5WAF

That worked perfectly Philippe. Thank you so much!!!

Joe