Re: [Asterisk-Users] channels change names
Peter Fern 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. Thanks for the tip! Seems to work fine for now. I'll look into something with a variable for the future, but since I'm just getting the information directly from the 'meetme list' command, it would take a bit of rewriting to do that. For now, the quick-and-dirty works perfectly, it seems. -- Jon-o Addleman ___ --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
[Asterisk-Users] channels change names
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! -- Jon-o Addleman - http://redowl.dyndns.org ___ --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
Re: [Asterisk-Users] channels change names
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
Re: [Asterisk-Users] channels change names
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
Re: [Asterisk-Users] channels change names
Correct. Gary Reuter wrote: 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 ___ --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