cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
14101
Views
0
Helpful
12
Replies

Ringback tone

AZaburdyayev
Level 1
Level 1

Hello!

I have difulucty with ringback. My connection is following:

              ISDN Pri                             h323

Cell GW --------------- Cisco GW(3725) ---------- Softswitch --- user

I have checked isdn debug q931:


*Jan  5 07:25:59.600: ISDN Se0/2/0:15 Q931: Applying typeplan for sw-type 0x12 is 0x2 0x1, Calling num 7273137301
*Jan  5 07:25:59.604: ISDN Se0/2/0:15 Q931: Applying typeplan for sw-type 0x12 is 0x4 0x1, Called num 3815141
*Jan  5 07:25:59.604: ISDN Se0/2/0:15 Q931: TX -> SETUP pd = 8  callref = 0x70D0
        Sending Complete
        Bearer Capability i = 0x8090A3
                Standard = CCITT
                Transfer Capability = Speech
                Transfer Mode = Circuit
                Transfer Rate = 64 kbit/s
        Channel ID i = 0xA9839D
                Exclusive, Channel 29
        Calling Party Number i = 0xA1, '137301'
                Plan:ISDN, Type:National
        Called Party Number i = 0xC1, '3815141'
                Plan:ISDN, Type:Subscriber(local)
*Jan  5 07:26:00.144: ISDN Se0/2/0:15 Q931: RX <- CALL_PROC pd = 8  callref = 0xF0D0
        Channel ID i = 0xA9839D
                Exclusive, Channel 29
*Jan  5 07:26:01.004: ISDN Se0/2/0:15 Q931: RX <- ALERTING pd = 8  callref = 0xF0D0
        Progress Ind i = 0x8281 - Call not end-to-end ISDN, may have in-band info
*Jan  5 07:26:08.544: ISDN Se0/2/0:15 Q931: RX <- CONNECT pd = 8  callref = 0xF0D0
        Progress Ind i = 0x8282 - Destination address is non-ISDN
        Connected Number i = 0x00C3
*Jan  5 07:26:08.552: ISDN Se0/2/0:15 Q931: TX -> CONNECT_ACK pd = 8  callref = 0x70D0
*Jan  5 07:26:12.380: ISDN Se0/2/0:15 Q931: TX -> DISCONNECT pd = 8  callref = 0x70D0
        Cause i = 0x8090 - Normal call clearing
*Jan  5 07:26:12.676: ISDN Se0/2/0:15 Q931: RX <- RELEASE pd = 8  callref = 0xF0D0
*Jan  5 07:26:12.676: ISDN Se0/2/0:15 Q931: TX -> RELEASE_COMP pd = 8  callref = 0x70D0


As we can all see progress indicator from isdn is coming to Cisco gateway. How I can check that ringback is sended to h323 peer ?

If I am calling from softswitch I do not hear ringback and service anoncements.

My dial peers on Cisco


dial-peer voice 102 voip
tone ringback alert-no-PI
voice-class codec 1
incoming called-number 38.....


dial-peer voice 10 pots
translation-profile outgoing tp_Balance

tone ringback alert-no-PI

destination-pattern .
no digit-strip

progress_ind alert enable 8
progress_ind progress enable 8
progress_ind connect enable 8

direct-inward-dial
port 1/0:15

How I can check and fix issue ?


1 Accepted Solution

Accepted Solutions

As you can see from h225 debug, your cisco gateway sends the h225 alerting message correctly:

H225.0 OUTGOING PDU ::=

