3CX over Cisco AnyConnect VPN

Discussion in 'iOS' started by jtrollen, Feb 3, 2012.

Thread Status:
Not open for further replies.
  1. jtrollen

    Joined:
    May 17, 2010
    Messages:
    21
    Likes Received:
    0
    I'm having some trouble getting the 3CX for iPhone to work over VPN. The phone can successfully register to the 3CX system, but I don't get any audio and the application hangs. I noticed that in the 3CX system console the phone is registering with the public IP address of the phone and not the private IP address of the VPN connection. Consequently, I'm guessing that the return packets are being sent to the wrong IP address. If I VPN in with a laptop everything works as expected so I don't think it's an issue with my network (3CX phone for windows and myphone both work). Any ideas how to make this work?

    IOS 5.0.1
    3CX for iPhone 1.1.4
    Cisco AnyConnect for iPhone 2.5.4049
     
  2. leejor

    leejor Well-Known Member

    Joined:
    Jan 22, 2008
    Messages:
    10,582
    Likes Received:
    249
    When using VPN, all settings must be as if the phone were being used within the 3CX host (home) LAN. Be sure that STUN is disabled.
     
  3. jtrollen

    Joined:
    May 17, 2010
    Messages:
    21
    Likes Received:
    0
    Yes, STUN is disabled and it's configured for my local LAN. It's still registering with the external IP address of the phone.
     
  4. leejor

    leejor Well-Known Member

    Joined:
    Jan 22, 2008
    Messages:
    10,582
    Likes Received:
    249
    Are you using this over WiFi or 3G? You are establishing the VPN connection, then registering.
    the 3CX phone should be looking to find the local IP from the phone. I'm not sure why it isn't using the VPN IP (as setting?). Not being an iphone user, i'm not sure how you query what the current IP(s) is/are.

    If, after you establish the VPN connection, you open the browser in the phone and go to displaymyip.com , what IP shows up, your local public IP, or that of your far end VPN location (public IP) ?
     
  5. jtrollen

    Joined:
    May 17, 2010
    Messages:
    21
    Likes Received:
    0
    I've tried it with WiFi on our guest DSL line and 3G, same result. I connect VPN first, then launch 3CX and register. If I connect with 3G, the public IP of my iPhone gets registered. If I connect with WiFi, the private IP of the local LAN gets registered to the 3CX system instead of the private IP of the VPN.

    3G + VPN = Registers in 3CX as AT&T Public IP
    External WiFi + VPN = Registers in 3CX as private IP of WiFi access point. i.e 192.168.1.x (should be registering as 10.10.x.x Private VPN IP)

    It appears that the 3CX Phone is not using the private iP of the VPN connection?

    -John
     
  6. leejor

    leejor Well-Known Member

    Joined:
    Jan 22, 2008
    Messages:
    10,582
    Likes Received:
    249
    When VPN is connected, the phone should be aware of two IP's the one it originally had, and the VPN IP. I don't know if there is something (option within the 3CX phone or in the iphone) to change where the 3CX phone goes to "get" the current VPN IP, and using that to register with.
     
Thread Status:
Not open for further replies.