[asterisk-users] change dialing process on live call

Doug Lytle support at drdos.info
Sun Aug 19 05:13:32 CDT 2018


On 08/19/2018 05:57 AM, Khalil Khamlichi wrote:
> Is there a way to add another extension to a live dial, for example
>
> Dial(PJSIP/1000,,)
>
> and after 20 secondes change it to
>
> Dial(PJSIP/1000&PJSIP/1001,,)

This is a simple one.

     exten => s,1,Dial(SIP/1000,20)
     exten => s,n,Dial(SIP/1000&SIP/1001,20)
     exten => s,n,Hangup()

The first dial will ring with a 20 second timeout and proceed to the 
next dial and ring both extensions for 20 seconds and finally hangup

Doug

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20180819/e89ddf54/attachment.html>


More information about the asterisk-users mailing list