[SR-Users] SIP Autentication Failed
Daniel-Constantin Mierla
miconda at gmail.com
Tue Mar 8 07:34:51 CET 2016
Can you add next line before the execution of auth_check() in your
config file:
xlog("==== handling $rm ($ci) for authorization: $hdr(Authorization)\n");
Then test and send again the log messages.
Cheers,
Daniel
On 07/03/16 21:30, Bruno Henrique Gomes Gouvêa wrote:
> Sorry, my mail client change text, correct is (without blank space):
>
> REGISTER sip:pabx999999.ligou.me
> <http://pabx999999.ligou.me>;transport=UDP SIP/2.0
> Via: SIP/2.0/UDP
> 189.13.125.28:49288;branch=z9hG4bK-d8754z-f96a8271ea34f240-1---d8754z-
> Max-Forwards: 70
> Contact:
> <sip:101_pabx999999.ligou.me at 189.13.125.28:49288;rinstance=98fe0089b166bd85;transport=UDP>
> To: <sip:101_pabx999999.ligou.me at pabx999999.ligou.me
> <mailto:sip%3A101_pabx999999.ligou.me at pabx999999.ligou.me>;transport=UDP>
> From: <sip:101_pabx999999.ligou.me at pabx999999.ligou.me
> <mailto:sip%3A101_pabx999999.ligou.me at pabx999999.ligou.me>;transport=UDP>;tag=9d3ef068
> Call-ID: YWQ5YzU4ZTc4MGU5NWE3OGI3Y2U2YjdmZDA0YTFmZmE.
> CSeq: 3 REGISTER
> Expires: 3600
> Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE,
> OPTIONS, INFO, SUBSCRIBE
> Supported: replaces, norefersub, extended-refer, timer,
> X-cisco-serviceuri
> User-Agent: Z 3.6.25251 r25476
> Authorization: Digest username="101_pabx999999.ligou.me
> <http://101_pabx999999.ligou.me>",realm="pabx999999.ligou.me
> <http://pabx999999.ligou.me>",nonce="Vt3evVbd3ZGT5CKFEKVFXx3NZHKisGcp",uri="sip:pabx999999.ligou.me
> <http://pabx999999.ligou.me>;transport=UDP",response="6b3a6709fa3ec3ad313811a704ffb6d9",algorithm=MD5
> Allow-Events: presence, kpml
> Content-Length: 0
>
> --------------------------------------------
>
> Bruno H. G. Gouvêa
>
> CEO - CiberCloud LTDA
> http://cibercloud.com.br <http://cibercloud.com.br/>
> http://ligou.me <http://ligou.me/>
>
>
> ---
> Bruno H. G. Gouvêa
>
>
> Tel.: (31)99554646 <tel:%2831%2999554646>
> ---
>
>
> 2016-03-07 17:27 GMT-03:00 Daniel-Constantin Mierla <miconda at gmail.com
> <mailto:miconda at gmail.com>>:
>
> Hello,
>
> have you mangled the sip message you pasted here? I see a white
> space in front of username in From/To headers, which can lead in
> mismatching the authentication username with caller id username.
>
> Cheers,
> Daniel
>
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Berlin, March 7-9, 2016 - http://www.asipto.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160308/f07e39c4/attachment.html>
More information about the sr-users
mailing list