wrong SIP invite address over 3G

Status
Not open for further replies.

mchristsen

Free User
Joined
Mar 30, 2010
Messages
26
Reaction score
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.
 
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.
 
LeonidasG said:
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.

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.
 
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
 
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:[email protected]>;tag=Un-9YVsPf8taViCSKtjiLHCI9uCOTSgy<sip:[email protected]>
09:01:37.912 [CM503013]: Call(1245): Incoming call rejected, caller is unknown; msg=SipReq: INVITE [email protected]:5060 tid=PjCQaV1rj.wT7joHs4So1YFnT3PZ7u2WaD cseq=INVITE [email protected] / 24724 from(wire)
09:01:37.490 [CM500002]: Unidentified incoming call. Review INVITE and adjust source identification:
INVITE sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 173.129.198.231:5060;branch=z9hG4bKPjDBF71.gDyHB13e25C3dl4iIXFI1rlqU7
Max-Forwards: 70
Contact: <sip:[email protected]>
To: <sip:[email protected]>
From: <sip:[email protected]>;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 [email protected]:5060 tid=PjDBF71.gDyHB13e25C3dl4iIXFI1rlqU7 cseq=INVITE [email protected] / 24723 from(wire)
 
09:01:37.490 [CM302001]: Authorization system can not identify source of: SipReq: INVITE [email protected]:5060 tid=PjDBF71.gDyHB13e25C3dl4iIXFI1rlqU7 cseq=INVITE [email protected] / 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?
 
Status
Not open for further replies.

Members Online Now

Forum statistics

Threads
111,831
Messages
589,277
Members
164,660
Latest member
RJenkinsROCK