[asterisk-users] Re: Wrong account code from iax_buddies

voiplist gotvoip at gmail.com
Fri Jul 14 08:54:50 MST 2006


I wish it were that simple..

We see the username coming in, it's in the channel etc..

We see the call come into one account and we see * set an account code
for another account.. Really..

It seems that it has something to do with the fact that accounts
registering from the same IP get mixed up.

Anyone else experience this?

We are using 1.2.4 on this particular box.



On 7/14/06, Eric ManxPower Wieling <eric at fnords.org> wrote:
> Sounds to me that the incoming call is providing the wrong userid/password.
>
> voiplist wrote:
> > Anyone have any thoughts on this?
> >
> > On 7/13/06, voiplist <gotvoip at gmail.com> wrote:
> >> We have a situation where the wrong account code is being passed from
> >> Asterisk to our AGI and then on into the accountcode field in the CDR.
> >>
> >> Here is the situation, best I can explain it..
> >>
> >> We have 3 user records in the iax_buddies table which all come from
> >> the same IP address and possibly the same Asterisk server (client
> >> side).
> >>
> >> The accountcode field in the iax_buddies records look like this:
> >>
> >> name          accountcode       ipaddr
> >> user1          155                    112.223.225.114
> >> user2          156                    112.223.225.114
> >> user3          157                    112.223.225.114
> >>
> >>
> >> When user1, user2 or user3 terminates a call through the * box the
> >> account code doesn't match the accountcode assigned to that user in
> >> iax_buddies most of the time.
> >>
> >> As far as we can tell it only gets mixed up with iax users coming from
> >> the same IP. We have lots of other records which show the correct
> >> account code on every call.
> >>
> >> We have searched around and tried for hours to understand how this is
> >> possible. All we can come up with is that Asterisk is somehow
> >> associating the IP with any of the users names sort of willy nilly
> >> regardless of the IAX user the call comes in as.
> >>
> >> Any help would be appreciated.
> >>
> > _______________________________________________
> > --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
> >
>
>
> --
> Now accepting new clients in Birmingham, Atlanta, Huntsville,
> Chattanooga, and Montgomery.
> _______________________________________________
> --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
>



More information about the asterisk-users mailing list