04-01-2016 06:33 AM - edited 03-21-2019 10:32 AM
Hi all,
I have a problem with Cisco SPA112 ATA. I can make calls no problem. When someone calls the number configured on ATA, analogue phone attached to ATA rings but when I answer, I do not hear anything. The calling party still gets the waiting tone.
Debug log from ATA when this happens is presented below. I have amended the phone number the calls is initiated from.
Any ideas what is causing this?
Regards,
Tom
NEW_CALL_STATE(), call 0: old state = CC_CST_IDLE, new state CC_CST_RINGING
CID_initGen 8
[0]CID:CID_initGen() >>> offhook 0 delay 2200 phone 501****** name 501******
RTP_nextMediaPort(), port = 16442
RTP_nextMediaPort(), rc=16440
AUD_allocCallObj() call(0x1b1d40)
[0:0]AUD ALLOC CALL (port=16440)
+++++ SIP_lineCcCmdProc CC_CMD_ACCEPT AUD_startRtpRx
[AUD]AUD_startRtpRx(0x1b1d40) lid 0
Local loopback mode: None. Type: None.
Remote loopback mode: None. Type None.
RTP channel setup: udp_no_checksum 0, sysmmetric_rtp 0, tos 0xb8, cos 6, mlb 0.
uchConnectEpToNode(), connecting EP VoIP 0 to node 0
uchEnableEchoCan(), lid 0 EP 2 enable
uchEnableModemCall() Modem call state(0) not change
UCH sync parameter hold off time is 70
Set QoS succeed
uchSetGTD(), Disable GTD for FXS 1
uchSetGTD() GTD state not change
uchSetDTMFMute(), DISABLE
cordless_start_rtp(), chan:0 remote ip:(null) port:0 local:16440 rx:1 ipt:0 ptime:30 bInMdmPasstru:0
Starting Rx only RTP.
Socket 14 bound to port 16440.
Remote IP/port: 0.0.0.0:0
Codec list from SDP (internal pt): 0 18 8 134 136
Rx payload list: PCMU/8000(0) G.729/8000(18) PCMA/8000(8) NSE/8000(100) encaprtp/8000(112)
set RTP_SESSION_OPT_DTMF
VAD = 0
RTP configuration:
audio_mode RTP_MODE_REC_ONLY, media_loop_level RTP_LOOP_LEVEL_NONE, dtmf2833numEndPakcets 3, opts 0x0
Codec: duration 30, rx_pt_event 101, tx_pt_event 101, tx_pt 0
rx[0] 0 PCMU/8000, rx[1] 18 G.729/8000, rx[2] 8 PCMA/8000
rx[3] 100 NSE/8000, rx[4] 112 encaprtp/8000, rx[5] -1
Jib: max 180ms, min 60ms, adapt 1
RTP Channel 0 is virgin: 1.
#### rtp seq number is 668
RTP session 0 started
[AUD]RTP Rx Up
CID:OnHookTx Pol
[0]CID CID_ST_POLREV_POST_DELAY
uchPlayDTASTone(), playuchSetMute(), ENABLE, ret=0
[0]CID CID_ST_CAS
[0]CID CID_ST_CAS_POST_DELAY
uchDisplayCIDFSK(), EP 2 lid 0 buflen 95 overhead 60 SZ_MAX_USERDATA 200 offhook 0
uchDisplayCIDFSK(), FSK Caller ID standard is 0(bell 202)
uchDisplayCIDFSK(), SeizeFreq 0x16 MarkFreq 0xc
[0]CID Start DTMF/FSK, CID_ST_ACTIVE
uchAppCb(), Event 49 received EP 2 lid 0
receive CH_ASYNC_CIT_TRANSMITTED
[0]CID CID:DONE
[0]CID CID_ST_ACTIVE_POST_DELAY
[0]CID CID_ST_IDLE
CID:Ring Now
CC_eventProc(), event: CC_EV_CID_DONE(0x51), lid: 0, par: 0, par2: (nil)
AUD_ccEventProc: event 81 vid 0 par 0x0 par2 0x0
SLIC_startRing state 0 ts 0x1af54con 2000 off 4000 len 60000
[0]Ring cad event 0 pol 0
uchSetMute(), DISABLE, ret=0
[0]Ring cad event 1 pol 0
SIP_tsCreateClient(), 1671, uiTmrF=1600, SIP_TMR_F_INIT=1600
SIP_tsClientEventProc(event: 28) state = 1
SIP_regTsEventProc(event: 28)
SIP_regTsEventProc(event: 32)
TS Detached
SIP_tsClientEventProc(event: 3) state = 3
[0]Ring cad event 0 pol 0
[0]Ring cad event 1 pol 0
SIP_tsClientEventProc(event: 9) state = 3
[0]Off Hook
CC_eventProc(), event: CC_EV_USR_OFFHOOK(0x2), lid: 0, par: 0, par2: (nil)
AUD_ccEventProc: event 2 vid 0 par 0x0 par2 0x0
sysstatus_set_led_status_payton(), led_id: 1, statusCode:7, systemEvent: 0x100095
callEventProcTable[5] is cepRingingProc
cepRingingProc(lid=0, call=0x17f9f4, event=11(CC_EV_USR_ANSWER), par=0, par2=(nil))
NEW_CALL_STATE(), call 0: old state = CC_CST_RINGING, new state CC_CST_ANSWERING
SLIC_stopRing
[0]Ring cad event 2 pol 0
SLIC_stopRing
SLIC_stopTone
uchStopVoipTone(), Stop Voip Tone EP 3
Start timer G and H (e=22)
TMR G fired
TMR G fired
TMR G fired
SIP_sessTsEventProc(event:27)
Start TmrJ
SIP_sessDlgEventProc: event: 45(SIP_EV_DLG_BYED), ucState: 0
SIP_releaseAudioResources() entered ################!!!!!!!!!!!!!!!!!
Requesting call statistics...
RTP TX stats updated for channel 0
RTP RX stats updated for channel 0
Call statistics updated.
AUD_releaseCallObj() call(0x1b1d40)
[AUD]AUD_stopRtpTx(0x1b1d40)
cordless_stop_rtp_tx(), Channel 0.
*** RTP channel not in Tx. Nothing to stop!
*** RTP channel not in Tx. Nothing to stop!
[AUD]RTP Tx Down
[AUD]AUD_stopRtpRx(0x1b1d40)
cordless_stop_rtp_rx(), Channel 0.
RTP channel 0 going from Rx to Idle.
RTP configuration:
audio_mode RTP_MODE_INACTIVE, media_loop_level RTP_LOOP_LEVEL_NONE, dtmf2833numEndPakcets 3, opts 0x0
Codec: duration 30, rx_pt_event 101, tx_pt_event 101, tx_pt 0
rx[0] 0 PCMU/8000, rx[1] 18 G.729/8000, rx[2] 8 PCMA/8000
rx[3] 100 NSE/8000, rx[4] 112 encaprtp/8000, rx[5] -1
Jib: max 180ms, min 60ms, adapt 1
RTP channel 0 is now Idle.
[AUD]RTP Down
[AUD]AUD_releaseRtp(0x1b1d40)
cordless_stop_rtp(), releasing RTP channel:0
cordless_stop_rtp(), RTP session 0 stopped succussfully
uchRelChanAndEP(0, 3)
uchDisconnectEpFromNode(), disconnecting EP VoIP 0 from node 0
[AUD]RTP channel released
[0:0]AUD Rel Call
SIP_releaseAudioResources(), CC_lineIsIdle(0)=0, gAudLine[0].bIvr=0, AUD_relUchNode????????????
SIP_releaseAudioResources() exit ################!!!!!!!!!!!!!!!!!
CC_eventProc(), event: CC_EV_SIG_CALL_ENDED(0x34), lid: 0, par: 6, par2: (nil)
AUD_ccEventProc: event 52 vid 0 par 0x6 par2 0x0
callEventProcTable[7] is cepAnsweringProc
cepAnsweringProc(lid=0, call=0x17f9f4, event=52(CC_EV_SIG_CALL_ENDED), par=6, par2=(nil))
CC:Ended
NEW_CALL_STATE(), call 0: old state = CC_CST_ANSWERING, new state CC_CST_INVALID
CPC statr timer CC_EV_TMR_INVALID
SLIC_stopRing
SLIC_stopRing
SLIC_stopTone
##### RTP_SEQ_NUM_EVT 1248
[0]On Hook
CC_eventProc(), event: CC_EV_USR_ONHOOK(0x1), lid: 0, par: 0, par2: (nil)
AUD_ccEventProc: event 1 vid 0 par 0x0 par2 0x0
sysstatus_set_led_status_payton(), led_id: 1, statusCode:1, systemEvent: 0x100093
callEventProcTable[6] is cepInvalidProc
cepInvalidProc(lid=0, call=0x17f9f4, event=1(CC_EV_USR_ONHOOK), par=0, par2=(nil))
callEventProcTable[0] is cepIdleProc
cepIdleProc(lid=0, call=0x17fc14, event=1(CC_EV_USR_ONHOOK), par=0, par2=(nil))
cepIdleProc(), lid=0
[IVR_eventProc] evt 1 lid 0
callEventProcTable[6] is cepInvalidProc
cepInvalidProc(lid=0, call=0x17f9f4, event=10(CC_EV_USR_ENDCALL), par=0, par2=(nil))
NEW_CALL_STATE(), call 0: old state = CC_CST_INVALID, new state CC_CST_IDLE
[AUD]Release UCH node for AUD_LINE 0.
uchDisableNode(), Node 0 released ret=0
[AUD]UCH node 0 freed.
SLIC_stopRing
SLIC_stopTone
Set QoS succeed
TMR G fired
SIP_tsCreateClient(), 1671, uiTmrF=1600, SIP_TMR_F_INIT=1600
SIP_tsClientEventProc(event: 28) state = 1
SIP_regTsEventProc(event: 28)
SIP_regTsEventProc(event: 32)
TS Detached
SIP_tsClientEventProc(event: 3) state = 3
TMR G fired
TP Parser error: 34
SIP_tsClientEventProc(event: 9) state = 3
TMR G fired
TMR G fired
TMR G fired
Solved! Go to Solution.
04-03-2016 02:21 AM
Got a managed switch to intercept SIP packets but before running wireshark I tested the calling once again. Suddenly it works. It must have been the remote end provider issue then as you suggested. Thanks for your help on that matter.
04-03-2016 09:09 AM
Glad to hear you solved it.
04-01-2016 08:15 AM
Yes, it has been covered by "It must run on computer eligible to see network packets" sentence. You need either switch with port mirroring, you can use an ancient HUB if you have the one.
Or asks your VOIP provider (where your ATA is registered to) to catch packets for you (or ask them for generic help with the issue you described).
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide