I am testing out Asterisk 1.2 released today and got the following problem. In my AGI script when running Asterisk 1.2 I get the following AGI variable: agi_channel: IAX2/80.229.221.228:4569-2 In all earlier versions of Asterisk including Beta 1.2 I got the following: agi_channel: IAX2/70104@80.229.221.228:4569-3 in the new CSV logs we have the same. "","70200","70103","default","""Are"" <70200>","IAX2/80.229.221.228:4569-2" 70104 is my IAX user. It looks like there is no clear way to extract the IAX user executing the call anymore. I have not been able to find this change documented anywhere. Is it by design or a bug? -- Are Casilla http://astartelecom.com - Independent VOIP Telecoms Broker. Asterisk Consultants http://astbill.com - Open Source Billing, Routing and Management software for Asterisk and VOIP AstBill DEMO: http://demo.astbill.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051117/59be1142/attachment.htm
Kevin P. Fleming
2005-Nov-18 08:26 UTC
[Asterisk-Users] Asterisk 1.2 Change in: agi_channel
Are wrote:> It looks like there is no clear way to extract the IAX user executing the > call anymore. > > I have not been able to find this change documented anywhere. > > Is it by design or a bug?It was changed without specific notice, because you could not rely on the IAX2 user name always being present in the channel name anyway. The other channel drivers also do not put the user name into the channel name, so now it's consistent.