wrong SIP invite address over 3G

Discussion in 'Android' started by mchristsen, Jun 15, 2010.

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

    Joined:
    Mar 30, 2010
    Messages:
    26
    Likes Received:
    3
    First, I want to say the 3CXPhone for Android app is great!. Looks good and is well done.

    I am able to connect to 3CX v8 over our internal WIFI. However when connecting over 3G, the phone registers (the server log concurs). When dialing voicemail, the SIP INVITE string has 999@external address, instead of 999@internal address, thus 3CX rejects the call.

    So in the phone I have the following configured.
    User/Pwd for the extension
    Internal Server: IP or DNS name of the internal server
    External Server: external domain name (www)
    STUN: 3cx stun server
    Enable 3G: checked.
    Proximity Sensor: checked

    all other things are default

    I would have expected that the SIP invite would contain the value from the Internal Server value. The External Server used for connection.

    Any ideas?

    BTW, I can successfully call the 3CXPhone from the internal Polycom phones.
     
  2. LeonidasG

    LeonidasG Support Team
    Staff Member 3CX Support

    Joined:
    Nov 19, 2008
    Messages:
    1,473
    Likes Received:
    94
    Hi,

    I would suggest disabling STUN resolution on your Android Phone, or making 2 separate profiles, one with stun enabled and one with stun disabled.

    You can load or export profiles by going in the 3CX Phone's Main Settings, and then pressing the "Menu/Settings" button on your android phone. This will make an Import / Export menu pop up.
    -Export your profile with stun enabled.

    Now go again and delete the Stun Domain you entered in the settings, and export that profile as well.


    Now you have 2 profiles, one with stun enabled and one with it disabled and you can quick switch between them at any time.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. mchristsen

    Joined:
    Mar 30, 2010
    Messages:
    26
    Likes Received:
    3
    Leonidas

    OK I got it working. I changed the DNS address for External Server in the Profile Setup to the IP address. When the INVITE was sent, it used out public IP and so 3CX was able to map. Looking at the logs closer, 3CX was having an issue authorizing the android phone extension to make the call, not finding the extension 999 (my mistake).

    BTW, I could not find the Import/Export function you talked about. From the main 3CX Phone screen (dialpad) I hit Menu Key and get a Help, Profiles, Exit popup menu. I click on Profiles and get my list of profiles, with a Add New button at the bottom. Hitting the menu key does nothing. I go into a profile and I see the details with a Delete and Save button at the bottom. Again hitting the menu key does nothing.

    I just wanted to point this out.
    Great Product, can't wait for updates.

    Thanks
    Michael.
     
  4. nb

    nb Support Team
    Staff Member 3CX Support

    Joined:
    Jun 7, 2007
    Messages:
    2,127
    Likes Received:
    152
    Hi

    import export was temp removed - we are checking on this.

    In the meantime you can connect the android to a computer and mount the drive

    the profiles are found here

    G:\3CXPhone
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. skillsinc

    Joined:
    Jun 8, 2009
    Messages:
    16
    Likes Received:
    0
    I have the same problem no matter what I do. STUNS or no STUNS.
    I am trying my calls over 3G since the Wifi is not working correctly on my HTC EVO 4G.
    Calls over the internet work fine from the 3CXPhone on my desktop at home.
    I'm dialing from 238 to voicemail at 999 in this example.
    Here are the server logs:

    09:01:37.912 [CM502001]: Source info: From: <sip:238@173.160.147.129>;tag=Un-9YVsPf8taViCSKtjiLHCI9uCOTSgy<sip:999@173.160.147.129>
    09:01:37.912 [CM503013]: Call(1245): Incoming call rejected, caller is unknown; msg=SipReq: INVITE 999@192.168.200.66:5060 tid=PjCQaV1rj.wT7joHs4So1YFnT3PZ7u2WaD cseq=INVITE contact=238@173.129.198.231 / 24724 from(wire)
    09:01:37.490 [CM500002]: Unidentified incoming call. Review INVITE and adjust source identification:
    INVITE sip:999@192.168.200.66:5060 SIP/2.0
    Via: SIP/2.0/UDP 173.129.198.231:5060;branch=z9hG4bKPjDBF71.gDyHB13e25C3dl4iIXFI1rlqU7
    Max-Forwards: 70
    Contact: <sip:238@173.129.198.231>
    To: <sip:999@173.160.147.129>
    From: <sip:238@173.160.147.129>;tag=Un-9YVsPf8taViCSKtjiLHCI9uCOTSgy
    Call-ID: gB.CSi2ZX59QlcvKiyTLRc4LWz95uym3
    CSeq: 24723 INVITE
    Session-Expires: 1800
    Min-SE: 90
    Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
    Supported: replaces, 100rel, timer, norefersub
    User-Agent: 3CXPhone 1.0.2
    Content-Length: 0

    09:01:37.490 [CM302001]: Authorization system can not identify source of: SipReq: INVITE 999@192.168.200.66:5060 tid=PjDBF71.gDyHB13e25C3dl4iIXFI1rlqU7 cseq=INVITE contact=238@173.129.198.231 / 24723 from(wire)
     
  6. nb

    nb Support Team
    Staff Member 3CX Support

    Joined:
    Jun 7, 2007
    Messages:
    2,127
    Likes Received:
    152
    09:01:37.490 [CM302001]: Authorization system can not identify source of: SipReq: INVITE 999@192.168.200.66:5060 tid=PjDBF71.gDyHB13e25C3dl4iIXFI1rlqU7 cseq=INVITE contact=238@173.129.198.231 / 24723 from(wire)

    09:01:37.490 [CM500002]: Unidentified incoming call. Review INVITE and adjust source identification:


    the problem is in the PBX configuration

    Settings/Advanced/localSIP domain - what do you have there?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Thread Status:
Not open for further replies.