I set a variable CalledID to ${EXTEN} before dial it. So in h extension I can use ${CalledID}.
2009/5/26 Thomas Kenyon <dig...@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 >
_______________________________________________ -- 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