Mike Clark
2005-Nov-08 13:45 UTC
[Asterisk-Users] Play message and dial extensions simultaneously
Ok, this has to be simple and I'm just not seeing it. On and inbound call, I want to play a specific message while simultaneously ringing extensions. Its basically like music on hold and queues, but I need the message to always start from the beginning, not just play from where the MOH process happens to be at that time. I tried Googling, but no luck. I did try exten => 1,1,Answer exten => 1,2,Wait(1) exten => 1,3,BackGround(custom/msg1) exten => 1,4,Dial(SIP/1111,15) but it played the entire message before dialing. Thanks, Mike Clark
C F
2005-Nov-09 13:28 UTC
[Asterisk-Users] Play message and dial extensions simultaneously
For what purpose?
Have you tried:
exten => s,1,Dial(SIP/1111,15&Local/123@${CONTEXT})
exten => 123,1,Background(custom/msg1)
It might not work, I have never tried something like this, but it might work.
On 11/8/05, Mike Clark <mike@infoanywhere.com>
wrote:> Ok, this has to be simple and I'm just not seeing it. On and inbound
> call, I want to play a specific message while simultaneously ringing
> extensions. Its basically like music on hold and queues, but I need the
> message to always start from the beginning, not just play from where the
> MOH process happens to be at that time. I tried Googling, but no luck.
>
> I did try
>
> exten => 1,1,Answer
> exten => 1,2,Wait(1)
> exten => 1,3,BackGround(custom/msg1)
> exten => 1,4,Dial(SIP/1111,15)
>
> but it played the entire message before dialing.
>
> Thanks,
>
> Mike Clark
> _______________________________________________
> --Bandwidth and Colocation sponsored by Easynews.com --
>
> Asterisk-Users mailing list
> Asterisk-Users@lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>