[Home]

Summary:ASTERISK-23748: channel ooh323 hang up calls after 30 seconds
Reporter:dcapape (ovvoe)Labels:
Date Opened:2014-05-16 09:21:56Date Closed:2014-05-23 06:00:18
Priority:MajorRegression?
Status:Closed/CompleteComponents:Addons/chan_ooh323
Versions:1.8.15.0 Frequency of
Occurrence
Constant
Related
Issues:
Environment:3.2.0-4-amd64 #1 SMP Debian 3.2.54-2 x86_64 GNU/LinuxAttachments:( 0) captura.cap
Description:I'm trying to connect a Nortel CS1000 with channel ooh323 to an asterisk 1.8.15-cert5.
The outbound calls are working OK, and internal calls from Nortel to Asterisk works OK, but internal calls from Asterisk to Nortel hags up always after 30 seconds.

External Asterisk->Nortel OK
Internal  Nortel->Asterisk OK
Internal  Asterisk->Nortel Not working properly

The asterisk machine sends the hangup signal to trunk h323 and sip channel.

I found another bug like this ASTERISK-18748
(This hangs after 60seconds, not 30s)
But my asterisk release is higher and it's a Certified version, and then I think is pacthed.

If you need something more, let me know.
thanks in advance
{noformat}
   -- Executing [901@000001_internal:1] Dial("SIP/101-00000003", "OOH323/Nortel/901") in new stack
---   ooh323_request - data Nortel/901 format 0x8 (alaw)
---   ooh323_alloc
+++   ooh323_alloc
---   find_peer "Nortel"
comparing with "192.168.202.20"
found matching peer
+++   find_peer "Nortel"
---   ooh323_new - Nortel, 8
+++   h323_new
---   onNewCallCreated 7fabf04fa0e8: ooh323c_o_4
---   find_call
+++   find_call
Outgoing call Nortel(ooh323c_o_4) - Codec prefs - (alaw|ulaw|g723)
Adding capabilities to call(outgoing, ooh323c_o_4)
Adding g711 alaw capability to call(outgoing, ooh323c_o_4)
Adding g711 ulaw capability to call(outgoing, ooh323c_o_4)
Adding g7231 capability to call (outgoing, ooh323c_o_4)
---   configure_local_rtp
+++   configure_local_rtp
+++   onNewCallCreated ooh323c_o_4
+++   ooh323_request
----- ooh323_queryoption 16 on channel OOH323/Nortel-3
+++++ ooh323_queryoption 16 on channel OOH323/Nortel-3
---   ooh323_call- Nortel/901
+++   ooh323_call
   -- Called OOH323/Nortel/901
---   onOutgoingCall 7fabf04fa0e8: ooh323c_o_4
---   find_call
+++   find_call
setting callid number 4997
+++   onOutgoingCall ooh323c_o_4
--- onAlerting ooh323c_o_4
---   find_call
+++   find_call
   -- OOH323/Nortel-3 is ringing
+++ onAlerting ooh323c_o_4
---   ooh323_update_writeformat 0x8 (alaw)/20
---   find_call
+++   find_call
Writeformat before update 0x8 (alaw)/0x8 (alaw)
+++   ooh323_update_writeformat
---   setup_rtp_connection 192.168.1.20:5200
---   find_call
+++   find_call
+++   setup_rtp_connection
---   onCallEstablished ooh323c_o_4
---   find_call
+++   find_call
+++   onCallEstablished ooh323c_o_4
   -- OOH323/Nortel-3 answered SIP/101-00000003
----- ooh323_indicate 20 on call ooh323c_o_4
++++  ooh323_indicate 20 on ooh323c_o_4
pbx*CLI>
pbx*CLI>
pbx*CLI>
pbx*CLI>
pbx*CLI>
---   close_rtp_connection
---   find_call
+++   find_call
+++   close_rtp_connection
---   onCallCleared ooh323c_o_4
---   find_call
+++   find_call
+++   onCallCleared
---   ooh323_hangup
+++   ooh323_hangup
 == Spawn extension (000001_internal, 901, 1) exited non-zero on 'SIP/101-00000003'
---   ooh323_destroy
Destroying Nortel
Destroying ooh323c_o_4
+++   ooh323_destroy
{noformat}
Comments:By: Rusty Newton (rnewton) 2014-05-20 09:37:36.685-0500

Assigning to Alex (ooh323 maintainer) for triage.

By: Alexander Anikin (may213) 2014-05-20 10:39:58.303-0500

Hello,

Could you attach tcpdump capture file with h.323 packets between nortel and asterisk for problematic call?

Please be sure that you use tcpdump with -s0 option to save full length packets ;)


By: dcapape (ovvoe) 2014-05-22 05:30:13.849-0500

I attach the capture.

By: Alexander Anikin (may213) 2014-05-22 18:25:08.797-0500

Looks to Nortel PBX doesn't work correctly with FastStart feature, please switch off faststart and try call again.
To switch off set faststart=no in [general] section in ooh323.conf or in peer section in there is faststart setting per the Nortel peer and do "ooh323 reload" asterisk cli command.
Also please attach capture file for call without faststart.

By: dcapape (ovvoe) 2014-05-23 05:59:18.172-0500

It's working after disabling faststart.

Thank you.