H323 Trunk, how to configure

21 posts / 0 new
Last post
snoozer
snoozer's picture
H323 Trunk, how to configure

hi,

i got a trial account of a small voip provider which is only the information that it has to be configured as a H323 trunk, and ip address and usernam and password. i know it can be done as a custom trunk.

H323/$OUTNUM$@xxx.xxx.xxx.xxx

the x representing the ip address. but i cant see where to put the username and password.

any advice ?

Regards
Jan

mdelport
mdelport's picture
I also need H323

Hi

Yes, I too have a provider that only runs H323. I am currently running FreePBX 2.4.0 and need to know what can be done so I can receive H323 calls on my system.

Hope there is somebody out there with a solution.

Regards

Morne

as_bat
as_bat's picture
I need to connect an Avaya

I need to connect an Avaya Communication Manager to an Elastix 1.3-2 using an H323 trunk.
Can somebody tell me how to do this step by step?
Thanks

fskrotzki
fskrotzki's picture
as_bat, I take it you didn't

as_bat, I take it you didn't try and google today?

asterisk connect to an Avaya using H323 trunk

will get you 4 good posts in the first 10 displayed.

as_bat
as_bat's picture
I did google, today, last

I did google, today, last friday and last thursday.
But I´m new to Elastix, and each answer I find brings more questions.

fskrotzki
fskrotzki's picture
http://cyril-constantin.blogs

http://cyril-constantin.blogspot.com/2008/04/howto-connect-avaya-to-asterisk.html

You just can't edit extensions.conf, sip.conf Put the stuff in the *_custom.conf files instead.

h323 is not a generalized interface that is exposed as such so you'll have to hand edit several files.

as_bat
as_bat's picture
I did everything you told me

I did everything you told me in your step by step guide (BTW thank you!!!) but I still can´t call from one elastix extension to an avaya extension or viceversa.
I suspect that the channeltypes has something to do with it.

Type Description Devicestate Indications Transfer
---------- ----------- ----------- ----------- --------
MGCP Media Gateway Control Protocol (MGCP) yes yes no
IAX2 Inter Asterisk eXchange Driver (Ver 2) yes yes yes
OOH323 Objective Systems H323 Channel Driver no yes no
Zap DAHDI Telephony Driver w/PRI no yes no
Agent Call Agent Proxy Channel yes yes no
SIP Session Initiation Protocol (SIP) yes yes yes
Phone Standard Linux Telephony API Driver no yes no
Local Local Proxy Channel Driver yes yes no
----------
8 channel drivers registered.

Should I have a h323 device or the ooh323 is enough?
Should it be up (yes) the same way the SIP or IAX2 are now?

rejackson
rejackson's picture
So what other files need to be edited?

I have your blog post and it really helped with the Avaya config but I am lost in the asterisk config under freepbx. It is much easier to follow without the freepbx but thats what I have for now.

How do we expose the H323 protocol? I created the H323.conf file and I put the extension config in extensions_custom.conf. What context do we reference in the h323.conf file? Since freepbx has control over that I dont know what to put in there under general and avaya.

Once it is configured correctly will the avaya system show the trunk up all the time (stat trunk) or just when a call is active?

as_bat
as_bat's picture
Double post, sorry

Double post, sorry

mwilson75
mwilson75's picture
I've got a bunch of Avaya

I've got a bunch of Avaya 5610 phones that I'd like to use with a working Asterisk 1.6.0.6 box. I compiled with h323, got all my sip trunks, routes and phones working and then I hit a brick will with h323.

I created a custom trunk H323/$OUTNUM$@192.168.2.25:1720 and a basic h323.conf but the phone can't "Discover" my Asterisk box.

I have used these phones on an Avaya IPOffice so I know they work and how to point them to the PBX but they don't see it or vice versa.

This seems pretty basic compared to some of the stuff you guys are doing. Can anyone give me a step by step or at least tell me how to verify that h323 is working on asterisk??

Thanks

Michael

fskrotzki
fskrotzki's picture
Do you have iptables running

Do you have iptables running (or another firewall inbetween) and if so did you open up all the ports needed for the h323 protocol?

mwilson75
mwilson75's picture
Thanks for your response

- iptables is not running
- Firewall is off...Selinux is disabled.
- The h323 phone is on the same subnet.
- The phone can access tftp to get it's updates and config
- I can contact the pbx with Netmeeting so I think h323 is alive
- The phone (Avaya 5610) stops at discover 192.168.2.25 (asterisk box IP)
- When I look at "channels" using freePBX gui I do not see an h323 channel
- I have a "custom" trunk definition in FreePBX gui, it has this in the "custom dial string" H323/$OUTNUM$@192.168.2.25:1720
- I have a h323.conf based on someone else's working config

I am not trying to connect asterisk to an Avaya PBX. I am only trying to use some donated Avaya h323 phones to help out a non-profit.

Any other thoughts?

mwilson75
mwilson75's picture
h323.conf - thought it might help

[general]
port=1720
bindaddr=192.168.2.25
gateway=no
h323id=ObjSysAsterisk
e164=100
callerid=asterisk
gatekeeper=DISABLE
context=default
rtptimeout=3
disallow=all
allow=ulaw
dtmfmode=rfc2833

[9005]
context=default
type=friend
username=9005
secret=9005

fskrotzki
fskrotzki's picture
What versions of ...

What versions of FreePBX and asterisk are you using? I'm no h323 expert but in quickly searching there seems to be severla different versions that have come out over time so knowing the versions here will be important.

mwilson75
mwilson75's picture
Asterisk is 1.6.0.6 FreePBX

Asterisk is 1.6.0.6
FreePBX is 2.5.1
PWLib is 1.8??
H323 NOT OH323 is the 2nd to last stable release not sure on the number

fskrotzki
fskrotzki's picture
I went digging for a while

I went digging for a while last night on finding support for those phones, h323 and asterisk. While it looks like it should just work based on just configuring the protocol. I could not find any real solid info to point you to on how to go about it or what values are required versus optional.

I'd recommend trying the #asterisk IRC channel and/or the Asterisk forums for support. I don't know the h323 protocol and what it all needs to know what details are really needed for setting it up properly.

If you go to these sources try and not mention FreePBX as they frown on automated systems where the admin does not really know all the details of each line of the dial plan. It should not be a problem currently as you really need help in configuring protocol and the phone not the dial plan.

If you figure it out I'd ask that you post it back here and any notes to help the next person out.

Good luck.

mwilson75
mwilson75's picture
Thanks

I am a newbie on Asterisk, thus the FreePBX interface. The other reason was a dead-line that has long since passed. I had to go with a used digital phone system for my non-profit, foreclosure assistance friends.

I am not a Linux newb and got my 1st taste around 1994 when I downloaded about 96 Slackware floppy images so I thought I would give it (asterisk) a shot.

Either way I am going to keep the Asterisk system I created here at the house and drop my home phone analog service. It's a kick to have extensions, voicemail and all the features of a good VOIP system at home.

I will take your advice and pose as a hardcore, asterisk hound on some of these other channels.

AND,...I will definitely post a "step by step" solution here if I figure it out or get some answers,

Thanks Again,

Michael

mwilson75
mwilson75's picture
Since you seem to know Asterisk in spite of h323

I had everything working but h323 before I started fighting that battle and I broke something. Now I can't answer incoming calls or get them to go to voice mail. If I call the asterisk box from my cell the phones ring, but when I pick them up it keeps ringing.

My gut says this is something simple. I'm ready to give up on the GUI and learn the .conf text language.

My SIP trunk provider is "Callcentric" if that helps.

Again:

Asterisk 1.6.0.6

3 Soft Phones from X-lite

1 hard phone from Grandstream

Outbound calling works beautifully

internal ext to ext works perfectly

Inbound calling is a mess.

I have 4 phones
2 ring groups
hopefully an IVR
I want a "parking" lot and queues someday

Do you know where I might find a good Sample config to learn and build from??

fskrotzki
fskrotzki's picture
sounds like you have a

sounds like you have a messed up inbound route someplace. Try deleting all the inbounds to start and re-create jsut what is needed.

Also post a log as it's hard to guess without seeing what is actually happening.

mwilson75
mwilson75's picture
believe it or not my SIP

believe it or not my SIP trunk provider, Callcentric gave me the fix.

sip_general_custom.conf add

session-timers=refuse

They really rock. Most of my experience with vendors in 19 years of Info Tech has been about proving I didn't do something wrong before they would help me. These guys assumed nothing and looked at almost every one of my .conf files + debug data from the CLI.

I was tempted to ask them about my h323 issues.

Thank You! fskrotzki for your input too. I will figure out this h323 thing someday and send you the details.

Michael

m_aprado
m_aprado's picture
AVAYA IP Office with Elastix by h323 trunk

Hi,
I'm new using Elastix platform. Somebody can guide me how to configure h323 trunks in Elastix. I need to link an IPO406 via H323 against Elastix. If you post a link to investigate it, I'll apreciate it. thanks.

Mauro.