Hi all,
On analyzing PJSIP could see TCP and UDP socket uses same port.
But in PJSIP 2.7 there is no option of SO_REUSEPORT.How UDP data is
received when TCP socket is closed.
+++++++++++++++++++++
Registered an U.E with IMS network.Then I do a un-register(ru) .Later
should I need to do a register to re-register with IMS network??
Tried rr but Re-register is not working.
++++++++++++++++++++++++++++++++++++++
Any suggestions?
Thanks
P.S.Manika Vasagam
Hi,
this is a portability issue, but basically, SO_REUSEADDR does the same.
Did you configure tcp switching ?
Check the file: pjsip/include/pjsip/sip_config.h
TCP Switching can be enabled/disabled at config state.
E.g: pjsip_cfg()->endpt.disable_tcp_switch = PJ_TRUE;
A really good explanation can be found here:
https://stackoverflow.com/questions/14388706/how-do-so-reuseaddr-and-so-reuseport-differ
Best regards
Franz
Von: pjsip pjsip-bounces@lists.pjsip.org im Auftrag von Manika Vasagam psmanik@gmail.com
Gesendet: Dienstag, 11. Februar 2020 10:30
An: pjsip list
Betreff: [pjsip] No option of SO_REUSE_PORT.
Hi all,
On analyzing PJSIP could see TCP and UDP socket uses same port.
But in PJSIP 2.7 there is no option of SO_REUSEPORT.How UDP data is received when TCP socket is closed.
+++++++++++++++++++++
Registered an U.E with IMS network.Then I do a un-register(ru) .Later should I need to do a register to re-register with IMS network??
Tried rr but Re-register is not working.
++++++++++++++++++++++++++++++++++++++
Any suggestions?
Thanks
P.S.Manika Vasagam
TCP and UDP are separate protocols.
Binding/closing/whatever a TCP socket on port X has nothing to do with a
UDP socket on port X. Just think about a socket being locally identifiable
by its {protocol, address, port} triplet.
On Tue, Feb 11, 2020, 10:49 AM Skale Franz franz.skale@citycom-austria.com
wrote:
Hi,
this is a portability issue, but basically, SO_REUSEADDR does the same.
Did you configure tcp switching ?
Check the file: pjsip/include/pjsip/sip_config.h
TCP Switching can be enabled/disabled at config state.
E.g: pjsip_cfg()->endpt.disable_tcp_switch = PJ_TRUE;
A really good explanation can be found here:
https://stackoverflow.com/questions/14388706/how-do-so-reuseaddr-and-so-reuseport-differ
Best regards
Franz
Von: pjsip pjsip-bounces@lists.pjsip.org im Auftrag von Manika
Vasagam psmanik@gmail.com
Gesendet: Dienstag, 11. Februar 2020 10:30
An: pjsip list
Betreff: [pjsip] No option of SO_REUSE_PORT.
Hi all,
On analyzing PJSIP could see TCP and UDP socket uses same port.
But in PJSIP 2.7 there is no option of SO_REUSEPORT.How UDP data is
received when TCP socket is closed.
+++++++++++++++++++++
Registered an U.E with IMS network.Then I do a un-register(ru) .Later
should I need to do a register to re-register with IMS network??
Tried rr but Re-register is not working.
++++++++++++++++++++++++++++++++++++++
Any suggestions?
Thanks
P.S.Manika Vasagam
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org