[SR-Users] Ipv6 SIP UA

Klaus Darilion klaus.mailinglists at pernau.at
Thu Apr 21 18:16:52 CEST 2011


You are right! There are actually 2 issues with pjsip:

- UDP6 transport does not support DNS lookups. Thus you must set an
outboundproxy with IPv6 address
- pjsua API does not handle IPv6 media (SDP)

As Qjsimple is based on pjsip's pjsua API QjSimple of course has the
same issue.

regards
klaus

Am 21.04.2011 14:05, schrieb Pavel Segeč:
> Klaus,
> 
> still the same, 
> 
> here is a log when UDP is used, there is only A record resolving
> 
> QjSimple: starting initialization/registration ...
> QjSimple: initializing SIP stack ...
> QjSimple: pjsua_create succeeded ...
> QjSimple: "qjsimple" memory pool created ...
> QjSimple: DLL loaded ...
> QjSimple: GetNetworkParams found ...
> QjSimple: GetNetworkParams done ...
> QjSimple: cfg.nameserver_count=0
> QjSimple: pjsua_init succeeded ...
> QjSimple: pjsip_endpt_register_module succeeded ...
> QjSimple: adding UDP transport ...
> QjSimple: pjsip_endpt_register_module succeeded ...
> QjSimple: outboundUri=sip:ps.sip.uniza.sk;lr;transport=udp
> QjSimple: registration_enabled=TRUE
> QjSimple: publish_enabled=FALSE
> QjSimple: pjsua_acc_add succeeded ...
> QjSimple: finished intializing SIP stack, start pjsua ...
> QjSimple: Info: on_reg_state_slot called
> QjSimple: Info: on_reg_state_slot: status=502
> QjSimple: Info: on_reg_state_slot: statustext=Bad Gateway
> QjSimple: Info: on_reg_state_slot called
> QjSimple: Info: on_reg_state_slot: status=502
> QjSimple: Info: on_reg_state_slot: statustext=Bad Gateway
> 
> and here when UDP6
> 
> QjSimple: starting initialization/registration ...
> QjSimple: initializing SIP stack ...
> QjSimple: pjsua_create succeeded ...
> QjSimple: "qjsimple" memory pool created ...
> QjSimple: DLL loaded ...
> QjSimple: GetNetworkParams found ...
> QjSimple: GetNetworkParams done ...
> QjSimple: cfg.nameserver_count=0
> QjSimple: pjsua_init succeeded ...
> QjSimple: pjsip_endpt_register_module succeeded ...
> QjSimple: adding UDP6 transport ...
> QjSimple: pjsip_endpt_register_module succeeded ...
> QjSimple: outboundUri=sip:ps.sip.uniza.sk;lr;transport=udp
> QjSimple: registration_enabled=TRUE
> QjSimple: publish_enabled=FALSE
> QjSimple: pjsua_acc_add succeeded ...
> QjSimple: finished intializing SIP stack, start pjsua ...
> 
> there is no DNS at all
> 
> pavel
> 
> 
>> -----Original Message-----
>> From: sr-users-bounces at lists.sip-router.org [mailto:sr-users-
>> bounces at lists.sip-router.org] On Behalf Of Klaus Darilion
>> Sent: Thursday, April 21, 2011 1:27 PM
>> To: sr-users at lists.sip-router.org
>> Subject: Re: [SR-Users] Ipv6 SIP UA
>>
>> Pavel, I have updated QjSimple to latest pjsip version (0.8.10). It
>> would be great if you can test again. If the problem still exists I will
>> post a bug report for pjsip.
>>
>> http://www.ipcom.at/fileadmin/ipcom/files/qjsimple/QjSimple-0.6.6.zip
>>
>> regards
>> Klaus
>>
>> Am 21.04.2011 10:10, schrieb Pavel Segeč:
>>> Hi Klaus,
>>>
>>> I'm testing your QJSimple client and I'm observing following problems.
>> In a IPv4 environments (win 7/32 or 64bit), the client is using a
>> classical DNS resolving with SRV and so on, and I'm able to register.
>> But inside of the IPV6 environment (IPv4 disabled), when UDP transport
>> is used, the client is making just the A DNS record resolving on my
>> domain name, not SRV  at all.
>>>
>>> Here is debug log:
>>>
>>> QjSimple: starting registration ...
>>> QjSimple: initializing SIP stack ...
>>> QjSimple: pjsua_create succeeded ...
>>> QjSimple: "qjsimple" memory pool created ...
>>> QjSimple: DLL loaded ...
>>> QjSimple: GetNetworkParams found ...
>>> QjSimple: GetNetworkParams done ...
>>> QjSimple: cfg.nameserver_count=0
>>> QjSimple: pjsua_init succeeded ...
>>> QjSimple: pjsip_endpt_register_module succeeded ...
>>> QjSimple: adding UDP transport ...
>>> QjSimple: pjsip_endpt_register_module succeeded ...
>>> QjSimple: outboundUri=sip:ps.sip.uniza.sk;lr;transport=udp
>>> QjSimple: publish_enabled=FALSE
>>> QjSimple: pjsua_acc_add succeeded ...
>>> QjSimple: finished intializing SIP stack, start pjsua ...
>>> QjSimple: initializing SIP stack ... done
>>> QjSimple: Info: on_reg_state_slot called
>>> QjSimple: Info: on_reg_state_slot: status=502
>>> QjSimple: Info: on_reg_state_slot: statustext=Bad Gateway
>>>
>>> When I setup as the transport protocol UDP6 there is no actions at
>> all, no dns, no sip, he re is debug log
>>>
>>> QjSimple: starting registration ...
>>> QjSimple: initializing SIP stack ...
>>> QjSimple: pjsua_create succeeded ...
>>> QjSimple: "qjsimple" memory pool created ...
>>> QjSimple: DLL loaded ...
>>> QjSimple: GetNetworkParams found ...
>>> QjSimple: GetNetworkParams done ...
>>> QjSimple: cfg.nameserver_count=0
>>> QjSimple: pjsua_init succeeded ...
>>> QjSimple: pjsip_endpt_register_module succeeded ...
>>> QjSimple: adding UDP6 transport ...
>>> QjSimple: pjsip_endpt_register_module succeeded ...
>>> QjSimple: outboundUri=sip:ps.sip.uniza.sk;lr;transport=udp
>>> QjSimple: publish_enabled=FALSE
>>> QjSimple: pjsua_acc_add succeeded ...
>>> QjSimple: finished intializing SIP stack, start pjsua ...
>>> QjSimple: initializing SIP stack ... done
>>>
>>> regards
>>>
>>> pavel
>>>
>>>> -----Original Message-----
>>>> From: sr-users-bounces at lists.sip-router.org [mailto:sr-users-
>>>> bounces at lists.sip-router.org] On Behalf Of Klaus Darilion
>>>> Sent: Wednesday, April 20, 2011 12:49 PM
>>>> To: sr-users at lists.sip-router.org
>>>> Subject: Re: [SR-Users] Ipv6 SIP UA
>>>>
>>>>
>>>>
>>>> Am 20.04.2011 11:01, schrieb Pavel Segeč:
>>>>> Hi,
>>>>>
>>>>> yes I can agree now, linphone is working well, qjsimple has some
>>>> problem
>>>>
>>>> If you find some problems (except that it does not work over TCL/TLS:
>>>> http://trac.pjsip.org/repos/ticket/1127) please let me know.
>>>>
>>>> klaus
>>>>
>>>> _______________________________________________
>>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
>> list
>>>> sr-users at lists.sip-router.org
>>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>>>
>>>>
>>>> __________ Informacia od ESET NOD32 Antivirus, verzia databazy 6057
>>>> (20110420) __________
>>>>
>>>> Tuto spravu preveril ESET NOD32 Antivirus.
>>>>
>>>> http://www.eset.sk
>>>>
>>>>
>>>> __________ Informacia od ESET NOD32 Antivirus, verzia databazy 6059
>>>> (20110420) __________
>>>>
>>>> Tuto spravu preveril ESET NOD32 Antivirus.
>>>>
>>>> http://www.eset.sk
>>>>
>>>
>>>
>>> __________ Informacia od ESET NOD32 Antivirus, verzia databazy 6059
>> (20110420) __________
>>>
>>> Tuto spravu preveril ESET NOD32 Antivirus.
>>>
>>> http://www.eset.sk
>>>
>>>
>>
>> _______________________________________________
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>> sr-users at lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>>
>> __________ Informacia od ESET NOD32 Antivirus, verzia databazy 6060
>> (20110421) __________
>>
>> Tuto spravu preveril ESET NOD32 Antivirus.
>>
>> http://www.eset.sk
>>
>  
> 
> __________ Informacia od ESET NOD32 Antivirus, verzia databazy 6060 (20110421) __________
> 
> Tuto spravu preveril ESET NOD32 Antivirus.
> 
> http://www.eset.sk
>  
> 
> 
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users



More information about the sr-users mailing list