support

Trixbox 2.0 to Alcatel A4400 over h323

tlombardi
Posts: 12
Member Since:
2006-08-23

hello,

I am trying to setup trixbox 2.0 to call the A4400 extensions from sip extensions. The alcatel is running R4.2-d2.304-4-ai-mt-c6s2 . I dont think its coming from the alcatel side since I tried other H323 gateways instead of trixbox which worked fine.

I'm running Trixbox 2.0 with asterisk asterisk-addons-1.2.7_1.2.21.1-4 and g729 and g723 codecs installed. calls from asterisk towards the 4400 are established with voice success but disconnected after three seconds...

Has anyone any idea why this is happening? Ive been trying to get around this problem for months!!! grrrr. Found several posts on this issue with no plausible explanation or solution for it. Has anyone ever got to getting around this problem?

Thanks

Tonio



16again
Posts: 235
Member Since:
2007-03-04
fwiw, we had succesfull h323

fwiw, we had succesfull h323 trunk from TB (2.0 2.2 and 2.2.4) to an avaya IPoffice403
We're using ooh323



tlombardi
Posts: 12
Member Since:
2006-08-23
which version of

which version of asterisk-addons are you using? could you post your ooh323.conf file? Which codecs are you using?



16again
Posts: 235
Member Since:
2007-03-04
asterisk-addons.i386

asterisk-addons.i386 1.2.7_1.2.23-4 (do I need it for h323 ??)

[general]
;Define the asetrisk server h323 endpoint

;The port asterisk should listen for incoming H323 connections.
;Default - 1720
;port=1720

;The dotted IP address asterisk should listen on for incoming H323
;connections
;Default - tries to find out local ip address on it's own
bindaddr=a.b.c.d

;This parameter indicates whether channel driver should register with
;gatekeeper as a gateway or an endpoint.
;Default - no
;gateway=no

;Whether asterisk should use fast-start and tunneling for H323 connections.
;Default - yes
faststart=yes
h245tunneling=yes

;H323-ID to be used for asterisk server
;Default - Asterisk PBX
h323id=myID
e164=1234567890
callerid=TrixBox

;Whether this asterisk server will use gatekeeper.
;Default - DISABLE

context=from-trunk
;The codecs to be used for all clients.Only ulaw and gsm supported as of now.
;Default - ulaw
; ONLY ulaw, gsm, g729 and g7231 supported as of now
disallow=all ;Note order of disallow/allow is important.
allow=ulaw
;allow=gsm

canreinvite=no
dtmfmode=h245signal



tlombardi
Posts: 12
Member Since:
2006-08-23
asterisk-addons contains the

asterisk-addons contains the ooh323 package too. It's installed along with trixbox if you installed it from the trixbox ISO. I noticed some differences in your conf file (mainly the dtmfmode) which I tried but the problem still persists. Calls are connected for 3 to 4 seconds before abruptly hanging up. When I switch on ooh323 debug in asterisk i get the following trace. Have you ever encountered this problem?

Thanks for your help

--- ooh323_request - data 3342@10.16.248.7:1720 format 0x100 (g729)
--- find_peer "10.16.248.7:1720"
comparing with "10.16.248.10"
comparing with "10.16.248.7"
+++ find_peer "10.16.248.7:1720"
+++ ooh323_request
--- ooh323_call- 3342@10.16.248.7:1720
--- onNewCallCreated ooh323c_o_2
--- find_call
+++ find_call
setting callid number 6003
Outgoing call 10.16.248.7:1720(ooh323c_o_2) - Codec prefs - (g723)
Adding capabilities to call(outgoing, ooh323c_o_2)
Adding g7231 capability to call (outgoing, ooh323c_o_2)
--- configure_local_rtp
+++ configure_local_rtp
+++ onNewCallCreated ooh323c_o_2
+++ ooh323_call
-- Called 3342@10.16.248.7:1720
--- onAlerting ooh323c_o_2
--- find_call
+++ find_call
+++ onAlerting ooh323c_o_2
-- OOH323/10.16.248.7:1720-c19e is ringing
--- setup_rtp_connection
--- find_call
+++ find_call
+++ setup_rtp_connection
--- onCallEstablished ooh323c_o_2
--- find_call
+++ find_call
+++ onCallEstablished ooh323c_o_2
-- OOH323/10.16.248.7:1720-c19e answered SIP/6003-09af3e00
--- close_rtp_connection
--- find_call
+++ find_call
+++ close_rtp_connection
--- onCallCleared ooh323c_o_2
--- find_call
+++ find_call
--- ooh323_hangup
hanging 10.16.248.7:1720
+++ ooh323_hangup



