inbound call disconnects after 32

Status
Not open for further replies.

liptinfor

Free User
Joined
Dec 27, 2011
Messages
6
Reaction score
0
Hello,

I have a problem that my SIP inbound call disconnects after 32 sec. I do not have any issue with the outbound call but for the SIP number i have this problem.
I have talked with my SIP provider he told me that there is a problem in the 3CX cause when the call disconnect the SIP BYE message is shown.
If i am bypassing the 3CX and connect the phone directly with static ip i do not get any problem
The log is
you can see in the last the SIP BYE message.


### sendto 81.199.131.11:1064 712 bytes @ Mon Dec 19 11:59:00 2011

INVITE sip:[email protected]:5060 SIP/2.0
From: sip:[email protected]:5060;user=phone;tag=ccid-15110674-535889426
Contact: sip:[email protected]:5060
Via: SIP/2.0/UDP 216.53.17.97:5060;branch=z9hG4bK-535889426-1
To: <sip:[email protected]:5060>
User-Agent: Net2Phone SIPCERT
Call-ID: [email protected]
CSeq: 1 INVITE
Max-Forwards: 70
Allow: ACK,BYE,CANCEL,INVITE,OPTIONS
Content-Length: 233
Content-Type: application/sdp

v=0
o=535889426 15110674 15110674 IN IP4 213.166.104.153
s=SIP Call
c=IN IP4 213.166.104.153
t=0 0
m=audio 20018 RTP/AVP 18 0 101
a=rtpmap:18 G729/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15

### sendto 81.199.131.11:1064 712 bytes @ Mon Dec 19 11:59:02 2011

INVITE sip:[email protected]:5060 SIP/2.0
From: sip:[email protected]:5060;user=phone;tag=ccid-15110674-535889426
Contact: sip:[email protected]:5060
Via: SIP/2.0/UDP 216.53.17.97:5060;branch=z9hG4bK-535889426-1
To: <sip:[email protected]:5060>
User-Agent: Net2Phone SIPCERT
Call-ID: [email protected]
CSeq: 1 INVITE
Max-Forwards: 70
Allow: ACK,BYE,CANCEL,INVITE,OPTIONS
Content-Length: 233
Content-Type: application/sdp

v=0
o=535889426 15110674 15110674 IN IP4 213.166.104.153
s=SIP Call
c=IN IP4 213.166.104.153
t=0 0
m=audio 20018 RTP/AVP 18 0 101
a=rtpmap:18 G729/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15

### sendto 81.199.131.11:1064 712 bytes @ Mon Dec 19 11:59:04 2011

INVITE sip:[email protected]:5060 SIP/2.0
From: sip:[email protected]:5060;user=phone;tag=ccid-15110674-535889426
Contact: sip:[email protected]:5060
Via: SIP/2.0/UDP 216.53.17.97:5060;branch=z9hG4bK-535889426-1
To: <sip:[email protected]:5060>
User-Agent: Net2Phone SIPCERT
Call-ID: [email protected]
CSeq: 1 INVITE
Max-Forwards: 70
Allow: ACK,BYE,CANCEL,INVITE,OPTIONS
Content-Length: 233
Content-Type: application/sdp

v=0
o=535889426 15110674 15110674 IN IP4 213.166.104.153
s=SIP Call
c=IN IP4 213.166.104.153
t=0 0
m=audio 20018 RTP/AVP 18 0 101
a=rtpmap:18 G729/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15

### recvfrom 81.199.131.11:1064 388 bytes @ Mon Dec 19 11:59:05 2011

SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 216.53.17.97:5060;branch=z9hG4bK-535889426-1
Contact: <sip:[email protected]:5060>
To: <sip:[email protected]:5060>;tag=400e8330
From: <sip:[email protected]:5060;user=phone>;tag=ccid-15110674-535889426
Call-ID: [email protected]
CSeq: 1 INVITE
User-Agent: 3CXPhoneSystem 10.0.19079.0
Content-Length: 0


### recvfrom 81.199.131.11:1064 388 bytes @ Mon Dec 19 11:59:06 2011

SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 216.53.17.97:5060;branch=z9hG4bK-535889426-1
Contact: <sip:[email protected]:5060>
To: <sip:[email protected]:5060>;tag=400e8330
From: <sip:[email protected]:5060;user=phone>;tag=ccid-15110674-535889426
Call-ID: [email protected]
CSeq: 1 INVITE
User-Agent: 3CXPhoneSystem 10.0.19079.0
Content-Length: 0


### recvfrom 81.199.131.11:1064 388 bytes @ Mon Dec 19 11:59:08 2011

SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 216.53.17.97:5060;branch=z9hG4bK-535889426-1
Contact: <sip:[email protected]:5060>
To: <sip:[email protected]:5060>;tag=400e8330
From: <sip:[email protected]:5060;user=phone>;tag=ccid-15110674-535889426
Call-ID: [email protected]
CSeq: 1 INVITE
User-Agent: 3CXPhoneSystem 10.0.19079.0
Content-Length: 0


### recvfrom 81.199.131.11:1064 781 bytes @ Mon Dec 19 11:59:21 2011

SIP/2.0 200 OK
Via: SIP/2.0/UDP 216.53.17.97:5060;branch=z9hG4bK-535889426-1
Contact: <sip:[email protected]:1096>
To: <sip:[email protected]:5060>;tag=400e8330
From: <sip:[email protected]:5060;user=phone>;tag=ccid-15110674-535889426
Call-ID: [email protected]
CSeq: 1 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REGISTER, SUBSCRIBE, NOTIFY, REFER, INFO, MESSAGE
Content-Type: application/sdp
Supported: replaces
User-Agent: 3CXPhoneSystem 10.0.19079.0
Content-Length: 250

v=0
o=3cxPS 226492416000 273233739777 IN IP4 81.199.131.11
s=3cxPS Audio call
c=IN IP4 81.199.131.11
t=0 0
m=audio 9042 RTP/AVP 0 101
c=IN IP4 81.199.131.11
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=sendrecv

### sendto 81.199.131.11:1096 343 bytes @ Mon Dec 19 11:59:21 2011

ACK sip:[email protected]:1096 SIP/2.0
Via: SIP/2.0/UDP 216.53.17.97:5060;branch=z9hG4bK-535889426-2
From: <sip:[email protected]:5060;user=phone>;tag=ccid-15110674-535889426
To: <sip:[email protected]:5060>;tag=400e8330
Call-ID: [email protected]
CSeq: 1 ACK
Max-Forwards: 70
Content-Length: 0


### recvfrom 81.199.131.11:1064 781 bytes @ Mon Dec 19 11:59:22 2011

SIP/2.0 200 OK
Via: SIP/2.0/UDP 216.53.17.97:5060;branch=z9hG4bK-535889426-1
Contact: <sip:[email protected]:1096>
To: <sip:[email protected]:5060>;tag=400e8330
From: <sip:[email protected]:5060;user=phone>;tag=ccid-15110674-535889426
Call-ID: [email protected]
CSeq: 1 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REGISTER, SUBSCRIBE, NOTIFY, REFER, INFO, MESSAGE
Content-Type: application/sdp
Supported: replaces
User-Agent: 3CXPhoneSystem 10.0.19079.0
Content-Length: 250

v=0
o=3cxPS 226492416000 273233739777 IN IP4 81.199.131.11
s=3cxPS Audio call
c=IN IP4 81.199.131.11
t=0 0
m=audio 9042 RTP/AVP 0 101
c=IN IP4 81.199.131.11
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=sendrecv

### recvfrom 81.199.131.11:1064 781 bytes @ Mon Dec 19 11:59:24 2011

SIP/2.0 200 OK
Via: SIP/2.0/UDP 216.53.17.97:5060;branch=z9hG4bK-535889426-1
Contact: <sip:[email protected]:1096>
To: <sip:[email protected]:5060>;tag=400e8330
From: <sip:[email protected]:5060;user=phone>;tag=ccid-15110674-535889426
Call-ID: [email protected]
CSeq: 1 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REGISTER, SUBSCRIBE, NOTIFY, REFER, INFO, MESSAGE
Content-Type: application/sdp
Supported: replaces
User-Agent: 3CXPhoneSystem 10.0.19079.0
Content-Length: 250

v=0
o=3cxPS 226492416000 273233739777 IN IP4 81.199.131.11
s=3cxPS Audio call
c=IN IP4 81.199.131.11
t=0 0
m=audio 9042 RTP/AVP 0 101
c=IN IP4 81.199.131.11
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=sendrecv

### recvfrom 81.199.131.11:1064 781 bytes @ Mon Dec 19 11:59:33 2011

SIP/2.0 200 OK
Via: SIP/2.0/UDP 216.53.17.97:5060;branch=z9hG4bK-535889426-1
Contact: <sip:[email protected]:1096>
To: <sip:[email protected]:5060>;tag=400e8330
From: <sip:[email protected]:5060;user=phone>;tag=ccid-15110674-535889426
Call-ID: [email protected]
CSeq: 1 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REGISTER, SUBSCRIBE, NOTIFY, REFER, INFO, MESSAGE
Content-Type: application/sdp
Supported: replaces
User-Agent: 3CXPhoneSystem 10.0.19079.0
Content-Length: 250

