cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
20650
Views
26
Helpful
16
Replies

SIP trunk to provider dropping calls

rynard.coetzee
Level 1
Level 1

Hi

I have the following setup CUCM 6 -- > H323 GW ---- > SIP from same GW ---- > SIP provider

WHen i dial a number across the SIP provider the number rings ,but as soon as i answer the call the call gets dropped ,but from the SIP debugs on the gateway i can not see any reason for it ,the codec negotiation goes through fine ,only error is see is :

May 29 14:59:18: //-1/xxxxxxxxxxxx/SIP/Error/sipSPIUcccause_to_sipcause: Unknown PSTN cause code from CCAPI:0

Spoke to the SIP provider and he reckons he sees a disconnect from my side.

I will attach a copy of the sip debug

Does anyone know what the issue might be here ?

16 Replies 16

Rynard,

Thanks for the nice rating and I am glad it worked. I knew it was a codec problem because cause 65 usually implies mismatch in different variations of same codec.. And that was why you couldnot send an ACK with SDP.

For purpose of other users who may experience this problem, I suggest you mark this as answered. So when people are looking through the forum they can see that this thread is answered..

You can mark this time line in the thread.. Its up to you though. I just find it useful when I am looking through threads to see answered or not..

29-May-2012 08:24 (in response to rynard.coetzee)

Please rate all useful posts

Rynard,

Also for future purposes and for otheres who may have similar problems,

If we look at the output of debug ccsip all..we see the following:

++Call leg 2:the outbound call to sip provider:negotiated G729br8++

*May 30 09:22:48: //706482/1329D3BCB4BE/SIP/Info/ccsip_update_srtp_caps:  5033: Not Sending NULL SRTP CAPS to SIP LEG

*May 30 09:22:48: //706482/1329D3BCB4BE/SIP/Media/sipSPIUpdCallWithSdpInfo:

          Stream type            : voice+dtmf

          Media line             : 1

          State                  : STREAM_ADDING (2)

          Stream address type    : 1

          Callid                 : -1

          Negotiated Codec       : g729br8, bytes :20

          Nego. Codec payload    : 18 (tx), 18 (rx)

          Negotiated DTMF relay  : rtp-nte

          Negotiated NTE payload : 101 (tx), 101 (rx)

          Negotiated CN payload  : 0

          Media Srce Addr/Port   : [41.76.57.125]:0

          Media Dest Addr/Port   : [82.199.73.139]:19694

++Call leg 1 the inbound leg from CUCM++Negotiated no codec..

*May 30 09:22:48: //706481/1329D3BCB4BE/SIP/Call/sipSPIMediaCallInfo:

Number of Media Streams: 1

Media Stream             : 1

Negotiated Codec         : No Codec  

Negotiated Codec Bytes   : 0

Nego. Codec payload      : 255 (tx), 255 (rx)

Negotiated Dtmf-relay    : 0

Dtmf-relay Payload       : 0 (tx), 0 (rx)

Source IP Address (Media): 41.76.57.125

Source IP Port    (Media): 18604

Destn  IP Address (Media):  -

Destn  IP Port    (Media): 0

Orig Destn IP Address:Port (Media): [ - ]:0

*May 30 09:22:48: //706481/1329D3BCB4BE/SIP/Info/sipSPI_ipip_handle_channel_info:

CCSIP:callid 706481 state STATE_SENT_ALERTING

*May 30 09:22:48: //706481/1329D3BCB4BE/SIP/Info/sipSPI_ipip_copy_channelInfo_to_sdp:

callid 706481, channels 0x691A957C caps 0x68BEE744

*May 30 09:22:48: //706481/1329D3BCB4BE/SIP/Info/sipSPI_ipip_copy_channelInfo_to_sdp: Peer cap provided: callid = 706481, peer dtmf = 6

*May 30 09:22:48: //706481/1329D3BCB4BE/SIP/Info/codec_found:

Codec to be matched: 12

*May 30 09:22:48: //706481/1329D3BCB4BE/SIP/Info/sipSPI_ipip_copy_channelInfo_to_sdp:

need transcoding for codec mismatch

*May 30 09:22:48: //706481/1329D3BCB4BE/SIP/Info/sipSPIDtmfTranscoder: Return upon SCCP version 0

*May 30 09:22:48: //706481/1329D3BCB4BE/SIP/Info/ccsip_set_cc_cause_for_spi_err: Categorized cause:65, category:278

*May 30 09:22:48: //706481/1329D3BCB4BE/SIP/Error/sipSPI_ipip_copy_channelInfo_to_sdp:

filter mis-match, failing call

*May 30 09:22:48: //706481/1329D3BCB4BE/SIP/Info/sipSPIInitiateDisconnect: Initiate call disconnect(65) for incoming call

*May 30 09:22:48: //-1/xxxxxxxxxxxx/SIP/Info/ccsip_set_release_source_for_peer: ownCallId[706481], src[6]

*

++++and inbetween we see why+++++

CCSIP here informs us that the incoming leg has a different codec to the outboud leg, hence a xcoder is needed. I Believe and MTP device will do the job also


*May 30 09:22:48: //706481/1329D3BCB4BE/SIP/Info/sipSPI_ipip_handle_channel_info:
CCSIP:callid 706481 state STATE_SENT_ALERTING
*May 30 09:22:48: //706481/1329D3BCB4BE/SIP/Info/sipSPI_ipip_copy_channelInfo_to_sdp:
callid 706481, channels 0x691A957C caps 0x68BEE744
*May 30 09:22:48: //706481/1329D3BCB4BE/SIP/Info/sipSPI_ipip_copy_channelInfo_to_sdp: Peer cap provided: callid = 706481, peer dtmf = 6
*May 30 09:22:48: //706481/1329D3BCB4BE/SIP/Info/codec_found:
Codec to be matched: 12
*May 30 09:22:48: //706481/1329D3BCB4BE/SIP/Info/sipSPI_ipip_copy_channelInfo_to_sdp:
need transcoding for codec mismatch
*May 30 09:22:48: //706481/1329D3BCB4BE/SIP/Info/sipSPIDtmfTranscoder: Return upon SCCP version 0
*May 30 09:22:48: //706481/1329D3BCB4BE/SIP/Info/ccsip_set_cc_cause_for_spi_err: Categorized cause:65, category:278
*May 30 09:22:48: //706481/1329D3BCB4BE/SIP/Error/sipSPI_ipip_copy_channelInfo_to_sdp:
filter mis-match, failing call
*May 30 09:22:48: //706481/1329D3BCB4BE/SIP/Info/sipSPIInitiateDisconnect: Initiate call disconnect(65) for incoming call
*May 30 09:22:48: //-1/xxxxxxxxxxxx/SIP/Info/ccsip_set_release_source_for_peer: ownCallId[706481], src[6]

Please rate all useful posts