[Asterisk-Dev] Bug? Variables lost from outgoing call-files

Florian Overkamp florian at obsimref.com
Fri Jan 16 01:13:41 MST 2004


Hi Olle, 

> -----Original Message-----
> >>Local/7001 at pbx is a channel in my setup that points to a 
> SIP phone. In
> > 
> > this
> > 
> >>setup ${MSG} contains 'message'.
> >>
> >>Local/00531234567 at pbx is a channel in my setup that points 
> to an external
> >>number via an IAX provider. In this setup ${MSG} is emptied.
> >>
> >>IAX/providerinfo/0531234567 is a channel that is behind the Local
> > 
> > statement
> > 
> >>above. In this setup ${MSG} does properly contain 'message'.
> >>
> >>So it seems to be related to some chan_local thing?
> > 
> > 
> > (talking to myself)
> > 
> > As mark noted elsewhere, it may be related to some form of channel
> > optimisation: If I add /n to the driver the variable is 
> passed properly...
> ...if you add "/n" where?

It is supposed to be appended to the completed chan_local definition:

Local/00531234567 at pbx becomes Local/00531234567 at pbx/n

Florian




More information about the asterisk-dev mailing list