• V20: 3CX Re-engineered. Get V20 for increased security, better call management, a new admin console and Windows softphone. Learn More.

Problems with 3CX Phone 12

Status
Not open for further replies.

jwoodland

Joined
May 22, 2014
Messages
11
Reaction score
0
We have a 3CX Phone system version 12. I have successfully used 3CX Phone for Android, and 3CX Phone 3 for iPhone with it.

When I use 3CX Phone 12 for iPhone, and try to call an extension or outside line, I get a "Forbidden" message and the call disconnects. This does not happen on the exact same iPhone with the exact same configuration under 3CX Phone 3.

Here is the activity log events for the failed calls:

23-May-2014 15:15:19.839 Leg L:52.1[Unknown:] is terminated: Cause: BYE from PBX
23-May-2014 15:15:19.790 [CM502001]: Source info: From: "Jon Woodland"<sip:[email protected]:5060>;tag=5E5tWoWZzxxZ.px0WExQLvdebFuiGukk; To: <sip:[email protected]:5060>
23-May-2014 15:15:19.790 [CM503013]: Call(C:52): Incoming call rejected, caller is unknown; msg=Ivite-IN Recv Req INVITE from 192.168.85.76:5077 tid=PjDbd5T6e4M7m0o8JaCJFr6iypBpBm79DL Call-ID=8xaKh6mu1Q-fQgqy4e9.N3r7oggcoJX9:
INVITE sip:[email protected]:5060;transport=UDP SIP/2.0
Via: SIP/2.0/UDP 192.168.85.76:5077;rport=5077;branch=z9hG4bKPjDbd5T6e4M7m0o8JaCJFr6iypBpBm79DL
Max-Forwards: 70
Route: <sip:3cx.esquimalt.ca:5060;transport=UDP;lr>
Contact: "Jon Woodland"<sip:[email protected]:5077;ob;inst="151E0E">
To: <sip:[email protected]:5060>
From: "Jon Woodland"<sip:[email protected]:5060>;tag=5E5tWoWZzxxZ.px0WExQLvdebFuiGukk
Call-ID: 8xaKh6mu1Q-fQgqy4e9.N3r7oggcoJX9
CSeq: 15734 INVITE
Session-Expires: 1800
Min-SE: 90
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Content-Type: application/sdp
Proxy-Authorization: Digest username="1000",realm="3CXPhoneSystem",nonce="414d535c0990597783:c6da33b802ca278fa1372cc604edee6b",uri="sip:[email protected]:5060;transport=UDP",response="72e925968e47a802891ca212e4f16a9c",algorithm=MD5
Supported: replaces, 100rel, timer, norefersub
User-Agent: 3CXPhone for iPhone 12.1.3
Content-Length: 313

v=0
o=- 3609872128 3609872128 IN IP4 192.168.85.76
s=pjmedia
b=AS:84
t=0 0
a=X-nat:2
m=audio 4004 RTP/AVP 3 0 8 9 101
c=IN IP4 192.168.85.76
a=rtcp:4005
a=sendrecv
a=rtpmap:3 GSM/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:9 G722/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
23-May-2014 15:15:19.560 [CM500002]: Unidentified incoming call. Review INVITE and adjust source identification:
Invite-UNK Recv Req INVITE from 192.168.85.76:5077 tid=Pj18kAta3FGlNIcf7j4T99-.my47wTCYqt Call-ID=8xaKh6mu1Q-fQgqy4e9.N3r7oggcoJX9:
INVITE sip:[email protected]:5060;transport=UDP SIP/2.0
Via: SIP/2.0/UDP 192.168.85.76:5077;rport=5077;branch=z9hG4bKPj18kAta3FGlNIcf7j4T99-.my47wTCYqt
Max-Forwards: 70
Route: <sip:3cx.esquimalt.ca:5060;transport=UDP;lr>
Contact: "Jon Woodland"<sip:[email protected]:5077;ob;inst="151E0E">
To: <sip:[email protected]:5060>
From: "Jon Woodland"<sip:[email protected]:5060>;tag=5E5tWoWZzxxZ.px0WExQLvdebFuiGukk
Call-ID: 8xaKh6mu1Q-fQgqy4e9.N3r7oggcoJX9
CSeq: 15733 INVITE
Session-Expires: 1800
Min-SE: 90
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Content-Type: application/sdp
Supported: replaces, 100rel, timer, norefersub
User-Agent: 3CXPhone for iPhone 12.1.3
Content-Length: 313

