how to run two pjsua client in one PC?

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

 



I developed SIP Ua by PJSUA, but I want one pc can run two SIP UA(with different account).
 
however, when the first one start, the other one cannot start, it will print error:
 
 13:54:27.946 os_core_unix.c pjlib 0.9.0-release for POSIX initialized 13:54:27.946 sip_endpoint.c Creating endpoint instance... 13:54:27.946          pjlib select() I/O Queue created (0xb7ad0098) 13:54:27.946 sip_endpoint.c Module "mod-msg-print" registered 13:54:27.946 sip_transport. Transport manager created.        ERROR connecting        ERROR connecting 13:54:27.947 sip_endpoint.c Module "mod-pjsua-log" registered 13:54:27.947 sip_endpoint.c Module "mod-tsx-layer" registered 13:54:27.949 sip_endpoint.c Module "mod-stateful-util" registered 13:54:27.949 sip_endpoint.c Module "mod-ua" registered 13:54:27.949 sip_endpoint.c Module "mod-100rel" registered 13:54:27.949 sip_endpoint.c Module "mod-pjsua" registered 13:54:27.949 sip_endpoint.c Module "mod-invite" registered 13:54:27.953      pasound.c PortAudio sound library initialized, status=0 13:54:27.953      pasound.c PortAudio host api count=1 13:54:27.953      pasound.c Sound device count=0 13:54:27.953          pjlib select() I/O Queue created (0x81bc004) 13:54:27.953 sip_endpoint.c Module "mod-evsub" registered 13:54:27.953 sip_endpoint.c Module "mod-presence" registered 13:54:27.954 sip_endpoint.c Module "mod-refer" registered 13:54:27.954 sip_endpoint.c Module "mod-pjsua-pres" registered 13:54:27.954 sip_endpoint.c Module "mod-pjsua-im" registered 13:54:27.954 sip_endpoint.c Module "mod-pjsua-options" registered 13:54:27.954   pjsua_core.c 1 SIP worker threads created 13:54:27.954   pjsua_core.c pjsua version 0.9.0-release for i686-pc-linux-gnu initialized 13:54:27.954   pjsua_core.c bind() error: Address already in use [status=120098] 13:54:27.954   pjsua_core.c Shutting down... 13:54:29.454      pasound.c PortAudio sound library shutting down.. 13:54:29.455 sip_endpoint.c Module "mod-pjsua-options" unregistered 13:54:29.455 sip_endpoint.c Module "mod-pjsua-im" unregistered 13:54:29.455 sip_endpoint.c Module "mod-pjsua-pres" unregistered 13:54:29.455 sip_endpoint.c Module "mod-pjsua" unregistered 13:54:29.455 sip_endpoint.c Module "mod-stateful-util" unregistered 13:54:29.455 sip_endpoint.c Module "mod-refer" unregistered 13:54:29.455 sip_endpoint.c Module "mod-presence" unregistered 13:54:29.455 sip_endpoint.c Module "mod-evsub" unregistered 13:54:29.455 sip_endpoint.c Module "mod-invite" unregistered 13:54:29.455 sip_endpoint.c Module "mod-100rel" unregistered 13:54:29.455 sip_endpoint.c Module "mod-ua" unregistered 13:54:29.455 sip_transactio Stopping transaction layer module 13:54:29.455 sip_transactio Transaction layer module destroyed 13:54:29.455 sip_endpoint.c Module "mod-tsx-layer" unregistered 13:54:29.455 sip_endpoint.c Module "mod-msg-print" unregistered 13:54:29.455 sip_endpoint.c Module "mod-pjsua-log" unregistered 13:54:29.455 sip_endpoint.c Endpoint 0x8192bfc destroyed 13:54:29.455   pjsua_core.c PJSUA destroyed...CDMASIP: ../src/pjsua-lib/pjsua_media.c:819: pjsua_media_transports_create: Assertion `pjsua_var.ua_cfg.max_calls>0' failed.Aborted (core dumped)
 
Does someone have such experience? how to solve this problem?
 
Thanks for your help.
_________________________________________________________________
MSN ????????????????????
http://cn.msn.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080806/93e9bcf0/attachment-0001.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