Problem registering with pjsua on an Open-IMS network

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Benny,

 Thanks for the quick answer ! I tried this :

--use-ims
> --proxy sip:pcscf.open-ims.test:4060;lr
> --id sip:alice at open-ims.test
> --registrar sip:open-ims.test
> --realm open-ims.test
> --username alice at open-ims.test
> --password alice


 Unfortunately it resulted in the same error :

10:22:44.905   pjsua_core.c TX 578 bytes Request msg REGISTER/cseq=44711
> (tdta0x81b1d48) to UDP 137.122.89.83:4060:
> REGISTER sip:open-ims.test SIP/2.0
> Via: SIP/2.0/UDP 137.122.91.64:5060
> ;rport;branch=z9hG4bKPj184c0000000767458b6b
> Route: <sip:pcscf.open-ims.test:4060;lr>
> Max-Forwards: 70
> From: <sip:alice@xxxxxxxxxxxxx>;tag=184c0000000667458b6b
> To: <sip:alice at open-ims.test>
> Call-ID: 184c0000000567458b6b
> CSeq: 44711 REGISTER
> Authorization: Digest username="alice at open-ims.test", realm="open-ims.test",
> nonce="", uri="sip:open-ims.test", response=""
> User-Agent: PJSUA v0.8.0/i686-pc-linux-gnu
> Contact: <sip:alice at 137.122.91.64:5060;transport=UDP>
> Expires: 300
> Content-Length:  0
>
>
> --end msg--
>  10:22:44.905    pjsua_acc.c Registration sent
> >>>  10:22:44.992   pjsua_core.c RX 907 bytes Response msg
> 401/REGISTER/cseq=44711 (rdata0x81addec) from UDP 137.122.89.83:4060:
> SIP/2.0 401 Unauthorized - Challenging the UE
> Via: SIP/2.0/UDP 137.122.91.64:5060
> ;rport=5060;branch=z9hG4bKPj184c0000000767458b6b
> From: <sip:alice@xxxxxxxxxxxxx>;tag=184c0000000667458b6b
> To: <sip:alice at open-ims.test>;tag=804e0bcb8aaf6d4dbc8395c1b33030b5-dc8e
> Call-ID: 184c0000000567458b6b
> CSeq: 44711 REGISTER
> Path: <sip:term at pcscf.open-ims.test:4060;lr>
> Service-Route: <sip:orig at scscf.open-ims.test:6060;lr>
> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY,
> MESSAGE, INFO
> Server: Sip EXpress router (2.1.0-dev1 OpenIMSCore (x86_64/linux))
> Content-Length: 0
> Warning: 392 137.122.89.83:6060 "Noisy feedback tells:  pid=14159
> req_src_ip=137.122.89.83 req_src_port=5060 in_uri=sip:scscf.open-ims.test:6060
> out_uri=sip:scscf.open-ims.test:6060 via_cnt==3"
> WWW-Authenticate: Digest realm="open-ims.test",
> nonce="I5tWo/LGnsnJx90r2Bec1bEiwBzX1QAAzusay2IAZyk=", algorithm=AKAv1-MD5
>
>
> --end msg--
>  10:22:44.993   pjsua_core.c TX 800 bytes Request msg REGISTER/cseq=44712
> (tdta0x81b1d48) to UDP 137.122.89.83:4060:
> REGISTER sip:open-ims.test SIP/2.0
> Via: SIP/2.0/UDP 137.122.91.64:5060
> ;rport;branch=z9hG4bKPj184c0000000867458b6b
> Route: <sip:pcscf.open-ims.test:4060;lr>
> Max-Forwards: 70
> From: <sip:alice@xxxxxxxxxxxxx>;tag=184c0000000667458b6b
> To: <sip:alice at open-ims.test>
> Call-ID: 184c0000000567458b6b
> CSeq: 44712 REGISTER
> Authorization: Digest username="alice at open-ims.test", realm="open-ims.test",
> nonce="", uri="sip:open-ims.test", response=""
> User-Agent: PJSUA v0.8.0/i686-pc-linux-gnu
> Contact: <sip:alice at 137.122.91.64:5060;transport=UDP>
> Expires: 300
> Authorization: Digest username="alice at open-ims.test", realm="open-ims.test",
> nonce="I5tWo/LGnsnJx90r2Bec1bEiwBzX1QAAzusay2IAZyk=", uri="sip:
> open-ims.test", response="96cba9422e0f9d3ebc22bc8fab75dcf7",
> algorithm=AKAv1-MD5
> Content-Length:  0
>
>
> --end msg--
>  10:22:45.039   pjsua_core.c RX 907 bytes Response msg
> 401/REGISTER/cseq=44712 (rdata0x81addec) from UDP 137.122.89.83:4060:
> SIP/2.0 401 Unauthorized - Challenging the UE
> Via: SIP/2.0/UDP 137.122.91.64:5060
> ;rport=5060;branch=z9hG4bKPj184c0000000867458b6b
> From: <sip:alice@xxxxxxxxxxxxx>;tag=184c0000000667458b6b
> To: <sip:alice at open-ims.test>;tag=804e0bcb8aaf6d4dbc8395c1b33030b5-875c
> Call-ID: 184c0000000567458b6b
> CSeq: 44712 REGISTER
> Path: <sip:term at pcscf.open-ims.test:4060;lr>
> Service-Route: <sip:orig at scscf.open-ims.test:6060;lr>
> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY,
> MESSAGE, INFO
> Server: Sip EXpress router (2.1.0-dev1 OpenIMSCore (x86_64/linux))
> Content-Length: 0
> Warning: 392 137.122.89.83:6060 "Noisy feedback tells:  pid=14162
> req_src_ip=137.122.89.83 req_src_port=5060 in_uri=sip:scscf.open-ims.test:6060
> out_uri=sip:scscf.open-ims.test:6060 via_cnt==3"
> WWW-Authenticate: Digest realm="open-ims.test",
> nonce="EpaUSqPEBe98cTLm3S36ZX1d7usT7gAAlSZS+RbYzM8=", algorithm=AKAv1-MD5
>
>
> --end msg--
>  10:22:45.039 sip_auth_clien Authorization failed for alice at open-ims.test@
> open-ims.test: server rejected with stale=false
>  10:22:45.040    pjsua_acc.c SIP registration error: Credential failed to
> authenticate (PJSIP_EFAILEDCREDENTIAL) [status=171100]



Cheers,

 Damien
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080319/f33c8afc/attachment.html 


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux