<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18928"></HEAD>
<BODY>
<DIV><SPAN class=049110314-31082010><FONT size=2 face=Arial>Hi
all,</FONT></SPAN></DIV>
<DIV><SPAN class=049110314-31082010><FONT size=2 face=Arial>I'm rather new to
freeswitch, and i'm trying to setup FS (version 1.0.6) as sip-h323 gateway
between sipX and avaya ip406.</FONT></SPAN></DIV>
<DIV><SPAN class=049110314-31082010></SPAN><SPAN class=049110314-31082010><FONT
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=049110314-31082010><FONT size=2 face=Arial>I have teh following
test setup:</FONT></SPAN></DIV>
<DIV><SPAN class=049110314-31082010><FONT size=2 face=Arial>sipX 172.23.9.2
beaver.sip.nstel.ru with extension 2853 (linksys spa 942
phone)</FONT></SPAN></DIV>
<DIV><SPAN class=049110314-31082010><FONT size=2 face=Arial>Freeswitch
172.23.22.49 fs.lab.nstel.ru with extension 2854 (xlite)</FONT></SPAN></DIV>
<DIV><SPAN class=049110314-31082010><FONT size=2 face=Arial>avaya ip406 with
extension 5840</FONT></SPAN></DIV>
<DIV><SPAN class=049110314-31082010><FONT size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=049110314-31082010><FONT size=2 face=Arial>When i call 2853
-> 5840 i can hear ringback tone and voice is ok.</FONT></SPAN></DIV>
<DIV><SPAN class=049110314-31082010><FONT size=2 face=Arial>When calling 5840
-> 2854, rbt and voice is ok.</FONT></SPAN></DIV>
<DIV><SPAN class=049110314-31082010><FONT size=2 face=Arial>When calling 2854
-> 2853, rbt and voice is ok.</FONT></SPAN></DIV>
<DIV><SPAN class=049110314-31082010><FONT size=2 face=Arial>When calling 5840
-> 2853, 2853 phone rings, there is no rbt, but voice is ok after
answer.</FONT></SPAN></DIV>
<DIV><SPAN class=049110314-31082010><FONT size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=049110314-31082010><FONT size=2 face=Arial>I have the following
h323.conf file: </FONT></SPAN></DIV>
<DIV><SPAN class=049110314-31082010><FONT size=2
face=Arial>[freeswitch@freeswitch autoload_configs]$ cat
h323.conf.xml<BR><configuration name="h323.conf" description="Opal(h323)
Endpoints"><BR> <settings><BR> <param
name="trace-level" value="4"/><BR> <param name="context"
value="default"/><BR> <param name="dialplan"
value="XML"/><BR> <param name="codec-prefs"
value="PCMA"/><BR> <param name="gk-address"
value=""/> <!-- empty to disable, "*" to search LAN
--><BR> <param name="gk-identifer" value=""/>
<!-- optional name of gk --><BR> <param
name="gk-interface" value=""/> <!-- optional listener interface name
--><BR> </settings><BR>
<listeners><BR> <listener
name="h323-listener"><BR> <param
name="h323-ip" value="$${local_ip_v4}"/><BR>
<param name="h323-port" value="1720"/><BR>
</listener><BR>
</listeners><BR></configuration><BR></FONT></SPAN></DIV>
<DIV><SPAN class=049110314-31082010><FONT size=2 face=Arial>in the default.xml
dialplan i have default "Local_Extension" (with the only addition of a single
number 2854 to be matched).</FONT></SPAN></DIV>
<DIV><SPAN class=049110314-31082010><FONT size=2 face=Arial>below
Local_Extension i send 28xx numbers to sipx as following:</FONT></SPAN></DIV>
<DIV><SPAN class=049110314-31082010><FONT size=2 face=Arial> <extension
name="beaver"><BR> <condition field="destination_number"
expression="^(28[0-9]{2})$"><BR> <action
application="set"
data="effective_caller_id_number=${outbound_caller_id_number}"/><BR>
<action application="set"
data="effective_caller_id_name=${outbound_caller_id_name}"/><BR>
<action application="bridge" data="<A
href='mailto:sofia/external/$1@beaver.sip.nstel.ru:5080"/'>sofia/external/$1@beaver.sip.nstel.ru:5080"/</A>><BR>
</condition><BR> </extension><BR></FONT></SPAN></DIV>
<DIV><SPAN class=049110314-31082010><FONT size=2 face=Arial>FS logs for 5840
-> 2854 (rbt and voice ok) and 5840 -> 2853 (no rbt, voice ok) are
attached.</FONT></SPAN></DIV>
<DIV><SPAN class=049110314-31082010><FONT size=2 face=Arial>In the log files i
can see the moment when FS starts playing RBT into h323 channel in case 5840
-> 2854 call.</FONT></SPAN></DIV>
<DIV><SPAN class=049110314-31082010><FONT size=2 face=Arial>And i see that FS
does not do it in case of 5840 -> 2853 call.</FONT></SPAN></DIV>
<DIV><SPAN class=049110314-31082010><FONT size=2 face=Arial>But i can not see
why...</FONT></SPAN></DIV>
<DIV><SPAN class=049110314-31082010><FONT size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=049110314-31082010><FONT size=2 face=Arial>Probably i
misconfigured something... </FONT></SPAN></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=049110314-31082010></SPAN><SPAN
class=049110314-31082010>Can anybody please help with this
problem?</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=049110314-31082010></SPAN></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=049110314-31082010>Thanks in
advance,</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=049110314-31082010>Nikolay.</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=049110314-31082010></SPAN></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=049110314-31082010></SPAN></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=049110314-31082010> </DIV></SPAN></FONT></FONT></BODY></HTML>