16again
Posts: 235
Member Since:
2007-03-04
Here's my log when dialing

Here's my log when dialing sip/602 to avaya/204
Mine is quite different: for instance, it never says "ringing"
I got G729 disabled for this trunk, but ooh323 still tries to use it ??

asterisk -r
ooh323 debug

--- ooh323_request - data 204@AvayaIP:1720 format 0x100 (g729)
--- find_peer "AvayaIP:1720"
+++ find_peer "AvayaIP:1720"
+++ ooh323_request
--- ooh323_call- 204@AvayaIP:1720
+++ ooh323_call
--- onNewCallCreated ooh323c_o_32
--- find_call
+++ find_call
setting callid number 602
Outgoing call AvayaIP:1720(ooh323c_o_32) - Codec prefs - (ulaw)
Adding capabilities to call(outgoing, ooh323c_o_32)
Adding g711 ulaw capability to call(outgoing, ooh323c_o_32)
--- configure_local_rtp
+++ configure_local_rtp
+++ onNewCallCreated ooh323c_o_32
--- setup_rtp_connection
--- find_call
+++ find_call
+++ setup_rtp_connection
--- onAlerting ooh323c_o_32
--- find_call
+++ find_call
+++ onAlerting ooh323c_o_32

Picking up 204 on avaya .....

--- onCallEstablished ooh323c_o_32
--- find_call
+++ find_call
+++ onCallEstablished ooh323c_o_32

Hanging up 204......

--- close_rtp_connection
--- find_call
+++ find_call
+++ close_rtp_connection
--- onCallCleared ooh323c_o_32
--- find_call
+++ find_call
--- ooh323_hangup
hanging AvayaIP:1720
+++ ooh323_hangup
--- ooh323_destroy
Destroying AvayaIP:1720
+++ ooh323_destroy



tlombardi
Posts: 12
Member Since:
2006-08-23
mmm. could it be possible to

mmm. could it be possible to send me your chan_h323.so located in the /usr/lib/asterisk/modules directory? i will PM you my email address. How did you install ooh323?



16again
Posts: 235
Member Since:
2007-03-04
This is all I did when I

This is all I did when I upgraded from 2.2 to 2.2.4:

Trixbox backup,
reinstall (=format)
yum -y install tbm-GUIcore
yum -y update
Trixbox restore

I didn't do anything special to get h323 up and running



tlombardi
Posts: 12
Member Since:
2006-08-23
thanks for sending your

thanks for sending your channel driver file. It did not work. I guess its not compiled for my system. I tried to update using yum as you said using:
yum -y install tbm-GUIcore
yum -y update

but the problem persists. What do you mean by
Trixbox backup
reinstall (=format)

are they built in commands?



16again
Posts: 235
Member Since:
2007-03-04
backup and restore are just

backup and restore are just freepbx modules.
I'm on a P3@1GHz

Worth trying: Disable dualcore/hyperthreading in CPU and don't use the smp kernel

Can you dial a not registered H323 client? Just add custom extension using dial like this
OOH323/1234567890@10.a.b.c:1720



iverona
Posts: 81
Member Since:
2006-10-23
Hi all! I need to link my

Hi all!

I need to link my Alcatel OmniPCX Office to an Asterisk PBX, and I am in the search for options. So far I have been looking for SIP or PRI/QSIG, but our alcatel has an old software release, and if I want SIP support we'll need to spend lots of money on software, licenses... you know.

As a "cheap" alternative I would like to try H323 before the other alternatives. I know this is an old thread, but what do you think about this? Should I at least try? My config will be the following:

OXO <--> Trixbox <-SIP-> 25 phones.

Thank you very much. Regards,
Ignacio.



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.