value H323_UserInformation ::=

    {

      h323-uu-pdu

      {

        h323-message-body alerting :

Another strange thing is the absence of responses from cisco gateway in your captured files. In wich way do you get the pcap files? Do you use wireshark or tcpdump directly from the softswitch?

Does the IP connection between cisco and softswitch work correctly? Can you make a PING or TRACE to the softswitch from the cisco gateway?

In the h323 signalling the ip address is right.

Can you trace the h225 messages sent and received from your h323 client?

I would see if the softswitch sends the alerting to the user.

Regards.

View solution in original post

12 Replies 12

I had similar problem but the cause was the progress indicator alert set to 2.

I solved with progress_ind alert strip 2.

To see the original progress indicator  remove every progress_ind command from your dial-peers and trace the call with debug isdn q931 and debug voice ccapi inout.

Can you post new trace and gateway config?

Is there in your gateway the command voice call send-alert or voice call convert-discpi-to-prog ?

Regards.

Log is to large, I saved it to file and attached.

There is no  voice call send-alert or voice call convert-discpi-to-prog in my config.

What message or parameter should be in h323 indicating that ringback is sended ( in sip as I know should be message 180 ringing)?

ISDN Q.931 progress indicators messages are mapped in H.225 - H.323 protocol.

This is an example:

From your trace I can see this:

Calling Number=137301

Called Number=3815141

Incoming Dial-peer=102, Progress Indication=NULL(0)

Outgoing Dial-peer=10

Q931: TX -> SETUP

Q931: RX <- CALL_PROC

Progress Ind i = 0x8288 - In-band info or appropriate now available

Progress Indication=INBAND(8),

Voice Call Send Alert=FALSE, Call Entry(AlertSent=FALSE)

Q931: RX <- ALERTING

Progress Indication=INBAND(8), Signal Indication=SIGNAL RINGBACK(1)

Call Entry(Responsed=TRUE, AlertSent=TRUE)

You can try to add voice call send-alert in global configuration to enable the terminating gateway to send an alert message instead of a progress message after it receives a call setup.

You can find more info at this link: http://www.cisco.com/en/US/tech/tk1077/technologies_tech_note09186a0080094c33.shtml

Regards.

after adding voice call send-alert

Log is following:

*Sep  2 01:56:50.273: ISDN Se1/0:15 Q931: TX -> SETUP pd = 8  callref = 0x6F62
        Sending Complete
        Bearer Capability i = 0x8090A3
                Standard = CCITT
                Transfer Capability = Speech
                Transfer Mode = Circuit
                Transfer Rate = 64 kbit/s
        Channel ID i = 0xA9839F
                Exclusive, Channel 31
        Calling Party Number i = 0xA1, '137301'
                Plan:ISDN, Type:National
        Called Party Number i = 0xA1, '3815141'
                Plan:ISDN, Type:National
*Sep  2 01:56:51.306: ISDN Se1/0:15 Q931: RX <- CALL_PROC pd = 8  callref = 0xEF62
        Channel ID i = 0xA9839F
                Exclusive, Channel 31
        Progress Ind i = 0x8288 - In-band info or appropriate now available
*Sep  2 01:56:51.318: //122084/080B92008000/CCAPI/cc_api_call_proceeding:
   Interface=0x84814C3C, Progress Indication=INBAND(8)
*Sep  2 01:56:51.318: //122083/080B92008000/CCAPI/ccCallCutProgress:
   Progress Indication=INBAND(8), Signal Indication=INTERCEPT(2), Cause Value=0
   Voice Call Send Alert=TRUE, Call Entry(AlertSent=FALSE)
*Sep  2 01:56:51.318: //122083/080B92008000/CCAPI/ccCallCutProgress:
   Call CallAlert;
   Call Entry(Responsed=TRUE)
*Sep  2 01:56:51.322: //122083/080B92008000/CCAPI/ccCallAlert:
   Progress Indication=INBAND(8), Signal Indication=INTERCEPT(2)
*Sep  2 01:56:51.322: //122083/080B92008000/CCAPI/ccCallAlert:
   Call Entry(Responsed=TRUE, AlertSent=TRUE)
*Sep  2 01:56:51.322: //122084/080B92008000/CCAPI/cc_api_get_called_ccm_detected:
   CallInfo(ccm detected=0)
*Sep  2 01:56:51.322: //122083/xxxxxxxxxxxx/CCAPI/ccConferenceCreate:
   (confID=0x8453A658, callID1=0x1DCE3, callID2=0x1DCE4, tag=0x0)
*Sep  2 01:56:51.322: //122083/080B92008000/CCAPI/ccConferenceCreate:
   Conference Id=0x8453A658, Call Id1=122083, Call Id2=122084, Tag=0x0
*Sep  2 01:56:51.322: //122083/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

*Sep  2 01:56:51.322: cc_api_get_xcode_stream : 4181
*Sep  2 01:56:51.322: //122083/xxxxxxxxxxxx/CCAPI/cc_api_bridge_done:
   Conference Id=0xE208, Source Interface=0x844B0828, Source Call Id=122083,

But am unable to hear ringback.

I am checked capture, there is no alerting in h225.

If router recieve alerting from ISDN it should send it to h323 without any config, Am I correct ?

But how shows practice I do not recieve alert in h225, why? How to send it ?

Is there the command voice rtp send-recv in your config?

This command enables voice path cut-through in both directions (calling and called). This is needed to transport in-band tones and announcements from called party to the calling party.

Do you have removed progress_ind commands from your POTS dial-peers?

When the ISDN alert is received with no PI present, the gateway generates the ringback and includes a PI=0x8 in the H.225 alert message.

Can you post your config?

Regards.

Sure I can. I have 2 gateways with similar problem.  I attached config of 2nd. Situation is the same. Here call come in 12  dial peer and out through 101.

Not easy. Your config is right.


Try these:

1) remove tone ringback alert-no-PI and apply the hidden command progress_ind set enable 3 to your voip dial-peer, this forces the gateway to treat the inbound ISDN setup as though it came in with PI=3 and forces the gateway to generate the ring back


2) add this hidden command
voice service voip
h323
  h225 progress-indicator local-ringback

