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

David Björkevik david at dynamore.se
Fri Sep 23 08:37:13 CDT 2011


Dear List,

Thank you for your suggestions.  This turned out to be an issue with our
SIP provider, and has now been resolved.

Regards,
David

On 2011-09-23 14:44, David Björkevik wrote:
> 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 <david at dynamore.se <mailto: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
>>
>>
>>
>>
>> --
>> _____________________________________________________________________
>> -- 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


-- 
David Björkevik, Engineer
DYNAmore Nordic AB - http://www.dynamore.se/
Full contact information: http://people.dynamore.se/david
Voice: +46 (0)13-23 66 80

On July 1, DYNAmore Nordic AB acquired all of the business of
Engineering Research. Read more on www.dynamore.se/dynamore-purchase

Note the new @dynamore.se E-mail endings, previous
@erab.se endings will work until the end of 2011.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 553 bytes
Desc: OpenPGP digital signature
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110923/d0bb1719/attachment-0001.pgp>


More information about the asterisk-users mailing list