[asterisk-users] Playback on h exten

Leandro Dardini ldardini at gmail.com
Thu Feb 21 04:32:53 CST 2013


The h exten is triggered when the channel is hangup, so you cannot send any
voice data on it.

Leandro

2013/2/21 Enrico Pasqualotto <e.pasqualotto at netspin.it>

> Yes, correct now it works for Dial.
> I think is the same with "c" option on Queue, do you think there's a way
> to do it on h exten?
> My goal is to inject my dialplan on hangup macro.
>
> Enrico.
> ------------------------------
>
>
> If you choose to go with the Dial command and use the "g" option, you have
> not to use the "h" extension, but just provide a next priority. Your
> dialplan has to be:
>
> [from-test]
> exten => _X.,1,Dial(SIP/${EXTEN},60,rjtTg)
> *exten => _X.,2,Goto(play,s,1)*
>
> [play]
> exten => s,1,Noop(play)
> exten => s,2,Saydigits(123579)
>
> Leandro
>
>
> --
> --
> Pasqualotto Enrico
> cell. +39 3473292620
> skype://epasqualotto :: http://www.linkedin.com/in/epasqualotto
> http://www.netspin.it :: e.pasqualotto at netspin.it
>
> --
> _____________________________________________________________________
> -- 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130221/296c7774/attachment.htm>


More information about the asterisk-users mailing list