Difference between revisions of "HOWTO SET UP TRIXBOX AS H323 GATEWAY"

From TD-er's Wiki
Jump to navigationJump to search
m
Line 1: Line 1:
 
 
== SIP to H323 ==
 
== SIP to H323 ==
  
Line 5: Line 4:
 
This is the stepwise procedure to set up a VoIP communication from a SIP client to a H323 client.
 
This is the stepwise procedure to set up a VoIP communication from a SIP client to a H323 client.
  
* Start your gatekeeper. For Gnugk do
+
* Start your gatekeeper. For Gnugk do on a command line
 
  gnugk -ttt -rr
 
  gnugk -ttt -rr
  
Line 31: Line 30:
 
  amportal start
 
  amportal start
  
Your gatekeeper should produce output telling you that ObjSysAsterisk is registering. ObjSysAsterisk is the h323id of the trixbox as specified in ooh323.conf. (If for some reason you want to register more trixboxes with the gatekeeper you should give each of them a unique h323id in ooh323.conf).
+
Your gatekeeper should produce output on the command line telling you that ObjSysAsterisk is registering.
  
* Open your X-lite and configure it like you always would
+
ObjSysAsterisk is the h323id of the trixbox as specified in ooh323.conf. (If for some reason you want to register more trixboxes with the gatekeeper you should give each of them a unique h323id in ooh323.conf).
 +
 
 +
* Open your X-lite and configure it like you always would for a given TrixBox
 
* Open Gnomemeeting:
 
* Open Gnomemeeting:
 
* Goto Edit -> Preferences -> H323 settings -> Gatekeeper settings
 
* Goto Edit -> Preferences -> H323 settings -> Gatekeeper settings
 
  Registering method: Gatekeeper host
 
  Registering method: Gatekeeper host
  Gatekeeper host: xxx.xxx.xxx.xxx (ip address of your gatekeeper)
+
  Gatekeeper host: xxx.xxx.xxx.xxx (fill in the IP address of your gatekeeper)
 
  Gatekeeper alias: 601 (number of your h323 extension as you registered it in FreePBX)
 
  Gatekeeper alias: 601 (number of your h323 extension as you registered it in FreePBX)
 
  Check: register this alias as the primary alias with the gatekeeper
 
  Check: register this alias as the primary alias with the gatekeeper
 
  Click on Apply
 
  Click on Apply
Your gatekeeper should produce output telling you that extension 601 is registering.
+
Your gatekeeper should now produce output on the command line telling you that extension 601 (with the personal data you filled in) is registering.
  
 
* Go to your X-lite and dial 601
 
* Go to your X-lite and dial 601
 +
 +
At this point the H323 client Gnomemeeting should ring; after accepting the VoIP call, the conversation can start :)

Revision as of 14:21, 16 March 2007

SIP to H323

This is the stepwise procedure to set up a VoIP communication from a SIP client to a H323 client.

  • Start your gatekeeper. For Gnugk do on a command line
gnugk -ttt -rr
  • Start asterisk
  • Make sure the file ooh323.conf is present in /etc/asterisk
  • In ooh323.conf you have to change:
gateway = yes
gatekeeper = xxx.xxx.xxx.xxx (ip address of your gatekeeper)

In FreePBX -> Setup -> Extensions:

  • Create a SIP extension (e.g. extension 501)
  • Create a Custom extension:
Extension number: 601
Displayname: Anneke h323
Dial: OOH323/601@129.125.71.172 (ip-address of machine where extension can be found)

(Our convention is to have our SIP extensions in the 5xx range, and H323 extension in the 6xx range).

(Asterisk saves these extensions in the file extensions_additional.conf in the [ext-local] context).

  • At asterisk prompt
amportal stop
amportal start

Your gatekeeper should produce output on the command line telling you that ObjSysAsterisk is registering.

ObjSysAsterisk is the h323id of the trixbox as specified in ooh323.conf. (If for some reason you want to register more trixboxes with the gatekeeper you should give each of them a unique h323id in ooh323.conf).

  • Open your X-lite and configure it like you always would for a given TrixBox
  • Open Gnomemeeting:
  • Goto Edit -> Preferences -> H323 settings -> Gatekeeper settings
Registering method: Gatekeeper host
Gatekeeper host: xxx.xxx.xxx.xxx (fill in the IP address of your gatekeeper)
Gatekeeper alias: 601 (number of your h323 extension as you registered it in FreePBX)
Check: register this alias as the primary alias with the gatekeeper
Click on Apply

Your gatekeeper should now produce output on the command line telling you that extension 601 (with the personal data you filled in) is registering.

  • Go to your X-lite and dial 601

At this point the H323 client Gnomemeeting should ring; after accepting the VoIP call, the conversation can start :)