[Asterisk-Users] Persistent variables disappear when dialingLocal extension

Matt Florell astmattf at gmail.com
Fri Aug 19 08:17:13 MST 2005


On 8/19/05, Falck Kenneth <kennu at swelcom.fi> wrote:
> 
> I guess there is no way to achieve what I want to do with the stable
> version? I.e. pass call-specific variables when dialling through a Local
> channel. Now I can only see the original Caller ID and the destination
> extension, but not the "other" destination extension of the forked call,
> which might suffice for my purposes.
> 

We struggled with this a couple years back before CVS_head had that
function. What we ended up doing was using the CallerIDName field for
a 20 character unique identifier and we used the callerIDnum as usual
(telcos in the US only use callerIDnum anyway). That way we were able
to track a call from creation as Local/ channel to it's end as
whatever channel type it ended up being when it's hung up by the
callerIDname. This is certainly not the most elegant solution but is
the only way to do it and I guarantee it works, we have been using it
for over 2 years now in the astGUIclient
project(http://astguiclient.sf.net)

MATT---



More information about the asterisk-users mailing list