Problem with multiple sip-peers against the same host

Home » Asterisk Users » Problem with multiple sip-peers against the same host
Asterisk Users No Comments

Leandro,

Thank you for your input!

I tried this and it’s still the same.
(although I still have _unrelated_ peers with the insecure entry)

/David

On 2011-09-23 14:24, Leandro Dardini wrote:
> 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 >
>
> 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
>
>
>
>
> —
> _____________________________________________________________________
> — 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