[asterisk-users] Dial and start music on hold after timeout

Jean Aunis jean.aunis at prescom.fr
Wed Aug 24 02:27:27 CDT 2016


Using Progress didn't solve the problem. If I cannot find another way, I 
will use your solution of recording the ring tone.


Le 23/08/2016 à 20:53, Israel Gottlieb a écrit :
>
> Maybe try progress() instead of answer ()
>
>
> בתאריך 23 באוג׳ 2016 7:19 PM,‏ "Jean Aunis" <jean.aunis at prescom.fr 
> <mailto:jean.aunis at prescom.fr>> כתב:
>
>     Thank you, I just tried your suggestion. Strangely, the
>     announcement is played only if I try to dial a SIP peer which is
>     not available (not registered to be more precise). If the SIP peer
>     is available, I only get the ring tone, and never hear the
>     announcement. Here is the dialplan (I had to add an Answer()
>     before the Dial, otherwise the announcement is never played, even
>     in the first case) :
>
>     exten = 007,1,Answer()
>     same  = n,Dial(SIP/foo&Local/s at playme,40)
>
>     [playme]
>     exten = s,1,Ringing()
>     same  = n,Wait(10)
>     same  = n,Playback(/var/lib/asterisk/sounddir/announce,noanswer)
>
>     When it is working, I can see the following output in the CLI,
>     which is not there otherwise :
>     -- SIP/xxxxxxxxx requested media update control 26, passing it to
>     Local/s at playme-000005be;1
>
>     Otherwise, no error message, Asterisk tells he is playing the
>     announcement but I don't hear it.
>
>     Best regards
>
>     Jean Aunis
>

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


More information about the asterisk-users mailing list