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 --
Posted: Tue May 26, 2009 7:27 pm Post subject: [asterisk-users] h extension and channel variables
Thomas Kenyon <digium@sanguinarius.co.uk> writes:
Quote:
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 won't cause problems.
/Benny
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum