H.323, Easy install on Trixbox CE 2.6.1.0

brendandickerson
Posts: 7
Member Since:
2007-12-01

I've been following the H.323 forums for months now, and have always battled trying to get H.323 working properly on Trixbox. Asterisk is no problem, as the addons install easily, and following that you have working Asterisk solution with H.323.

I read the forum "H323 trunks on TB 2.6.0.5 ?" and decided to try this one out on a new installation of TB CE 2.6.1.0. Well it worked perfectly and after 1 small issue, I was placing calls from an H.323 phone to my TB.

Steps are as follows:
1. Install Trixbox 2.6.1.0. (Default install includes addons)
2. Download asterisk-addons-1.4.7.tar.gz from http://downloads.digium.com/pub/asterisk/asterisk-1.4-current.tar...
3. Extract the file and copy the file ..../asterisk-addons-1.4.7/configs/ooh323.conf.sample to /etc/asterisk/ooh323.conf
4. Amportal stop
5. Amportal start
6. Run the asterisk console, asterisk -rvvvvvv
7. Check for available channels, show channeltypes
Result:
trixbox1*CLI> show channeltypes
Type Description Devicestate Indications Transfer
---------- ----------- ----------- ----------- --------
Local Local Proxy Channel Driver yes yes no
IAX2 Inter Asterisk eXchange Driver (Ver 2) yes yes yes
Zap Zapata Telephony Driver w/PRI no yes no
OOH323 Objective Systems H323 Channel Driver no yes no
Phone Standard Linux Telephony API Driver no yes no
Agent Call Agent Proxy Channel yes yes no
SIP Session Initiation Protocol (SIP) yes yes yes
MGCP Media Gateway Control Protocol (MGCP) yes yes no
----------LI>
8 channel drivers registered.

The only problem I had, was that I had forgot to Allow Anonymous Incoming SIP calls, and once I had enables that in the General Settings of FreePABX, I could call all my extensions on my TB.



gonzogg2
Posts: 31
Member Since:
2008-04-07
Allowing Anonymous Incoming

Allowing Anonymous Incoming SIP calls is not a risk for hackers? Also, I follow your steps and the h323 channel is not showing for me.



brendandickerson
Posts: 7
Member Since:
2007-12-01
What version of TB are you

What version of TB are you installing, and which version of Asterisk addons did you download?

I tried my process on an old HP desktop PC and on a VmWare Image on my Latop. Both worked smoothly.



gonzogg2
Posts: 31
Member Since:
2008-04-07
I am using trixbox 2.6.1 and

I am using trixbox 2.6.1 and I downloaded Asterisk 1.4.21.1.

Also the file I found was h323.conf.sample and I renamed ooh323.conf



gonzogg2
Posts: 31
Member Since:
2008-04-07
Now I can see the h323

Now I can see the h323 channel. I was using your link for the download, so I was getting asterisk 1.4.21.1 and no asterisk-addons-1.4.7.tar.gz. Thanks for your help, now I will do some testing.

What about Allowing Anonymous Incoming SIP calls, is not a risk for hackers?



brendandickerson
Posts: 7
Member Since:
2007-12-01
I am using it behind a

I am using it behind a firewall, so I have no need to worry. It just made my testing easier so that I did not have to configure friends or peers. If you disable allow anon sip, then you must get those settings correct, or you will just hear a voice saying that the number is not available.



HeilmaGE
Posts: 5
Member Since:
2008-07-15
VMWare Image

I am using TRIXBOX on my laptop with a VMWare Workstation image. I was wondering if there is a way to add the H.323 functionality to that and, if so, how I would go about doing that. It seems as though from your comment that you got it to work, but I guess the question is where I would put that config file on my laptop? Where is the /etc located when I run it through VMWare Workstation? Thanks so much.

Greg



brendandickerson
Posts: 7
Member Since:
2007-12-01
Use a program like Winscp to

Use a program like Winscp to ftp the file from your laptop onto the virtual server. It will default you to the /root directory, but just change to the / and then the /etc directory.
Copy the file across and then restart the amportal.



HeilmaGE
Posts: 5
Member Since:
2008-07-15
VMWare

That worked. I see the channel. So, I should be able to add an H.323 device. That is good news. Thanks.

Greg



HeilmaGE
Posts: 5
Member Since:
2008-07-15
H.323 Phone Configuration

Thanks again for your help. Is there a guide somewhere which will guide me through configuring TRIXBOX so that I can make call from an H.323 phone to a SIP phone and vice versa? I am not using this with an outside provider. This is simply an internal configuration and I have some SIP phones and a few H.323 handsets. I'd like to see if I can get them to speak to each other. Thanks again.

Greg



brendandickerson
Posts: 7
Member Since:
2007-12-01
H.323 and SIP phones

Just a few questions.

Have you got sip phones registered?
Have you got the sip phones calling each other?
Have you got a H.323 device registered?

If the answer is no to all of these, then you will have to start reading some Trixbox How To docs. The sip phones are normally easy. Just enter the ext no. eg. 101 , and the password.
Then under the registar eneter the ip of your server. Then under freepabx, just add the extensions, and the sip phones should work.



HeilmaGE
Posts: 5
Member Since:
2008-07-15
Phones

I've got the SIP phones registered and they call back and forth without any problem, whatsoever. I'm looking more for some guidance on the H.323 device. Should I just register it with the MAC address like I did with the SIP phones? If there is a how-to on setting up an H.323 phone and getting it to call a SIP phone and vice versa, I don't mind doing that either.

Thanks again,
Greg



brendandickerson
Posts: 7
Member Since:
2007-12-01
Setting up H.323 devices

One of simplest ways will be to setup a custom trunk for each H.323 phone. The format is roughly as follows:

OOH323/$OUTNUM$@XX.XX.XX.XX:XXXX

See the following forum:

http://www.trixbox.org/forums/trixbox-forums/h-323/h-323-trixbox

Some guys got it working. As I do not have any H.323 devices, I have only used soft phones for testing.



infinity_1
Posts: 4
Member Since:
2008-08-28
copy the file

copy the file ..../asterisk-addons-1.4.7/configs/ooh323.conf.sample to /etc/asterisk/ooh323.conf

how can i do this step?



lor1ner
Posts: 11
Member Since:
2007-09-12
RE:copy the file

You can use
cp .../asterisk-addons-1.4.7/configs/ooh323.conf.sample /etc/asterisk/ooh323.conf
if this didn't work try 'cp -f' command.



vjfromgt
Posts: 192
Member Since:
2006-11-11
Does 2.6.1 come with Gui for

Does 2.6.1 come with Gui for H323 ?
How do I add a H323 trunk or extension?



dcitelecom
Posts: 105
Member Since:
2008-10-04
I am trying to send H323

I am trying to send H323 calls from Cisco to trixbox and can't get it to work. I have 00h323.conf installed and it shows H323 functionality but calls simply don't register on my server. On the Cisco side I see the calls fail with IP 0.0.0.0 which means it could not negotiate the call and on the Asterisk side I see nothing in the log even with Verbosity = 10. Can you send me your ooh323.conf and the relevant sections of extensions.conf so I can see what I am doing wrong?



Comment viewing options

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