[asterisk-users] h extension and channel variables

Marco Sambo derwidtel at gmail.com
Tue May 26 08:08:44 CDT 2009


I set a variable CalledID to ${EXTEN} before dial it. So in h extension I
can use ${CalledID}.





2009/5/26 Thomas Kenyon <digium at sanguinarius.co.uk>

> On 5/26/2009 10:57, Thomas Kenyon wrote:
> > Is there a method to fetch the ${EXTEN} of the channel that has been
> > hung up when exten h is started?
> >
> > The nearest thing I can think of is to set another variable to the
> > extension and pick that up. Would that be a reliable method though?
> >
> Which is clearly a bad idea, since an intervening call would change this.
>
> My Best idea so far is to change the CallerID to the exten (although it
> may be desirable to keep it in tact, it's not as important in this case).
>
> Does anybody have any suggestions?
>
> _______________________________________________
> -- 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090526/c54b1253/attachment.htm 


More information about the asterisk-users mailing list