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@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

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to