v=0
o=- 3609872128 3609872128 IN IP4 192.168.85.76
s=pjmedia
b=AS:84
t=0 0
a=X-nat:2
m=audio 4004 RTP/AVP 3 0 8 9 101
c=IN IP4 192.168.85.76
a=rtcp:4005
a=sendrecv
a=rtpmap:3 GSM/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:9 G722/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
23-May-2014 15:15:04.390 Leg L:51.1[Unknown:] is terminated: Cause: BYE from PBX
23-May-2014 15:15:04.340 [CM502001]: Source info: From: "Jon Woodland"<sip:[email protected]:5060>;tag=5GC4yARP8gtRNpidI-QuYb52pwNg9NVP; To: <sip:[email protected]:5060>
23-May-2014 15:15:04.340 [CM503013]: Call(C:51): Incoming call rejected, caller is unknown; msg=Ivite-IN Recv Req INVITE from 192.168.85.76:5077 tid=PjCR2rtF0Wy.hlcUrjGfSc7bsoXD9Hym9b Call-ID=KymVjnE8ZbHvnOE20chT3SUgRGhsLwnZ:
INVITE sip:[email protected]:5060;transport=UDP SIP/2.0
Via: SIP/2.0/UDP 192.168.85.76:5077;rport=5077;branch=z9hG4bKPjCR2rtF0Wy.hlcUrjGfSc7bsoXD9Hym9b
Max-Forwards: 70
Route: <sip:3cx.esquimalt.ca:5060;transport=UDP;lr>
Contact: "Jon Woodland"<sip:[email protected]:5077;ob;inst="151E0E">
To: <sip:[email protected]:5060>
From: "Jon Woodland"<sip:[email protected]:5060>;tag=5GC4yARP8gtRNpidI-QuYb52pwNg9NVP
Call-ID: KymVjnE8ZbHvnOE20chT3SUgRGhsLwnZ
CSeq: 17573 INVITE
Session-Expires: 1800
Min-SE: 90
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Content-Type: application/sdp
Proxy-Authorization: Digest username="1000",realm="3CXPhoneSystem",nonce="414d535c0990596894:9e2e59250f4a610677ec587e1a2a8115",uri="sip:[email protected]:5060;transport=UDP",response="69380c5cb4e61cd77ddece8f6511d0dd",algorithm=MD5
Supported: replaces, 100rel, timer, norefersub
User-Agent: 3CXPhone for iPhone 12.1.3
Content-Length: 313


Here is the activity under 3CX Phone 3:

