simple_pjsua and vpn

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

 



Hi,

I have a problem to connect simple_pjsua to asterisk throught a VPN.
simple_pjsua is at 10.8.0.22 and asterisk at 10.8.0.1.
When i launch simple_pjsua, i see that :

?15:54:02.078?? pjsua_core.c? SIP UDP socket reachable at 172.17.254.197:5060
?15:54:02.078??? udp0xbd2a30? SIP UDP transport started, published address is 172.17.254.197:5060
?15:54:02.093? pjsua_media.c? RTP socket reachable at 172.17.254.197:4000
?15:54:02.093? pjsua_media.c? RTCP socket reachable at 172.17.254.197:4001
?15:54:02.109? pjsua_media.c? RTP socket reachable at 172.17.254.197:4002
?15:54:02.109? pjsua_media.c? RTCP socket reachable at 172.17.254.197:4003
?15:54:02.125? pjsua_media.c? RTP socket reachable at 172.17.254.197:4004
?15:54:02.125? pjsua_media.c? RTCP socket reachable at 172.17.254.197:4005
?15:54:02.140? pjsua_media.c? RTP socket reachable at 172.17.254.197:4006
?15:54:02.140? pjsua_media.c? RTCP socket reachable at 172.17.254.197:4007
?15:54:02.140??? pjsua_acc.c? Account sip:mace at 10.8.0.1 added with id 0
?15:54:02.140?? pjsua_core.c? TX 373 bytes Request msg REGISTER/cseq=35269 (tdta0xbdeaa8) to UDP 10.8.0.1:5060:
REGISTER sip:10.8.0.1 SIP/2.0

But 172.17.254.197 was previously used to create the VPN. So why simple_pjsua use 172.17.254.197 instead of 10.8.0.22 ?

Thanks.
PS : 10.8.0.22 is a tun interface.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090717/4d08977a/attachment.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