Hi Everyone,

I want to call first party using a .callfile and a second party using a
context and then bridge the two calls. I MUST make sure that first party
picks up first and then the second party should be dialed. Trying the
following using an internal extension works nicely and the playback file is
play after the extension picks up. But using the same method for calling an
outside phone number (using a good quality SIP provider) does not wait for
the channel to come up and starts the Playback line right away. What is the
fault behind this and what is workaround?

This works:

*originate sip/101 extension s@dial_wait*

[dial_wait]
exten => s,1,Answer
exten => s,n,Playback(Please_wait_as_dial_the_second_party)
exten => s,n,NoOp(Calling second party)
exten => s,n,Dial(SIP/sip_provider/12145556666)

This doesn't wait for channel to come up and jumps to Playback (s,2) without
even the first party yet picking up:

*originate SIP/sip_provider/12148889999 extension s@dial_wait*
*
*
*Thanks,*
--
_____________________________________________________________________
-- 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