elastix
Information
Community
Developers
What We Sell
Forums
Addons
Download
Information
Community
Social Networks
For Developers
Manufacturer Support
Appliances
Training & Certification

H323 not work with Elastix 2.3 Beta or Elastix 2.2

Problems and announcements related to Asterisk

H323 not work with Elastix 2.3 Beta or Elastix 2.2

Postby zahidhasan » Wed Jan 18, 2012 2:22 pm

Dear BOB,

Would you please tell me whether Elastix 2.2 or 2.3 support ooh323 ? I have tried several but failed everytime. Even there is no log in /var/log/asterisk/h323_log


Regards,
Zahid
zahidhasan
Fresh Boarder
Fresh Boarder
 
Posts: 16
Joined: Thu Jun 16, 2011 4:12 pm
Karma: 0

Re:H323 not work with Elastix 2.3 Beta or Elastix 2.2

Postby Bob » Wed Jan 18, 2012 5:47 pm

First just check this command under the CLI
module show like ooh323
you should see the module listed as loaded (although it might not be functional)

Next check this command, this will confirm whether it has loaded correctly
core show channeltypes
it should show up as a channeltype

If not then , you may not have a ooh323.conf in the asterisk directory.

Also the sample file, will need to be modified to add your peer name details...

This is a sample one of the net....

Code: [Select all] [Expand/Collapse] [Download] (Untitled.txt)
;
; [general] section defines global parameters
;
; This is followed by profiles which can be of three types - user/peer/friend
; Name of the user profile should match with the h323id of the user device.
; For peer/friend profiles, host ip address must be provided as "dynamic" is
; not supported as of now.
;
; Syntax for specifying a H323 device in extensions.conf is
; For Registered peers/friends profiles:
;        OOH323/name where name is the name of the peer/friend profile.
;
; For unregistered H.323 phones:
;        OOH323/ip[:port] OR if gk is used OOH323/alias where alias can be any H323
;                          alias
;
; For dialing into another asterisk peer at a specific exten
;       OOH323/exten/peer OR OOH323/exten@ip
;
; Domain name resolution is not yet supported.
;
; When a H.323 user calls into asterisk, his H323ID is matched with the profile
; name and context is determined to route the call
;
; The channel driver will register all global aliases and aliases defined in
; peer profiles with the gatekeeper, if one exists. So, that when someone
; outside our pbx (non-user) calls an extension, gatekeeper will route that
; call to our asterisk box, from where it will be routed as per dial plan.


[general]
;Define the asterisk 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=0.0.0.0   

;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=ObjSysAsterisk
e164=100

;CallerID to use for calls
;Default - Same as h323id
callerid=asterisk

;Whether this asterisk server will use gatekeeper.
;Default - DISABLE
;gatekeeper = DISCOVER
;gatekeeper = a.b.c.d
gatekeeper = DISABLE

;Location for H323 log file
Default = /var/log/asterisk/h323_log
logfile=/var/log/asterisk/h323_log


;Following values apply to all users/peers/friends defined below, unless
;overridden within their client definition

;Sets default context all clients will be placed in.
;Default - default
context=from-external

;Sets rtptimeout for all clients, unless overridden
;Default - 60 seconds
;rtptimeout=60       ; Terminate call if 60 seconds of no RTP activity
                    ; when we're not on hold

;Type of Service
;Default - none (lowdelay, thoughput, reliability, mincost, none)
;tos=lowdelay

;amaflags = default

;The account code used by default for all clients.
;accountcode=h3230101

;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=g729

; dtmf mode to be used by default for all clients. Supports rfc2833, q931keypad
; h245alphanumeric, h245signal.
;Default - rfc 2833
dtmfmode=rfc2833


[YourH323PeerName]
IP = xxx.xxx.xxx.xxx
user=1234
username=1234
secret=1234
port = 1720
type = peer
context = from-external
;dtmfmode = h245alphanumeric
faststart = yes
h245tunneling = yes
disallow = all
allow = g729
dtmfmode=rfc2833
GeSHi ©
http://www.Elastixconnection.com - Website back online - new fresh format
Application guides for Elastix - Fault finding Guides
News and Elastix Links - Security Guides
User avatar
Bob
Administrator
Administrator
 
Posts: 2158
Joined: Sun Nov 04, 2007 1:04 am
Location: Canberra, Australia
Karma: 269

Re:H323 not work with Elastix 2.3 Beta or Elastix 2.2

Postby Bob » Wed Jan 18, 2012 5:50 pm

Just to confirm, as it has been a long while since I used it...

I have put the sample code into my Elastix 2.2 system, and now

core show channeltypes

shows up the H323 ok...

Regards

Bob
http://www.Elastixconnection.com - Website back online - new fresh format
Application guides for Elastix - Fault finding Guides
News and Elastix Links - Security Guides
User avatar
Bob
Administrator
Administrator
 
Posts: 2158
Joined: Sun Nov 04, 2007 1:04 am
Location: Canberra, Australia
Karma: 269

Re:H323 not work with Elastix 2.3 Beta or Elastix 2.2

Postby zahidhasan » Thu Jan 19, 2012 12:42 am

Dear BOB,

Thanks for your reply.
"module show like ooh323" output as follows:
asterisk -rx "module show like ooh323"
Module Description Use Count
chan_ooh323.so Objective Systems H323 Channel 0

"core show channeltypes" output shows that ooh323 is loaded.

Regards,
Zahid
zahidhasan
Fresh Boarder
Fresh Boarder
 
Posts: 16
Joined: Thu Jun 16, 2011 4:12 pm
Karma: 0

Re:H323 not work with Elastix 2.3 Beta or Elastix 2.2

Postby Bob » Thu Jan 19, 2012 4:38 am

