[asterisk-dev] chan_sip SIP Authentication
Klaus Darilion
klaus.mailinglists at pernau.at
Fri Feb 6 05:42:59 CST 2009
Johansson Olle E schrieb:
> 28 jan 2009 kl. 01.58 skrev Philipp Kempgen:
>
>> Klaus Darilion schrieb:
>>> I recently had the same problem.
>>>
>>> One solution is to define everything as sip "peer" - also the sIP
>>> clients.
>>>
>>> This does not work out of the box if you use users.conf for user
>>> provisioning. For this case I have submitted a patch (which was
>>> rejected
>>> as users.conf must not be flexible :-)
>>> http://bugs.digium.com/view.php?id=14188
>>>
>>> I think changing the priority (peer before user) might be a
>>> solution as
>>> well. Actually if someone uses "peers" for gateways and "users" for
>>> SIP
>>> clients IMO the gateways should have higher priority. Another
>>> matching
>>> option would be the order in sip.conf.
>> Yeah, something needs to be done here.
>> Changing the order to match peers by IP address first seems to
>> work.
>
> Well, for people who really want to break stuff, we can implement this
> with an option to turn it on. It will be off by default.
>
> But the recommendation still stands: You shalt not mix namespaces.
No I have changed my configuration to have separate namespaces.
Unfortunately do SNOM phones put the username on the display. Thus, were
I had in early days the users phone number on the display is now a
random string :-(
regards
klaus
More information about the asterisk-dev
mailing list