Multiple PJSip clients running in parallel on different interfaces

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

 



Hello PjSip-community,

My PJSip application launches multiple clients, each one bound at a different IF of the host, i.e. a different IP address.
For example

Ua-1 is on address 10.0.2.15 on port 5060
Ua-2 is on address 10.0.2.16 on port 5060
Ua-3 is on address 10.0.2.17 on port 5060

The clients work correctly  if they are configured with UDP.
But this does not work with TCP: The PJSip stack does not allow to create more than one TCP transport.

The call of  pjsua_transport_create(PJSIP_TRANSPORT_TCP, &cfg, NULL);
results in an error:

16:19:42.373 pjsua_core.c Error creating SIP TCP listener: Object with the same type exists (PJSIP_ETYPEEXISTS) [status=171002]


Is this a bug of the PjSip stack?
Or is there a reason for not allowing more than one TCP transport?

Thanks for any hint,
Alejandro




_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org



[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