Still have no luck.

Logs and captures are attached.

Maybe We are lost main aim ? I want make gateway to send alert in h323 packets. How you show in capture (h.225 alerting message).

Currently after all manipulations I cannot get it.

Can you post what conditions are should be executed and router send alerting message in h323?

Can you post your capture with alerting message( I want compare with my) ?

In your trace there are only packets from ip address 192.168.251.3 (maybe the phone) to your cisco gateway. But there aren't packets from the gateway to the phone. Can you include a complete trace?

If no you can use a different debug on cisco gateway: debug h225 asn1.

Does your Softswitch only a gatekeeper or acts as a proxy?

I've attached my trace and a configuration example.
In the debug you can see that the gateway sends the alerting (row 145).
A different is the h245 tunneling. In my case it's disabled.

In my case All packets come from SoftSwitch(ip 192.168.251.3 ). It acts as proxy. Full trace would be too big, but it is possible. I make full capture with debug(4th). There are 3 calls in it. 2 not successfull and last one good.

It's very strange thing, I do not see packets from Cisco gateway...

I am looking your debugs and config, thank you for example of correct call flow.

As you can see from h225 debug, your cisco gateway sends the h225 alerting message correctly:

H225.0 OUTGOING PDU ::=

value H323_UserInformation ::=

    {

      h323-uu-pdu

      {

        h323-message-body alerting :

Another strange thing is the absence of responses from cisco gateway in your captured files. In wich way do you get the pcap files? Do you use wireshark or tcpdump directly from the softswitch?

Does the IP connection between cisco and softswitch work correctly? Can you make a PING or TRACE to the softswitch from the cisco gateway?

In the h323 signalling the ip address is right.

Can you trace the h225 messages sent and received from your h323 client?

I would see if the softswitch sends the alerting to the user.

Regards.

Thank you for support!

I found problem. It was on router between softswitch and remote gateway. That router done nat traslation of packets coming to softswitch, thats why i do not recieve alerting messages.