[Asterisk-Users] Accountcode being ignored?
Olle E. Johansson
oej at edvina.net
Mon Jun 6 00:02:58 MST 2005
Nabeel Jafferali wrote:
> I have a sip.conf entry for a customer's PBX (IP based authentication) that
> reads:
>
> [customer]
> type=friend
> context=customer
> host=x.x.x.x
> accountcode=10000
> disallow=all
> allow=g729
>
> When the customer makes a call to my * server, * recognizes the peer
> correctly. However, for some reason, the AccountCode is blank. I have a
> NoOp(${ACCOUNTCODE}) and the CLI shows:
>
> -- Executing NoOp("SIP/x.x.x.x-0821e058", "") in new stack
>
> indicating a blank AccountCode.
>
> I tried username-based authentication and have the exact same issue. Anyone
> have any ideas on why this is happening?
>
Are there any other entries with the same IP address in the sip.conf
file? When you match on IP, the *last* match in the file is choosen.
/O
More information about the asterisk-users
mailing list