Michael,

Per your request:

1) fs_cli output for successful call scenario directly to x7000 hunt group: http://pastebin.com/Q1ayXkNR

2) fs_cli output for failed call scenario x5002 IVR to x7000 hunt group: http://pastebin.com/FaxuGdJ3

3) autoattendant_5002.js script: http://pastebin.com/FaxuGdJ3

4) huntgroup_7000.js script: http://pastebin.com/wNX9K7Ab

If you require additional information or have any other questions, please let me know.

Thanks,

-Will


From: Michael Collins <msc@freeswitch.org>
To: freeswitch-users@lists.freeswitch.org
Sent: Tue, March 9, 2010 11:00:53 PM
Subject: Re: [Freeswitch-users] IVR to hunt group to external destination fails // direct to hunt group to external desitnation succeeds



On Tue, Mar 9, 2010 at 9:55 PM, William Traenkle <will.traenkle@yahoo.com> wrote:
When a hunt group is accessed from the main IVR, the hunt group dials an internal extension via transfer correctly but when trying to dial an external number such a cell phone via sip uri it is unable to connect or ring the phone but it waits the correct timeout period before it goes to voicemail.

However, if you access the hunt group directly without going through the main IVR, all works perfectly. 

Any ideas where I should look and what line of code I might be missing?


Start by capturing the fs_cli debug output for the IVR call. Look through the debug lines for clues as to what is happening with your call. The symptom "unable to connect" has many possible causes, so try to locate the debug lines leading up to the attempt to bridge the SIP URI. If you want community help then pastebin the full debug log plus the relevant XML: the dialplan extension and the IVR definition.
-MC