On Wednesday 17 October 2007 18:54:58 Philipp Kempgen wrote:
> Atis Lezdins wrote:
> > Does anybody have some ideas - how to play a sound file on channel, after
> > that bridged channel got hanged up?
>
> ---cut---
>     g    - Proceed with dialplan execution at the current extension if the
>            destination channel hangs up.
> ---cut---
>
> Maybe something like this would do it:
>
> Dial(tech/123,,g);
> if ("${DIALSTATUS}" = "ANSWER") {
>       Playback(somefile);
> }

Well, as i have tried - i never get ANSWER status there - i just got thrown to 
h extension.

Plus - i want to do it on other half of channel - i have incoming calls routed 
trough queue (and Agent/ channels), then Dial()'ed to local SIP. In case when 
caller hangs up - i would like to play the sound.

Regards,
Atis

-- 
Atis Lezdins
VoIP Developer,
IQ Labs Inc.
[EMAIL PROTECTED]
Skype: atis.lezdins
Cell Phone: +371 28806004
Work phone: +1 800 7502835

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to