<div>OOH323 Debugging Enabled<br>&nbsp;&nbsp;&nbsp; -- Executing Answer(&quot;SIP/3513-090f7d40&quot;, &quot;&quot;) in new stack<br>&nbsp;&nbsp;&nbsp; -- Executing Wait(&quot;SIP/3513-090f7d40&quot;, &quot;1&quot;) in new stack<br>&nbsp;&nbsp;&nbsp; -- Executing DeadAGI(&quot;SIP/3513-090f7d40&quot;, &quot;
a2billing.php|1&quot;) in new stack<br>&nbsp;&nbsp;&nbsp; -- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php<br>&nbsp; a2billing.php|1: line:58 - IDCONFIG : 1 <br>&nbsp; a2billing.php|1: <br>&nbsp; a2billing.php|1: line:67 - MODE : standard 
<br>&nbsp; a2billing.php|1: <br>&nbsp;&nbsp;&nbsp; -- AGI Script Executing Application: (Dial) Options: (<a href="mailto:OOH323/12127773456@OOH323|60|HLxyz(5400000:31000:00000">OOH323/12127773456@OOH323|60|HLxyz(5400000:31000:00000</a>))<br>
---&nbsp;&nbsp; ooh323_request - data <a href="mailto:12127773456@OOH323">12127773456@OOH323</a> format 0x4 (ulaw)<br>---&nbsp;&nbsp; find_peer<br>+++&nbsp;&nbsp; find_peer<br>+++&nbsp;&nbsp; ooh323_request<br>---&nbsp;&nbsp; ooh323_call- <a href="mailto:12127773456@OOH323">
12127773456@OOH323</a><br>+++&nbsp;&nbsp; ooh323_call<br>&nbsp;&nbsp;&nbsp; -- Called <a href="mailto:12127773456@OOH323">12127773456@OOH323</a><br>Segmentation fault (core dumped)<br>[root@asterisk1 ~]# <br><br>&nbsp;</div>
<div>show version<br>Asterisk <a href="http://1.2.12.1">1.2.12.1</a> built by root @ localhost.localdomain on a i686 running Linux on 2006-10-18 18:35:57 UTC<br>&nbsp;</div>
<div>
<p>; Objective System's H323 Configuration example for Asterisk<br>; ooh323c driver configuration<br>;<br>; [general] section defines global parameters<br>;<br>; This is followed by profiles which can be of three types - user/peer/friend
<br>; Name of the user profile should match with the h323id of the user device.<br>; For peer/friend profiles, host ip address must be provided as &quot;dynamic&quot; is<br>; not supported as of now.<br>;<br>; Syntax for specifying a H323 device in 
extensions.conf is<br>; For Registered peers/friends profiles:<br>;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OOH323/name where name is the name of the peer/friend profile.<br>;<br>; For unregistered H.323 phones:<br>;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OOH323/ip[:port] OR if gk is used OOH323/alias where alias can be any H323
<br>;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; alias<br>;<br>; For dialing into another asterisk peer at a specific exten<br>;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OOH323/exten/peer OR <a href="mailto:OOH323/exten@ip">OOH323/exten@ip</a><br>;<br>; Domain name resolution is not yet supported.
<br>; <br>; When a H.323 user calls into asterisk, his H323ID is matched with the profile<br>; name and context is determined to route the call<br>;<br>; The channel driver will register all global aliases and aliases defined in 
<br>; peer profiles with the gatekeeper, if one exists. So, that when someone<br>; outside our pbx (non-user) calls an extension, gatekeeper will route that <br>; call to our asterisk box, from where it will be routed as per dial plan.
</p>
<p><br>[general]<br>;Define the asetrisk server h323 endpoint</p>
<p>;The port asterisk should listen for incoming H323 connections.<br>;Default - 1720<br>port=1720</p>
<p>;The dotted IP address asterisk should listen on for incoming H323<br>;connections<br>;Default - tries to find out local ip address on it's own<br>bindaddr=<a href="http://213.138.36.153">213.138.36.153</a>&nbsp;&nbsp;&nbsp; </p>
<p>;This parameter indicates whether channel driver should register with <br>;gatekeeper as a gateway or an endpoint.<br>;Default - no<br>gateway=yes</p>
<p>;Whether asterisk should use fast-start and tunneling for H323 connections.<br>;Default - yes<br>faststart=no<br>;h245tunneling=yes</p>
<p><br>;H323-ID to be used for asterisk server<br>;Default - Asterisk PBX<br>h323id=ObjSysAsterisk <br>;e164=100</p>
<p>;CallerID to use for calls<br>;Default - Same as h323id<br>callerid=asterisk</p>
<p>;Whether this asterisk server will use gatekeeper.<br>;Default - DISABLE<br>;gatekeeper = DISCOVER<br>gatekeeper = <a href="http://213.138.36.153">213.138.36.153</a><br>;gatekeeper = DISABLE</p>
<p>;Location for H323 log file<br>;Default - /var/log/asterisk/h323_log<br>logfile=/var/log/asterisk/h323_log</p>
<p><br>;Following values apply to all users/peers/friends defined below, unless<br>;overridden within their client definition</p>
<p>;Sets default context all clients will be placed in.<br>;Default - default<br>context=default</p>
<p>;Sets rtptimeout for all clients, unless overridden<br>;Default - 60 seconds<br>;rtptimeout=60&nbsp;&nbsp;&nbsp;&nbsp; ; Terminate call if 60 seconds of no RTP activity<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; when we're not on hold</p>
<p>;Type of Service<br>;Default - none (lowdelay, thoughput, reliability, mincost, none)<br>;tos=none</p>
<p>;amaflags = default</p>
<p>;The account code used by default for all clients.<br>;accountcode=h3230101</p>
<p>;The codecs to be used for all clients.Only ulaw and gsm supported as of now.<br>;Default - ulaw<br>; ONLY ulaw, gsm, g729 and g7231 supported as of now<br>allow=all&nbsp;&nbsp;&nbsp;&nbsp; ;Note order of disallow/allow is important.<br>
;allow=g729<br>;allow=ulaw</p>
<p><br>; dtmf mode to be used by default for all clients. Supports rfc2833, q931keypad<br>; h245alphanumeric, h245signal.<br>;Default - rfc 2833<br>dtmfmode=rfc2833</p>
<p>; User/peer/friend definitions:<br>; User config options&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Peer config options<br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nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; email<br>;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; url<br>;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; e164
<br>;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rtptimeout</p>
<p>;</p>
<p>;Define users here<br>;Section header is extension<br>;[myuser1]<br>;type=user<br>;context=context1<br>;disallow=all<br>;allow=gsm<br>;allow=ulaw&nbsp;&nbsp;&nbsp; </p>
<p>&nbsp;</p>
<p>[dol_h323]<br>type=peer<br>ip=<a href="http://83.66.50.2">83.66.50.2</a>&nbsp;&nbsp; ; UPDATE with appropriate ip address<br>port=1720&nbsp;&nbsp;&nbsp; ; UPDATE with appropriate port<br>disallow=all<br>allow=g729</p>
<p>;[myfriend1]<br>;type=friend<br>;context=default<br>;ip=<a href="http://10.0.0.82">10.0.0.82</a>&nbsp;&nbsp; ; UPDATE with appropriate ip address<br>;port=1820&nbsp;&nbsp;&nbsp; ; UPDATE with appropriate port<br>;disallow=all<br>;allow=ulaw<br>
;e164=12345<br>;rtptimeout=60<br>;dtmfmode=rfc2833</p></div>