[asterisk-dev] chan_sip SIP Authentication
Johansson Olle E
oej at edvina.net
Fri Feb 6 05:45:45 CST 2009
6 feb 2009 kl. 12.42 skrev Klaus Darilion:
>
>
> 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 :-(
My SNOM has a field where I can set any name I want on the display
to override. Check for that!
/O
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2207 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-dev/attachments/20090206/c8887352/attachment.bin
More information about the asterisk-dev
mailing list