[pjsip] stun problem help request
giorge27 at alice.it
giorge27 at alice.it
Sun Nov 1 08:47:09 CST 2009
I don't understand the reason that d0nt' abilitate STUN server
I use this code in python pjsip:
userAgentCfg = pj.UAConfig()
userAgentCfg.stun_host = "stun.voip.eutelia.it"
lib.init(ua_cfg=userAgentCfg, log_cfg = pj.LogConfig(level=LOG_LEVEL, callback=self.call_backLog))
and i've always as result the stun server not abilitated and those logs:
log_cb: 15:37:52.585 pjsua_core.c STUN resolution failed: STUN transaction has timed out (PJNATH_ESTUNTIMEDOUT)
log_cb: 15:37:52.597 pjsua_core.c Ignoring STUN resolution failure (by setting)
log_cb: 15:37:52.597 pjsua_core.c pjsua version 1.4 for i686-pc-linux-gnu initialized
i've tried even "pjsua" client with the option "--stun-srv=stun.voip.eutelia.it" and i've the same behavior.
In this case the log are:
15:45:50.278 pjsua_core.c Trying STUN server stun.voip.eutelia.it (1 of 1)..
^[[5~ 15:45:50.327 pa_dev.c PortAudio sound library initialized, status=0
15:45:50.327 pa_dev.c PortAudio host api count=1
15:45:50.327 pa_dev.c Sound device count=2
15:45:50.328 pjlib select() I/O Queue created (0x8e0a61c)
15:45:58.181 stuntsx0x8e096 STUN timeout waiting for response
15:45:58.181 stunresolve Session failed because STUN Binding request failed: STUN transaction has timed out (PJNATH_ESTUNTIMEDOUT)
15:45:58.181 pjsua_core.c STUN resolution for stun.voip.eutelia.it failed: STUN transaction has timed out (PJNATH_ESTUNTIMEDOUT)
15:45:58.181 pjsua_core.c STUN resolution failed: STUN transaction has timed out (PJNATH_ESTUNTIMEDOUT)
15:45:58.199 pjsua_core.c Ignoring STUN resolution failure (by setting)
thank you
Giorge
Alice Messenger ;-) chatti anche con gli amici di Windows Live Messenger e tutti i telefonini TIM!
Vai su http://maileservizi.alice.it/alice_messenger/index.html?pmk=footer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20091101/f4ea1484/attachment.html>
More information about the pjsip
mailing list