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?
___
--
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
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?
On 5/26/2009 14:08, Marco Sambo wrote:
I set a variable CalledID to ${EXTEN} before dial it. So in h extension
I can use ${CalledID}.
Thanks for the response.
In that case if there is an intervening call that is shorter, then the
$calledID will be wrong.
I found a better approach than using
Thomas Kenyon dig...@sanguinarius.co.uk writes:
In that case if there is an intervening call that is shorter, then the
$calledID will be wrong.
That isn't how Asterisk variables work. They aren't global to all calls,
they are local to the call you happen to be in. So no, an intervening
call