[Home]

Summary:ASTERISK-16661: [patch] No audio is heard when calling from asterisk to Cisco CallManager.
Reporter:Sergio (salecha)Labels:
Date Opened:2010-09-08 14:46:54Date Closed:2010-10-09 09:04:36
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Addons/chan_ooh323
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) CCM_Config.png
( 1) debug_call_from_asterisk_to_CiscoCM
( 2) fs-tunnel-per-point.patch
( 3) fs-tunnel-per-point-2.patch
( 4) fs-tunnel-per-point-3.patch
( 5) h323_log
( 6) h323_log_ast_1.6_sip_to_h323_ok
( 7) h323_log_ast_1.8_sip_to_h323_fail
( 8) log_ooh323_ast18_trunk_faststart_no_h245tunneling_no
( 9) log_ooh323_ast18_trunk_faststart_no_h245tunneling_yes
(10) ooh323.conf
Description:This is the situation:
1) We have a Cisco CallManager and Asterisk.
2) call from Asterisk to Cisco CallManager.
3) calls perfectly, but to answer the call do not hear the audio.
4) And it cuts the call to spend a few seconds.

Calls from the Cisco CallManager to Asterisk works perfectly.


****** ADDITIONAL INFORMATION ******

In asterisk 1.6, when calling from asterisk to the Cisco CallManager is what happens:

GW01*CLI>
---   onCallEstablished ooh323c_o_1
---   find_call
+++   find_call
+++   onCallEstablished ooh323c_o_1
   -- OOH323/CISCOCM-OUT-09c2e9d8 answered SIP/10.2.1.106-00000000
----- ooh323_indicate 20 on call ooh323c_o_1
++++  ooh323_indicate 20 on ooh323c_o_1
---   setup_rtp_connection
---   find_call
+++   find_call
+++   setup_rtp_connection
GW01*CLI>

But in Asterisk 1.8, the call from Asterisk to Cisco CallManager does the following:

VOIP02*CLI>
---   onCallEstablished ooh323c_o_2
---   find_call
+++   find_call
+++   onCallEstablished ooh323c_o_2
   -- OOH323/CISCOCM-OUT-2 answered SIP/2920-00000006
----- ooh323_indicate 26 on call ooh323c_o_2
++++  ooh323_indicate 26 on ooh323c_o_2
VOIP02*CLI>

You can see that the RTP channels are not set to asterisk 1.8.

---   setup_rtp_connection
---   find_call
+++   find_call
+++   setup_rtp_connection
Comments:By: Alexander Anikin (may213) 2010-09-16 12:01:21

Salecha, please set tracelevel=6 in ooh323.conf, reload ooh323 module then make call and attach there /var/log/asterisk/h323_log.
I suggest there is no OpenLogicalChannel from asterisk side but need to see signalling log.
It will be better if you attach log from both 1.6 and 1.8 version.

Btw, rtp channels must be opened before answer usually after progress or alerting signal. In your call i don't see progress signal.



By: Alexander Anikin (may213) 2010-09-16 14:21:54

Salecha, i see that your CCM simple abort h.323 connection in failed call log. Setup message to CCM queued but not sended.
In ok log i see fast start not enabled on asterisk and possible on CCM, please check and enable it on CCM.
And try make another call to CCM with trace enabled from 1.8 and attach log again.

By: Sergio (salecha) 2010-09-17 14:58:30

To make a call ooh323 use:
Dial (ooh323 / $ (EXTEN) @ CISCOCM-OUT, 30, t).
I send you the configuration of the context in ooh323.conf file.

By: Alexander Anikin (may213) 2010-09-19 09:03:04

Salecha, pls try attached patch, setup faststart=no on CISCOCM-OUT in ooh323.conf and test call.
Also you can try to set h245tunneling=no, it's interesting to see both result with and without tunneling enabled.

You had trouble here because ooh323 had not correct setting for faststart/tunneling on outgoing calls, both was enabled silently. With patch it's possible to assign these options separately per user/peer and globally.

By: Sergio (salecha) 2010-09-20 06:32:37

The patch works!. It works by using FastStart = no and h245tunneling = no. If I use FastStart = no and h245tunneling = yes, the call is established but does not pass audio.

By: Alexander Anikin (may213) 2010-09-21 15:49:09

Salecha, pls try new patch (fs-tunnel-per-point-2) and try call with h245tunneling = yes. New patch is not incremental to previous patch and must be applied to clean trunk/1.8 code. It's more accurate in processing data about tunneling settings from remote side.

By: Alexander Anikin (may213) 2010-09-30 13:57:33

Additional patch attached. Few corrections in proccessing h245tunnel fields in signalling responses. Also it's not incremental.



By: Alexander Anikin (may213) 2010-10-09 08:45:04

I'll close issue due to lack of response. Feel free to reopen if there will be additional info or request.

By: Digium Subversion (svnbot) 2010-10-09 09:02:28

Repository: asterisk
Revision: 291005

U   branches/1.8/addons/chan_ooh323.c
U   branches/1.8/addons/ooh323c/src/ooh245.c
U   branches/1.8/addons/ooh323c/src/ooh323.c

------------------------------------------------------------------------
r291005 | may | 2010-10-09 09:02:27 -0500 (Sat, 09 Oct 2010) | 13 lines

Added fast start and h.245 tunneling options per user and peer.

Added options for faststart/h.245 tunneling per user/peer, properly
handle these and global options, correction of handling fs/tunneling
fields in signalling responses

(issue ASTERISK-16661)
Reported by: salecha
Patches:
     fs-tunnel-per-point-3.patch uploaded by may213 (license 454)
Tested by: may213, salecha


------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=291005

By: Digium Subversion (svnbot) 2010-10-09 09:04:36

Repository: asterisk
Revision: 291006

U   trunk/addons/chan_ooh323.c
U   trunk/addons/ooh323c/src/ooh245.c
U   trunk/addons/ooh323c/src/ooh323.c

------------------------------------------------------------------------
r291006 | may | 2010-10-09 09:04:35 -0500 (Sat, 09 Oct 2010) | 12 lines

Added fast start and h.245 tunneling options per user and peer.

Added options for faststart/h.245 tunneling per user/peer, properly
handle these and global options, correction of handling fs/tunneling
fields in signalling responses

(closes issue ASTERISK-16661)
Reported by: salecha
Patches:
     fs-tunnel-per-point-3.patch uploaded by may213 (license 454)
Tested by: may213, salecha

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=291006