Andre Courchesne - Consultant
2006-Sep-18 05:38 UTC
[asterisk-users] Variable that gives the SIP channel
Hi, I have a dialplan code to flash hook from a SIP phone. Everything works great except that it requires the SIP phone to have 2 lines since when the call comes back after the dialplan flash hook, the 1st line instance on the SIP (softphone) is still active. What I would like to do is in my flash hook dialplan code to ass something like Hangup(SIP/100-fe65), but where can I get that SIP/100-fe65 ? Is there a variable set with this information available in the dialplan ? Andre Courchesne
> What I would like to do is in my flash hook dialplan code to ass > something like Hangup(SIP/100-fe65), but where can I get that > SIP/100-fe65 ? Is there a variable set with this information available > in the dialplan ?${CHANNEL} have a look here : http://www.voip-info.org/wiki-Asterisk+variables hth