09-23-2013 04:22 AM - edited 03-21-2019 07:48 AM
I configured a simple "After Hour" script in CUE. The first incoming call to the CUE works ok, you hear the message. The second incoming call is connected to the CUE but there is no audio. In UC500 I get the following error:
000628: Sep 23 12:57:48.280: %SIP-3-BADPAIR: Unexpected event 21 (SIPSPI_EV_CC_CODEC_LOCAL_DNLD_DONE) in state 25 (SIP_STATE_MIDCALL_RECD_SUCCESS) substate 0 (SUBSTATE_NONE)
Note that the calls are coming from a SIP trunk which is connected to the UC500. The codes supported from the SIP trunk are g711alaw and g729. I configured a transcoding and it's working for the first call. The second call does not use any dsp resourses.
09-23-2013 04:28 AM
If you configure for G711 (should be ulaw, but alaw may work as well), there will be no need for transcoding, and quality will also be better.
09-23-2013 04:30 AM
My provider supports only alaw and g729. CUE supports ulaw only. So transcoding is needed.
The first call is OK. The problem is on the second call.
09-23-2013 05:46 AM
I'm afraid you will go in rounds unless you adopt what I've indicated above.
09-23-2013 05:03 AM
I enable the debug ccsip errors and I got the following messages during the second call:
SIP: (1528) Attribute mid, level 1 instance 1 not found.
000640: Sep 23 14:58:17.926: //1528/44D934AE825C/SIP/Error/sipSPI_ipip_update_codec_params_in_channelInfo:
failed to update call entry
000641: Sep 23 14:58:17.926: //1528/44D934AE825C/SIP/Error/sipSPI_ipip_update_codec_params_in_channelInfo:
failed to update call entry
000642: Sep 23 14:58:17.926: //1528/44D934AE825C/SIP/Error/sipSPI_ipip_update_call_entry:
failed to update call entry
000643: Sep 23 14:58:17.926: //-1/xxxxxxxxxxxx/SIP/Error/sipSPI_ipip_set_channel_count: Unable to set CHANNEL_COUNT for callid 1528
000644: Sep 23 14:58:17.926: //1528/44D934AE825C/SIP/Error/sip_iwf_sip_copy_sdp_to_channelInfo: Channel count is not set at this point. Not SIP-SIP or SET_MODE is not done.
000645: Sep 23 14:58:17.938: //1529/44D934AE825C/SIP/Error/sip_iwf_sip_copy_channelInfo_to_sdp: We are either escalating, orno stream found for this m-line index:1
000646: Sep 23 14:58:17.938: //1529/44D934AE825C/SIP/Error/sip_iwf_sip_copy_channelInfo_to_sdp: We are either escalating, orno stream found for this m-line index:1 VCC, mtp1 index, mtp2 index, stream1, stream2 = 1 1 3 4
SIP: (1529) Group (a= group line) attribute, level 65535 instance 1 not found. VCC, mtp1 index, mtp2 index, stream1, stream2 = 1 1 4 3
000647: Sep 23 14:58:18.166: //1529/44D934AE825C/SIP/Error/ccsip_alert_parent_or_child: Unable to add unsupported
hdrs to container
SIP: Attribute mid, level 1 instance 1 not found.
000648: Sep 23 14:58:18.234: //1528/44D934AE825C/SIP/Error/sipSPIUpdateRtpSession: voip_rtp_update_callinfo returns FALSE
SIP: (1528) Group (a= group line) attribute, level 65535 instance 1 not found.
000649: Sep 23 14:58:18.330: //1528/44D934AE825C/SIP/Error/ccsip_api_request_offer: Unable to add passthru hdrs to
container
000650: Sep 23 14:58:18.346: //1529/44D934AE825C/SIP/Error/ccsip_api_response_answer: Unable to add
passthru headers to container
SIP: Attribute mid, level 1 instance 1 not found.
000651: Sep 23 14:58:18.350: %SIP-3-BADPAIR: Unexpected event 21 (SIPSPI_EV_CC_CODEC_LOCAL_DNLD_DONE) in state 25 (SIP_STATE_MIDCALL_RECD_SUCCESS) substate 0 (SUBSTATE_NONE)
SIP: (1528) Group (a= group line) attribute, level 65535 instance 1 not found.
SIP: (1528) Group (a= group line) attribute, level 65535 instance 1 not found.
SIP: Attribute mid, level 1 instance 1 not found.
000652: Sep 23 14:58:18.506: //1528/44D934AE825C/SIP/Error/sipSPIProcessAckMedia: Could not modify QoS params for midcall INVITE
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