[asterisk-users] asterisk and IVR

Joshua Colp jcolp at digium.com
Wed Jul 31 07:00:41 CDT 2013


A J Stiles wrote:
> * PLEASE NOTE: YOUR RESPONSE BELONGS AT THE END, NOT HERE *
>
> On Wednesday 31 July 2013, Salaheddine Elharit wrote:
>> hello,
>>
>> the CLI for whe the call is answered  :
>>
>> Accepting call from '0661xxxxxx' to '534' on channel 0/26, span 1
>>      -- Executing [534 at default:1] Dial("Zap/26-1", "SIP/228| 10") in new
>> stack
>>      -- Called 228
>>      -- SIP/228-09e71378 is ringing
>>      -- SIP/228-09e71378 answered Zap/26-1
>>    == Spawn extension (default, 534, 1) exited non-zero on 'Zap/26-1'
>>      -- Hungup 'Zap/26-1'
>> srvradio*CLI>

As dialplan execution stops if the outgoing call is answered and then 
bridged the approach of using a Goto afterwards for ANSWER as well will 
not work. You *must* use the h extension that was previously mentioned 
to cover this case.

Cheers,

-- 
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at:  www.digium.com  & www.asterisk.org



More information about the asterisk-users mailing list