- Joined
- Apr 23, 2020
- Messages
- 29
- Reaction score
- 7
I have 3CX running on a VPS with a 3CX SBC deployed at site. The site is connected by 4G LTE (double NAT plus GCNAT). There are several Yealink phones provisioned and they work just fine.
I am attempting to setup a Vingtor Stentofon TCIS-3 IP Intercom. It's a SIP device. With the server domain and outbound proxy set to the IP of the SBC, the unit registers, receives and makes calls. There seems to be no issue when the unit receives calls at all.
However, when the unit dials another extension, the call establishes, both parties can hear each other, but the call terminates after 32 seconds.
Thinking this is a SIP ALG issue, I confirmed no SIP ALG's are turned on. So I looked at the logs.
3CX log:
Intercom log:
So it seems the intercom is having trouble responding with an ACK, possibly because the IP address of the SBC is getting mangled.
The intercom is running old firmware, and I've emailed the manufacturer to try to get an update, however I am wondering if there is something I've missed in 3CX settings.
I am attempting to setup a Vingtor Stentofon TCIS-3 IP Intercom. It's a SIP device. With the server domain and outbound proxy set to the IP of the SBC, the unit registers, receives and makes calls. There seems to be no issue when the unit receives calls at all.
However, when the unit dials another extension, the call establishes, both parties can hear each other, but the call terminates after 32 seconds.
Thinking this is a SIP ALG issue, I confirmed no SIP ALG's are turned on. So I looked at the logs.
3CX log:
02/13/2021 2:27:50 PM - [CM503021]: Call(C:18): ACK is not received from sip:[email protected]:5060
02/13/2021 2:27:50 PM - ACK not received from "Intercom 1"<sip:[email protected]:5060>;tag=2071512103 to <sip:[email protected]:5060>;tag=81271648Intercom log:
817 1 27:09.726 SipConnection::updateStatus ---- status 2 -----
818 1 27:18.396 handle_rcv2xx handle_rcv2xx (id=16) state 2
819 1 27:18.399 SipCall_handle2xxInviteResponse handle_rcv2xx_for_invite (id=16)
820 1 27:18.401 SipCall_sendAckFor2XX Sending ack
821 1 27:18.403 send_sip_message Send SIP Message ACK 127.0.0.1:5060
822 1 27:18.405 SipConnection::sendData Sending SIP message from port 5060 to 127.0.0.1:5060 write(648)
823 1 27:18.407 SipCallLine_onCallAccepted SipCallLine_onCallAccepted
824 1 27:18.411 SipCallLine_checkSdp SipCallLine_checkSdp audio local state is SDP_SENDRECV remote state is SDP_SENDRECV calculated state SDP_SENDRECV
825 1 27:18.412 SipLineManager_updateCallStatus SipLineManager_updateCallStatus 4
826 1 27:18.419 ZapToSip_notifyCallUpdate ZapToSip_notifyCallUpdate
827 1 27:18.420 ZapToSip_callToJson ZapToSip_callToJson
828 1 27:18.425 SipMain_updateGeneralStatus SipMain_updateGeneralStatus STATE_OUTGOING_CALL
829 1 27:18.426 SipMainDigitalOutputs_callEvents_timed SipMainDigitalOutputs_callEvents_timed
830 1 27:18.432 SipMainDigitalOutputs_callEvents_timed Script, key or delay not configured: 0
831 1 27:18.433 SipConnection::playTone Tone off
832 1 27:18.433 EdgeAudioControl::playTone playTone(21) - duration:0
833 1 27:18.434 EdgeVoiceEngineIntegrIt0::setVoiceEngine VE Options - micFadeInDelay: -1, duplexStartDelay: -1, toneGain: -2200
834 1 27:18.435 EdgeVoiceEngineIntegrIt0::playTone Stopping tone
835 1 27:18.436 EdgeAudioControl::playTone playTone(102) - duration:100
836 1 27:18.437 EdgeVoiceEngineIntegrIt0::setVoiceEngine VE Options - micFadeInDelay: -1, duplexStartDelay: -1, toneGain: -2200
837 1 27:18.438 EdgeVoiceEngineIntegrIt0::playTone Playing custom tone f1:500,f2:0 - Tone400,Silence100
843 1 27:18.446 SipConnection::onSdpReceived Sdp received v=0
o=3cxPS 23973678182039552 483041063469057 IN IP4 127.0.0.1
s=3cxPS Audio call
c=IN IP4 192.168.1.190
b=AS:84
t=0 0
a=X-nat:0
m=audio 20000 RTP/AVP 9 101
c=IN IP4 192.168.1.190
b=TIAS:64000
b=AS:84
a=sendrecv
a=rtpmap:9 G722/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
844 1 27:18.452 SipAudioChannel_startChannel start ch type 0, lport 61000, rport 20000, rip 192.168.1.190, codec g722, vol 0db pri 2
845 1 27:18.453 SipConnection::setupAudio channel 0 ip 192.168.1.190 port 20000 codec g722 dtmfpt 101
846 1 27:18.464 EdgeAudioControl::audioStreamSetup New config for audiostream: 1
847 1 27:18.465 AudioStreamConfig::setStreamSetupConfig Masks: Modify[1111111111111111] - Config[ 100001]
870 1 27:18.516 SipCallLine_debug Call info: direction outgoing - state established
871 1 27:18.522 SipCallParams_printDebug SipCallParams_printDebug: remote sipid 666 nick (null) domain (null) port 5060
872 1 27:18.523 SipCallParams_printDebug SipCallParams_printDebug: local sipid 401 nick "Intercom 1" domain (null) port 5060
873 1 27:18.524 SipCallParams_printDebug SipCallParams_printDebug: header name user-agent value 3CXPhoneSystem 16.0.7.1078 (1078)
874 1 27:18.525 SipCallParams_printDebug SipCallParams_printDebug: header name supported value timer
875 1 27:18.526 SipCallParams_printDebug SipCallParams_printDebug: header name supported value replaces
876 1 27:18.527 Sip_handleOsipMessage Done processing SIP event.
877 1 27:18.535 Sip_handleNewRequest New transaction ACK message, should be ACK on 2xx
878 1 27:18.536 Sip_handleNewRequest Could not find call for ACK message!So it seems the intercom is having trouble responding with an ACK, possibly because the IP address of the SBC is getting mangled.
The intercom is running old firmware, and I've emailed the manufacturer to try to get an update, however I am wondering if there is something I've missed in 3CX settings.