<p>Hello,</p>
<p>&nbsp;</p>
<p>I'm trying to create a H.323 trunk between Asterisk 11 and Avaya. I have done this before between Asterisk 1.6 and Avaya but had some issues placing external calls from the Asterisk to the Public network which is connected to Avaya. I'm trying to create that trunk on Asterisk 11 because the 1.6 is outdated and has no support.</p>
<p>&nbsp;</p>
<p>On the Asterisk side I have Aastra 6731i SIP phones and on the Avaya I'm using only H.323 phones. So far I can call from Asterisk to Avaya but there's no sound and when calling from Avaya to Asterisk the call is dropped.</p>
<p>&nbsp;</p>
<p>Here are my config files:</p>
<p>&nbsp;</p>
<p>sip.config:</p>
<p>[general]<br />allowguest=no<br />srvlookup=no<br />udpbindaddr=192.168.1.252&nbsp;&nbsp;&nbsp;&nbsp; ; IP of the Asterisk box<br />tcpenable=yes&nbsp;&nbsp;&nbsp; ; if I set it to no I can't call between the Aastra phones<br /><br />[office-phone](!)<br />type=friend<br />secret=1234<br />context=LocalSets<br />host=dynamic<br />nat=force_rport,comedia<br />dtmfmode=auto<br />disallow=all<br />allow=alaw<br />allow=ulaw<br />port=5060<br /><br />[426](office-phone)<br />[427](office-phone)</p>
<p>&nbsp;</p>
<p>ooh323.conf:</p>
<p>[general]<br />port=1720<br />bindaddr=0.0.0.0<br />gateway=no<br />canreinvite=no<br />faststart=yes<br />h245tunneling=yes<br />h323id=ObjSysAsterisk<br />e164=100<br />callerid=asterisk<br />gatekeeper = DISABLE<br />context=trunk<br />disallow=all<br />allow=alaw<br />allow=ulaw<br />dtmfmode=outofband<br /><br />[avaya]<br />type=friend<br />ip=192.168.1.150&nbsp;&nbsp;&nbsp; ; IP address of the Avaya<br />port=1720</p>
<p>&nbsp;</p>
<p>extensions.conf:</p>
<p>[general]<br />static=yes<br />writeprotect=no<br />autofallthrough=yes<br />clearglobalvars=no<br /><br />[trunk]<br />exten=&gt;_8xx,1,Dial(OOH323/${EXTEN}@AVAYA)<br />exten=&gt;_426,1,Dial(SIP/${EXTEN})<br />exten=&gt;_427,1,DialIP/${EXTEN})<br /><br />[LocalSets]<br />include=&gt;trunk</p>
<p>&nbsp;</p>
<p>When I try to place a call from Avaya to Asterisk this is what appears on the CLI:</p>
<p>&nbsp;&nbsp;&nbsp; -- Executing [426@trunk:1] Dial("OOH323/avaya-2", "SIP/426") in new stack<br />&nbsp; == Using SIP RTP CoS mark 5<br />&nbsp;&nbsp;&nbsp; -- Called SIP/426<br />&nbsp; == Spawn extension (trunk, 426, 1) exited non-zero on 'OOH323/avaya-2'<br /></p>
<p>When I make a call from Asterisk to Avaya this is the output, the last line appears when I hang the call:</p>
<p>&nbsp; == Using SIP RTP CoS mark 5<br />&nbsp;&nbsp;&nbsp; -- Executing [821@LocalSets:1] Dial("SIP/426-00000003", "OOH323/821@AVAYA") in new stack<br />&nbsp;&nbsp;&nbsp; -- Called OOH323/821@AVAYA<br />&nbsp;&nbsp;&nbsp; -- OOH323/avaya-3 is ringing<br />&nbsp;&nbsp;&nbsp; -- OOH323/avaya-3 answered SIP/426-00000003<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; 0xb6d02370 -- Probation passed - setting RTP source address to 192.168.1.215:3000<br />&nbsp; == Spawn extension (LocalSets, 821, 1) exited non-zero on 'SIP/426-00000003'<br /></p>
<p>Hope you can give me a guide on what to change in order to get this trunk to work.</p>
<p>&nbsp;</p>
<p>Thank you.</p>