Sorry...do you still have an issue, or that has resolved it for you....

If you still have an issue, how are you trying to use the h323 channel (e.g. custom trunk, custom extension???)

Regards

Bob
http://www.Elastixconnection.com - Website back online - new fresh format
Application guides for Elastix - Fault finding Guides
News and Elastix Links - Security Guides
User avatar
Bob
Administrator
Administrator
 
Posts: 2158
Joined: Sun Nov 04, 2007 1:04 am
Location: Canberra, Australia
Karma: 269

Re:H323 not work with Elastix 2.3 Beta or Elastix 2.2

Postby zahidhasan » Tue Jan 24, 2012 2:42 am

Dear Bob,

Thank you very much for your kind reply. I am very sorry for my late reply. However, I am trying with custom trunk. Would you please suggest me how can I get succeed?

Regards,
Zahid
zahidhasan
Fresh Boarder
Fresh Boarder
 
Posts: 16
Joined: Thu Jun 16, 2011 4:12 pm
Karma: 0

Re: H323 not work with Elastix 2.3 Beta or Elastix 2.2

Postby armanbahadori » Sat Sep 14, 2013 5:42 am

Dear Bob

I did what you wrote here and all i did is attached in a word file.
when i connect my device, the device registration getting failed.
should i create a new extension as 1234? if yes what kind of extension? SIP IAX or ...?

Thanks a lot
Regards
Arman
armanbahadori
Fresh Boarder
Fresh Boarder
 
Posts: 6
Joined: Sun Sep 01, 2013 7:22 am
Karma: 0

Re: H323 not work with Elastix 2.3 Beta or Elastix 2.2

Postby armanbahadori » Sat Sep 14, 2013 5:44 am

Dear Bob

I did what you wrote here and all i did is written below.
when i connect my device, the device registration getting failed.
should i create a new extension as 1234? if yes what kind of extension? SIP IAX or ...?

Thanks a lot
Regards
Arman



________________________________________
Module Description Use Count
chan_ooh323.so Objective Systems H323 Channel 0
1 modules loaded



________________________________________
Type Description Devicestate Indications Transfer
---------- ----------- ----------- ----------- --------
USTM UNISTIM Channel Driver no yes no
EXTRA GSM/CDMA Telephony Driver FOR Asterisk w 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 yesyes
DAHDI DAHDI Telephony Driver w/PRI & MFC/R2 yes yes no
GtalkGtalk Channel Driver no yes no
MulticastR Multicast RTP Paging Channel Driver no nono
Bridge Bridge Interaction Channel no nono
MGCP Media Gateway Control Protocol (MGCP) yes yes no
Jingle Jingle Channel Driver no yes no
IAX2 Inter Asterisk eXchange Driver (Ver 2) yes yesyes
Local Local Proxy Channel Driver yes yes no
----------
14 channel drivers registered.

Ooh323.conf
;
; [general] section defines global parameters
;
; This is followed by profiles which can be of three types - user/peer/friend
; Name of the user profile should match with the h323id of the user device.
; For peer/friend profiles, host ip address must be provided as "dynamic" is
; not supported as of now.
;
; Syntax for specifying a H323 device in extensions.conf is
; For Registered peers/friends profiles:
; OOH323/name where name is the name of the peer/friend profile.
;
; For unregistered H.323 phones:
; OOH323/ip[:port] OR if gk is used OOH323/alias where alias can be any H323
; alias
;
; For dialing into another asterisk peer at a specific exten
; OOH323/exten/peer OR OOH323/exten@ip
;
; Domain name resolution is not yet supported.
;
; When a H.323 user calls into asterisk, his H323ID is matched with the profile
; name and context is determined to route the call
;
; The channel driver will register all global aliases and aliases defined in
; peer profiles with the gatekeeper, if one exists. So, that when someone
; outside our pbx (non-user) calls an extension, gatekeeper will route that
; call to our asterisk box, from where it will be routed as per dial plan.


[general]
;Define the asterisk 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=0.0.0.0

;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=ObjSysAsterisk
e164=100

;CallerID to use for calls
;Default - Same as h323id
callerid=asterisk

;Whether this asterisk server will use gatekeeper.
;Default - DISABLE
;gatekeeper = DISCOVER
;gatekeeper = a.b.c.d
gatekeeper = DISABLE

;Location for H323 log file
Default = /var/log/asterisk/h323_log
logfile=/var/log/asterisk/h323_log


;Following values apply to all users/peers/friends defined below, unless
;overridden within their client definition

;Sets default context all clients will be placed in.
;Default - default
context=from-external

;Setsrtptimeout for all clients, unless overridden
;Default - 60 seconds
;rtptimeout=60 ; Terminate call if 60 seconds of no RTP activity
; when we're not on hold

;Type of Service
;Default - none (lowdelay, thoughput, reliability, mincost, none)
;tos=lowdelay

;amaflags = default

;The account code used by default for all clients.
;accountcode=h3230101

;The codecs to be used for all clients.Onlyulaw 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=g729 , gsm

; dtmf mode to be used by default for all clients. Supports rfc2833, q931keypad
; h245alphanumeric, h245signal.
;Default - rfc 2833
dtmfmode=rfc2833


[TBvideoPhone1]
IP = 192.168.22.145
user=1235
username=1235
secret=1235
port = 1720
type = peer
context = from-external
;dtmfmode = h245alphanumeric
faststart = yes
h245tunneling = yes
disallow = all
allow = g729
allow = gsm
dtmfmode=rfc2833
armanbahadori
Fresh Boarder
Fresh Boarder
 
Posts: 6
Joined: Sun Sep 01, 2013 7:22 am
Karma: 0


Return to Asterisk

Who is online

Users browsing this forum: No registered users and 1 guest