v=0
o=3cxPS 226492416000 273233739777 IN IP4 81.199.131.11
s=3cxPS Audio call
c=IN IP4 81.199.131.11
t=0 0
m=audio 9042 RTP/AVP 0 101
c=IN IP4 81.199.131.11
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=sendrecv

### recvfrom 81.199.131.11:1064 781 bytes @ Mon Dec 19 11:59:40 2011

SIP/2.0 200 OK
Via: SIP/2.0/UDP 216.53.17.97:5060;branch=z9hG4bK-535889426-1
Contact: <sip:[email protected]:1096>
To: <sip:[email protected]:5060>;tag=400e8330
From: <sip:[email protected]:5060;user=phone>;tag=ccid-15110674-535889426
Call-ID: [email protected]
CSeq: 1 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REGISTER, SUBSCRIBE, NOTIFY, REFER, INFO, MESSAGE
Content-Type: application/sdp
Supported: replaces
User-Agent: 3CXPhoneSystem 10.0.19079.0
Content-Length: 250

v=0
o=3cxPS 226492416000 273233739777 IN IP4 81.199.131.11
s=3cxPS Audio call
c=IN IP4 81.199.131.11
t=0 0
m=audio 9042 RTP/AVP 0 101
c=IN IP4 81.199.131.11
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=sendrecv

### recvfrom 81.199.131.11:1064 781 bytes @ Mon Dec 19 11:59:44 2011

SIP/2.0 200 OK
Via: SIP/2.0/UDP 216.53.17.97:5060;branch=z9hG4bK-535889426-1
Contact: <sip:[email protected]:1096>
To: <sip:[email protected]:5060>;tag=400e8330
From: <sip:[email protected]:5060;user=phone>;tag=ccid-15110674-535889426
Call-ID: [email protected]
CSeq: 1 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REGISTER, SUBSCRIBE, NOTIFY, REFER, INFO, MESSAGE
Content-Type: application/sdp
Supported: replaces
User-Agent: 3CXPhoneSystem 10.0.19079.0
Content-Length: 250

v=0
o=3cxPS 226492416000 273233739777 IN IP4 81.199.131.11
s=3cxPS Audio call
c=IN IP4 81.199.131.11
t=0 0
m=audio 9042 RTP/AVP 0 101
c=IN IP4 81.199.131.11
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=sendrecv

### recvfrom 81.199.131.11:1064 781 bytes @ Mon Dec 19 11:59:48 2011

SIP/2.0 200 OK
Via: SIP/2.0/UDP 216.53.17.97:5060;branch=z9hG4bK-535889426-1
Contact: <sip:[email protected]:1096>
To: <sip:[email protected]:5060>;tag=400e8330
From: <sip:[email protected]:5060;user=phone>;tag=ccid-15110674-535889426
Call-ID: [email protected]
CSeq: 1 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REGISTER, SUBSCRIBE, NOTIFY, REFER, INFO, MESSAGE
Content-Type: application/sdp
Supported: replaces
User-Agent: 3CXPhoneSystem 10.0.19079.0
Content-Length: 250

v=0
o=3cxPS 226492416000 273233739777 IN IP4 81.199.131.11
s=3cxPS Audio call
c=IN IP4 81.199.131.11
t=0 0
m=audio 9042 RTP/AVP 0 101
c=IN IP4 81.199.131.11
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=sendrecv

### recvfrom 81.199.131.11:1064 781 bytes @ Mon Dec 19 11:59:52 2011

SIP/2.0 200 OK
Via: SIP/2.0/UDP 216.53.17.97:5060;branch=z9hG4bK-535889426-1
Contact: <sip:[email protected]:1096>
To: <sip:[email protected]:5060>;tag=400e8330
From: <sip:[email protected]:5060;user=phone>;tag=ccid-15110674-535889426
Call-ID: [email protected]
CSeq: 1 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REGISTER, SUBSCRIBE, NOTIFY, REFER, INFO, MESSAGE
Content-Type: application/sdp
Supported: replaces
User-Agent: 3CXPhoneSystem 10.0.19079.0
Content-Length: 250

v=0
o=3cxPS 226492416000 273233739777 IN IP4 81.199.131.11
s=3cxPS Audio call
c=IN IP4 81.199.131.11
t=0 0
m=audio 9042 RTP/AVP 0 101
c=IN IP4 81.199.131.11
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=sendrecv

### recvfrom 81.199.131.11:1064 461 bytes @ Mon Dec 19 11:59:52 2011

BYE sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 81.199.131.11:1064;branch=z9hG4bK-d8754z-7c4d0a740b61e774-1---d8754z-;rport
Max-Forwards: 70
Contact: <sip:[email protected]:1096>
To: <sip:[email protected]:5060;user=phone>;tag=ccid-15110674-535889426
From: <sip:[email protected]:5060>;tag=400e8330
Call-ID: [email protected]
CSeq: 2 BYE
User-Agent: 3CXPhoneSystem 10.0.19079.0
Content-Length: 0


