simple_pjsua and vpn

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

 



Hi,

I have a problem to connect the sample simple_pjsua to asterisk throught a VPN.
My asterisk server is at 10.8.0.1 et my client at 10.8.0.22 but when i launch the client, 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

172.17.254.197 was previously used to create the vpn with asterisk.
Why the client use 172.17.254.197 instead of 10.8.0.22 ?

PS : my VPN interface is a tun interface

Regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090717/9ab5863b/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