23-May-2014 15:28:35.344 [CM503008]: Call(C:56): Call is terminated
23-May-2014 15:28:35.338 Leg L:56.1[Extn] is terminated: Cause: CANCEL from 192.168.85.76:5077
23-May-2014 15:28:32.168 [CM503025]: Call(C:56): Calling T:Extn:1234@[Dev:sip:[email protected]:5062] for L:56.1[Extn]
23-May-2014 15:28:32.121 [CM503027]: Call(C:56): From: Extn:7134 ("Jon Woodland" <sip:[email protected]:5060>) to T:Extn:1234@[Dev:sip:[email protected]:5062]
23-May-2014 15:28:32.121 [CM503004]: Call(C:56): Route 1: from L:56.1[Extn] to T:Extn:1234@[Dev:sip:[email protected]:5062]
23-May-2014 15:28:32.119 [CM503001]: Call(C:56): Incoming call from Extn:7134 to <sip:[email protected]:5060>
23-May-2014 15:28:20.136 [CM504001]: Endpoint Extn:7134: new contact is registered. Contact(s): [sip:[email protected]:5077 / 7134,sip:[email protected]:5062 / 7134,sip:[email protected]:47373 / 7134]
23-May-2014 15:28:11.235 [CM504002]: Endpoint Extn:7134: a contact is unregistered. Contact(s): [sip:[email protected]:5062 / 7134,sip:[email protected]:47373 / 7134]
23-May-2014 15:28:07.890 [CM504001]: Endpoint Extn:7134: new contact is registered. Contact(s): [sip:[email protected]:5077 / 7134,sip:[email protected]:5062 / 7134,sip:[email protected]:47373 / 7134]
23-May-2014 15:28:07.726 Got REGISTER for foreign registrar: registrar host <sip:mad:3cx.esquimalt.ca:5060> is not mine!
23-May-2014 15:28:00.676 [CM504002]: Endpoint Extn:7134: a contact is unregistered. Contact(s): [sip:[email protected]:5062 / 7134,sip:[email protected]:47373 / 7134]

Any idea why this is happening? Anyone else using 3CX Phone 12 under iOS 7.1.1 sucessfully?
 
Has 3cx.esquimalt.ca been put in as the Domain Name in the 3CX PBX? If not, then that is probably why the call is being rejected.
If you change the phone to send to the Public IP , rather than the URL, and it works, then that's the problem.
 
I had already tried using the Public IP. It shows the same issue.

As I said, connectivity from 3CX phone works fine on Android and iPhone 3CX Phone 3, just not 3CX Phone 12.
 
jwoodland said:
23-May-2014 15:15:19.790 [CM503013]: Call(C:52): Incoming call rejected, caller is unknown; msg=Ivite-IN Recv Req INVITE from 192.168.85.76:5077 tid=PjDbd5T6e4M7m0o8JaCJFr6iypBpBm79DL Call-ID=8xaKh6mu1Q-fQgqy4e9.N3r7oggcoJX9:

The log shows that you are sending the call to a domain rather than a Private IP, which suggests that you are located outside the local LAN...however the originators IP is private.

Something does not seem right.

How are you connected to the internet? If you are on the local LAN, then you should be using the "In Office " setting and going directly to the private IP of the 3CX server. If you are using 3G/4G then the log should show the Public IP that your phone has been assigned. if you are using a wifi connection, remotely, then the IP should be the public IP of the router you are behind.

Be sure that you do not have both a wifi and 3G/4G connection established on the phone. I have seen that cause "confusion".
 
I'm connecting from a private wifi network that has a 192.168.85.x subnet. It connects to the internet then on to my work's private network. I've tried with just 3G on, just WiFi on and both. Same results in all cases.

So does this mean the others are using the 3CX Phone 12 client for iPhone from external networks without issues?
 
jwoodland said:
I'm connecting from a private wifi network that has a 192.168.85.x subnet.

That being the case (and I'm assuming that this is NOT the same network where the 3CX server is located), then the IP being registered (and where 3CX is attempting to send the call), is the issue. The IP should be a Public IP of the remote router. That along with the local port number of the phone (in your case ,5077), is what gets the call to the proper destination.

The phone should be set to "out-of office" ,for starters, and may require that STUN is set-up correctly (recent 3CX PBX versions haven't been as picky). If 3G/4G has been turned off on the phone (to be sure the call is NOT taking that route), then a registration should NOT be showing a local IP address.

Until you can get that to change, it's not going to work.

I haven't worked with the version 12 iPhone App, but did see a similar issue with Version 11. That came down to having both a wifi and 4G connection on at the same time.
 
Status
Not open for further replies.

Getting Started - Admin

Latest Posts

Forum statistics

Threads
141,602
Messages
748,757
Members
144,714
Latest member
davide.luppi
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.