### sendto 81.199.131.11:1064 353 bytes @ Mon Dec 19 11:59:52 2011

SIP/2.0 200 OK
Via: SIP/2.0/UDP 81.199.131.11:1064;branch=z9hG4bK-d8754z-7c4d0a740b61e774-1---d8754z-;received=81.199.131.11;rport=1064
From: <sip:[email protected]:5060>;tag=400e8330
To: <sip:[email protected]:5060;user=phone>;tag=ccid-15110674-535889426
Call-ID: [email protected]
CSeq: 2 BYE
Content-Length: 0


### recvfrom 81.199.131.11:1064 461 bytes @ Mon Dec 19 11:59:53 2011

BYE sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 81.199.131.11:1064;branch=z9hG4bK-d8754z-7c4d0a740b61e774-1---d8754z-;rport
Max-Forwards: 70
Contact: <sip:[email protected]:1096>
To: <sip:[email protected]:5060;user=phone>;tag=ccid-15110674-535889426
From: <sip:[email protected]:5060>;tag=400e8330
Call-ID: [email protected]
CSeq: 2 BYE
User-Agent: 3CXPhoneSystem 10.0.19079.0
Content-Length: 0


### sendto 81.199.131.11:1064 353 bytes @ Mon Dec 19 11:59:53 2011

SIP/2.0 200 OK
Via: SIP/2.0/UDP 81.199.131.11:1064;branch=z9hG4bK-d8754z-7c4d0a740b61e774-1---d8754z-;received=81.199.131.11;rport=1064
From: <sip:[email protected]:5060>;tag=400e8330
To: <sip:[email protected]:5060;user=phone>;tag=ccid-15110674-535889426
Call-ID: [email protected]
CSeq: 2 BYE
Content-Length: 0
 
Run the 3CX firewall checker, see if it comes up with any issues, that may require resolving, on your router.
 
I have also checked the firewall all things are passed.
 
SIP 200 messages are being sent repeatedly because the far end is probably not receiving an ACK (router setting?), then the call is dropped.
 
so what i do?
 
You can confirm that it is your router by either replacing it with another make (you don't say what type you are using), or by bypassing it completely, by allowing the computer running 3CX, to pick up a public IP (no NAT).

If that works then you need to work on your router. There is a possibility that there is a firewall programme at work too. Everyone's set-up is different, there is no one solution to NAT issues.
 
I am using cisco 1841 for the nat after that the sever is installed. I connect the phone directly with the same nat network ip bypassing the sever it do not disconnected. But when i am connecting the sever it is disconnecting. The is no issue with the router i checked the ports and all.
 
Hopefully there is someone here that is more familiar with the hardware you are using, and can offer some suggestions. It may be a very simple setting that is incorrect.

Other than that, your best be would be to contact a VoIP company/dealer in your area that supports 3CX, or perhaps a support contract, with 3CX directly.

I'm not sure if any if these troubleshooting/configuration articles are of any help.

http://www.3cx.com/blog/tag/troubleshooting/
http://www.3cx.com/blog/voip-howto/cisco-voip-configuration/
 
The problem is not related to Cisco router. I can confirm that Cisco is working fine (of course if not misconfigured).
The timeout of 32 seconds is most probably a setting of your provider.

I would advise not to use STUN in your 3CX server behind a Cisco router (Cisco is supporting SIP ALG correctly and makes no sense to disable SIP ALG). You need to set port forwarding only and make sure the firewall checker is passing successfully (exit code = 0).

Regards
 
Can you help me how to use the port forward in Cisco my 3cx server ip is 10.10.10.205
yes all firewall checker are already passing.
 
I've set your internal address 10.10.10.205. 'FastEthernet4' is the name of the WAN connection, could be necessary to be modified before applying the configuration to router.

Kind regards
 

Attachments

thanks for that can you please let me know fastethernet4 means my interface of the wan? that is public ip interface??
 
Hi,

in my router FastEthernet4 is the WAN interface (Ethernet), depends on your model (you may have different type or number of interfaces). Also if you have set a fixed IP address (public address) to WAN interface, you may use that address too instead of the name of the interface.

If you like send me a private message with more details about your configuration, I could tell you more about.

Regards
 
The problem may be SIP ALG on your Cisco router. Disable SIP ALG or SIP fixup and try an inbound call again. I had a problem with a Netgear N300 with SIP ALG enabled doing the same thing. Disabling SIP ALG allowed me to make calls as normal.
 
Status
Not open for further replies.

Forum statistics

Threads
111,852
Messages
589,391
Members
164,691
Latest member
Daz1964