Another option would be to set/pass a variable and use that instead of the current channel variable value. Keeping the Local chan up just to maintain a constant variable value may be alot of overkill (longterm) compared to rewriting your code to set and use your own variable (shortterm).
On 4/20/06, Peter Fern <[EMAIL PROTECTED]> wrote: > Probably because the Local proxy channel drops out once the two sides > have been bridged. If you want the Local chan to stay up, use the /n > parameter and the local channel won't perform the native transfer. This > does have it's own problems, but should do what you want. > > eg: > > Channel: Local/[EMAIL PROTECTED]/n > > > > Jon-o Addleman wrote: > > >I'm writing a php script to dial numbers and connect them to a > >conference. This is fairly straightforward: > > > >Action: originate > >Channel: Local/[EMAIL PROTECTED] > >Context: default > >Exten: $extension > >Priority: 1 > > > >This is pretty straightforward. However, the script then loads the list > >of members in the conference (using the meetme list ... command). For > >local extensions this works fine - the list of members shows the right > >channels, etc. The problem I'm having is that if the extension is > >external, the conference list shows a Local/$extension channel at the > >start, and then once the call is completed, it changes the channel to > >whatever was dialed. > > > >I'm probably not explaining it properly, but what I'd like to have > >happen is that I get one consistent channel name from the start of the > >connection - it doesn't matter what it is, as long as it doesn't change. > >As things stand, the conference list isn't accurate, unless I wait about > >5 seconds after adding someone before updating the list. > > > >Thanks for any suggestions you might have here! > > > > > > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
