04-24-2013 07:04 AM - edited 03-21-2019 10:02 AM
Environment:
SPA232D, latest firmware 1.3.1(003_240)
SPA302D handset, firmware 2.40, registered as DECT 1 line.
User wishing to call 800123456 number.
Our user are usign two styles of dialing. Some users:
[A1] push green button
[A2] then enter called number
While other users:
[B1] enter called number
[B2] then push green button.
Both styles work on SPA5xx and SPA1x2 (well, analog phones connected to SPA1x2) devices, so users wish the exact order doesn't matter.
Unfortunatelly, on the SPA232D+SPA302D the only A style dialing work. With B style dialing the ATA device append '#' to the end of dialed number:
INVITE sip:800123456%23@10.250.250.1:5060 SIP/2.0
The PBX know no how to call 8001234546# so call is rejected. It confuse our users.
It's not welcomed behavior of SPA232D. Is there a way to disable unintentional modification of dialed number ?
Just for the completeness, there is syslog&debug log:
cordless_tick(), got something...
cordless_SIP_AP_eventProc(), recevie cmd = 0, src AP = 2
Initial Address
(instance = 0x1000000e, source = , dest = , line = 2)
Cordless session 0 allocated
cordless_SIP_AP_eventProc(), IAM comes from handset 1
preProcessHandsetOutNum(0x309198)
preProcessHandsetOutNum(2)
cordless_findHsNextCcCall(), hs=0x0x2fb834, mode=1, pLid=0x0x407b7a40, pDid=0x0x407b7a3c
select: DECT line1
found idle call 0
sysstatus_set_led_status_payton(), led_id: 4, statusCode:15, systemEvent: 0x100106
cordless_SendLineCfm(0, 1, 0)
CC_main(), evt 10
CC_main(), lid=3, cid=0, CC_CALL=0x32a91c
callEventProcTable[0] is cepIdleProc
cepIdleProc(line=0x32a918, call=0x32a91c, event=10(CC_EV_USR_SEIZURE), par=0, par2=0x309198)
cepIdleProc(), lid=3
cepIdleProc(), pname=10.250.250.1
cepIdleProc(), SYS_NOREG_CALL(3)=0, SIP_REGISTER_OK(3)=1
NEW_CALL_STATE(), call 0: old state = CC_CST_IDLE, new state CC_CST_DIALING
NEW_CALL_STATE_CORDLESS(0), CC_CST_IDLE ==> CC_CST_DIALING
cordless_findSessByLineIdandCID(3, 0), session[0].nCcLineId=3, session[0].nCcCallId=0
Start timer for Dialtone timeout,dial_tone_length = 65535
cepIdleProc(), sid = 0
Set QoS succeed
Apr 24 15:28:47 SPA232D msgswitchd[339]: D2V_SS7_DataReceived
Apr 24 15:28:47 SPA232D msgswitchd[339]: *** SS7 Message ***
Apr 24 15:28:47 SPA232D msgswitchd[339]: *** SS7 Message *** wInterface [AP_SIP] wCmd [IAM]0 wsource [AP_DECT]
Apr 24 15:28:47 SPA232D msgswitchd[339]: IAM Recv SS7 IAM u32_Instance 0x1000000e SS7 IAM u32_SessionType 0x0 SS7 IAM u32_Line 2 SS7 IAM u32_Handset 1 SS7 IAM pu8_Src [0][0][] SS7 IAM pu8_Dst [0][0][]
Apr 24 15:28:47 SPA232D msgswitchd[339]: Codec1 = 9, Codec2 = 0
Apr 24 15:28:47 SPA232D msgswitchd[339]: printSS7Data done
Apr 24 15:28:47 SPA232D msgswitchd[339]: *** SS7 Message ***
Apr 24 15:28:47 SPA232D msgswitchd[339]: *** SS7 Message *** wInterface [AP_DECT] wCmd [INF]8 wsource [AP_SIP]
Apr 24 15:28:47 SPA232D msgswitchd[339]: ss7_send_msg : Unknown AP Send To DECT ss7 -> nl, dst[AP_DECT], dst 2, len 96
Apr 24 15:28:47 SPA232D msgswitchd[339]: In netlinkSendMessage contenttype 1
cordless_eventProc(107(CC_EV_TO_CO_CALL_SEIZURED), 0, 0, 00000000)
Apr 24 15:28:48 SPA232D msgswitchd[339]: D2V_SS7_DataReceived
Apr 24 15:28:48 SPA232D msgswitchd[339]: *** SS7 Message ***
Apr 24 15:28:48 SPA232D msgswitchd[339]: *** SS7 Message *** wInterface [AP_SIP] wCmd [SAM]1 wsource [AP_DECT]
Apr 24 15:28:48 SPA232D msgswitchd[339]: SAM Recv SS7 SAM u32_Instance 0x1000000e SS7 SAM pu8_Dst 800123456#
Apr 24 15:28:48 SPA232D msgswitchd[339]: printSS7Data done
cordless_tick(), got something...
cordless_SIP_AP_eventProc(), recevie cmd = 1, src AP = 2
========================Instance ID = 1000000e===========================
00
===================================================
===================================================
002fd5ec
===================================================
800123456#
===================================================
Subsequent Address=800123456# line 3
call state(3, 0) = 1
CC_main(), evt 103
CC_main(), lid=3, cid=0, CC_CALL=0x32a91c
callEventProcTable[1] is cepDialingProc
cepDialingProc(line=0x32a918, call=0x32a91c, event=103(CC_EV_FROM_CO_DSTRING_DIALED), par=0, par2=0x3091ac)
cepDialingProc(), event = 103(CC_EV_FROM_CO_DSTRING_DIALED)
cepDialingProc(), dn = (null)
callEventProcTable[1] is cepDialingProc
cepDialingProc(line=0x32a918, call=0x32a91c, event=34(CC_EV_TMR_DIALPLAN), par=0, par2=(nil))
cepDialingProc(), event = 34(CC_EV_TMR_DIALPLAN)
cepDialingProc(), dn = 800123456#
[checkSuppFeatActCode] lid 3 vid 3 dn 800123456#
cepDialingProc(CC_EV_TO_CO_CALL_ADDR_COMPLETED(800123456#))
cordless_SendDialCfm(0, 1, 2)
gwid: -1, lid: 3
getCodecList line 0x32a918 call 0x32a91c clRemote: 0x0 bInbound 0
pconly: 128
====== Local codec num 1 ======
8
================================
NEW_CALL_STATE(), call 0: old state = CC_CST_DIALING, new state CC_CST_CALLING
NEW_CALL_STATE_CORDLESS(0), CC_CST_DIALING ==> CC_CST_CALLING
cordless_findSessByLineIdandCID(3, 0), session[0].nCcLineId=3, session[0].nCcCallId=0
Calling:800123456%23@10.250.250.1:5060, rc=0
++++ called number = 800123456%23
++++ called number = 800123456%23
RTP_nextMediaPort(), port = 16532
RTP_nextMediaPort(), rc=16530
dbg_tmp: initSdp bOneCodec: 0, sdp->ucNumCodec: 2
AUD_allocCallObj() call(0x3af5d0)
[3:0]AUD ALLOC CALL (port=16530)
+++++ initSession AUD_startRtpRx
[AUD]AUD_startRtpRx(0x3af5d0) lid 3
Local loopback mode: None. Type: None.
Remote loopback mode: None. Type None.
DECT call no rtp channel yet, do nothing
[AUD]RTP Rx Up
cordless_tick(), got something...
cordless_SIP_AP_eventProc(), recevie cmd = 9, src AP = 2
CHST (instance = 0x1000000e) =============================
IID 0x1000000e, CH ID 0, CH state 5
Session current call state = 3
send CC_EV_FROM_CO_CHST
cordless_eventProc(108(CC_EV_TO_CO_CALL_ADDR_COMPLETED), 0, 0, 00000000)
CC_main(), evt 104
++++ receive CC_EV_FROM_CO_CHST
+++++ CC_main CHST AUD_startRtpRx
[AUD]AUD_startRtpRx(0x3af5d0) lid 3
Local loopback mode: None. Type: None.
Remote loopback mode: None. Type None.
DECT call CoSess id is 0, rtp_chan is 0
RTP channel setup: udp_no_checksum 0, sysmmetric_rtp 0, tos 0xb8, cos 6, mlb 0.
cordless_start_rtp(), chan:0 remote ip:(null) port:0 local:16530 rx:1 ipt:0 ptime:0
Starting Rx only RTP.
Socket 32 bound to port 16530.
Remote IP/port: 0.0.0.0:0
Codec list from SDP (internal pt):
Codec list from SDP (internal pt):
8
8
136
136[AUD]RTP Tx Down
[AUD]AUD_stopRtpRx(0x3af5d0)
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 0, rx_pt_event 101, tx_pt_event -1, tx_pt 0
rx[0] 8 PCMA/8000, rx[1] 112 encaprtp/8000, rx[2] -1
rx[3] -1 , rx[4] -1 , rx[5] -1
Jib: max 180ms, min 60ms, adapt 1
Apr 24 15:28:49 SPA232D msgswitchd[339]: MSGSWD RTCP Reqt len 12 Data 2,35,7312,268435470
Apr 24 15:28:49 SPA232D msgswitchd[339]: In netlinkSendMessage contenttype 2
RTP channel 0 is now Idle.
[AUD]RTP Down
[AUD]AUD_releaseRtp(0x3af5d0)
cordless_stop_rtp(), releasing RTP channel:0
cordless_stop_rtp(), RTP session 0 stopped succussfully
[AUD]RTP channel released
[3:0]AUD Rel Call
SIP_releaseAudioResources(), CC_lineIsIdle(3)=0, gAudLine[3].
Rx payload list:
Rx payload list:
PCMA/8000(8)
PCMA/8000(8)
encaprtp/8000(112)
encaprtp/8000(112)
set RTP_SESSION_OPT_DTMF
RTP configuration:
audio_mode RTP_MODE_REC_ONLY, media_loop_level RTP_LOOP_LEVEL_NONE, dtmf2833numEndPakcets 3, opts 0x0
Codec: duration 0, rx_pt_event 101, tx_pt_event -1, tx_pt 0
rx[0] 8 PCMA/8000, rx[1] 112 encaprtp/8000, rx[2] -1
rx[3] -1 , rx[4] -1 , rx[5] -1
Jib: max 180ms, min 60ms, adapt 1
RTP Channel 0 is virgin: 1.
#### rtp seq number is 311
Apr 24 15:28:49 SPA232D msgswitchd[339]: *** SS7 Message ***
Apr 24 15:28:49 SPA232D msgswitchd[339]: *** SS7 Message *** wInterface [AP_DECT] wCmd [INF]8 wsource [AP_SIP]
Apr 24 15:28:49 SPA232D msgswitchd[339]: ss7_send_msg : Unknown AP Send To DECT ss7 -> nl, dst[AP_DECT], dst 2, len 96
Apr 24 15:28:49 SPA232D msgswitchd[339]: In netlinkSendMessage contenttype 1
Apr 24 15:28:49 SPA232D msgswitchd[339]: D2V_SS7_DataReceived
Apr 24 15:28:49 SPA232D msgswitchd[339]: *** SS7 Message ***
Apr 24 15:28:49 SPA232D msgswitchd[339]: *** SS7 Message *** wInterface [AP_SIP] wCmd [CHST]9 wsource [AP_DECT]
Apr 24 15:28:49 SPA232D msgswitchd[339]: CHST Recv SS7 CHST u32_Instance 0x1000000e SS7 CHST u32_ChannelID 0 SS7 CHST u32_State [SS70_CH_STATE_RESERVE]
Apr 24 15:28:49 SPA232D msgswitchd[339]: printSS7Data done
Apr 24 15:28:49 SPA232D [17194585.036000] In cordless Driver Codec 8 and str PCMA/8000 chan 0
Apr 24 15:28:49 SPA232D [17194585.036000] In cordless Driver Codec 112 and str encaprtp/8000 chan 0
Apr 24 15:28:49 SPA232D [17194585.036000] In cordless Driver Codec 255 and str chan 0
Apr 24 15:28:49 SPA232D [17194585.036000] In cordless Driver Codec 255 and str chan 0
Apr 24 15:28:49 SPA232D [17194585.036000] In cordless Driver Codec 255 and str chan 0
Apr 24 15:28:49 SPA232D [17194585.036000] In cordless Driver Codec 255 and str chan 0
RTP session 0 started
[AUD]RTP Rx Up
SIP_tsInviteClientEventProc(event:27)
SIP_sessTsEventProc(event:27)
xxxx SIP session.c 399730ed-e14ce9c7@10.20.12.247 processInviteResponse statusClass=13
SIP_tsInviteClientEventProc(event:27)
SIP_sessTsEventProc(event:27)
xxxx SIP session.c 399730ed-e14ce9c7@10.20.12.247 processInviteResponse statusClass=1
SIP_tsInviteClientEventProc(event:27)
SIP_sessTsEventProc(event:27)
xxxx SIP session.c 399730ed-e14ce9c7@10.20.12.247 processInviteResponse statusClass=13
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(0x3af5d0)
[AUD]AUD_stopRtpTx(0x3af5d0)
cordless_stop_rtp_tx(), Channel 0.
*** RTP channel not in Tx. Nothing to stop!
[AUD]RTP Tx Down
[AUD]AUD_stopRtpRx(0x3af5d0)
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 0, rx_pt_event 101, tx_pt_event -1, tx_pt 0
rx[0] 8 PCMA/8000, rx[1] 112 encaprtp/8000, rx[2] -1
rx[3] -1 , rx[4] -1 , rx[5] -1
Jib: max 180ms, min 60ms, adapt 1
Apr 24 15:28:49 SPA232D msgswitchd[339]: MSGSWD RTCP Reqt len 12 Data 2,35,7312,268435470
Apr 24 15:28:49 SPA232D msgswitchd[339]: In netlinkSendMessage contenttype 2
RTP channel 0 is now Idle.
[AUD]RTP Down
[AUD]AUD_releaseRtp(0x3af5d0)
cordless_stop_rtp(), releasing RTP channel:0
cordless_stop_rtp(), RTP session 0 stopped succussfully
[AUD]RTP channel released
[3:0]AUD Rel Call
SIP_releaseAudioResources(), CC_lineIsIdle(3)=0, gAudLine[3].
04-25-2013 03:18 PM
Dan, I've entered this issue for dev to address. ID is CSCug57775. Thanks.
05-01-2013 12:56 PM
Thank you. I got the pre-release version of the firmware: 1.3.2(010_246) from you. It revealed that the issue is not related to SPA232D firmware but SPA302D (e.g. handset) firmware.
Unfortunatelly, the firmware is buggy as well and it doesn't upgrade the handset to fw 2.46 as expected but downgrade it to fw 2.31 instead.
So, I tried:
Base station firmware | Handset firmware | Result |
---|---|---|
1.3.1(003_240) | 2.40 | BROKEN |
1.3.1(003_240) | 2.31 | OK |
1.3.2(010_246) | 2.40 | BROKEN |
1.3.2(010_246) | 2.31 | OK |
Conclusion - issue doesn't exist in 2.31 firmware of SPA302D handset.
Then I got advice from so I succesfully upgraded headset to 2.46 firmware.
Unfortunatelly, issue not solved in 2.46 firmware of SPA302D handset.
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