[asterisk-users] Problem with multiple sip-peers against the same host

Leandro Dardini ldardini at gmail.com
Fri Sep 23 07:24:21 CDT 2011


Add "match_auth_username=yes" in the [general] section of sip.conf

Remove from each peer any "insecure" entry

Usually I add also "auth", "defaultuser" and "username" to the peer
definition, but some of these entries are not needed.

Leandro

2011/9/23 David Björkevik <david at dynamore.se>

> Dear list,
>
> We are switching to a new provider for SIP-trunks. We have 20 numbers,
> each defined as a separate SIP peer.
>
> With the old provider everything works.
>
> When switching to the new provider's account data, it only works as long
> as I only define one of the accounts.  If multiple accounts are defined,
> I can only place outgoing calls on one of them, for the other(s)
> authentication fails, "FORBIDDEN".
>
> It is almost like Asterisk is using just one of the defined passwords to
> authenticate all peers on that host.
>
> Any input is very appreciated.
>
> Regards
> David Björkevik, Engineer
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>               http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110923/524fda7e/attachment.htm>


More information about the asterisk-users mailing list