<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1250">


<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PlaceType"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PlaceName"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="Street"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="address"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I just tried all of that.. Still no
luck.&nbsp; I even made sure the UA&#8217;s were using ports 10000 and higher.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Any other suggestions?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><br>
marc<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> Ali Zaidi
[mailto:aligzaidi@gmail.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Monday, July 24, 2006 4:56
PM<br>
<b><span style='font-weight:bold'>To:</span></b> Marc Rys<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [Serusers]
SER/MediaProxy Audio issues - NEED HELP</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Marc,<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Ok, try restarting ser + MySQL + MediaProxy then reregister your both
ATA.<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>let me know,<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Ali<br>
<br>
&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><span class=gmailquote><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>On 7/24/06, <b><span style='font-weight:bold'>Marc Rys</span></b>
&lt;<a href="mailto:m.rys@ivalve.net">m.rys@ivalve.net</a>&gt; wrote:</span></font></span>
<o:p></o:p></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>Ali,<br>
<br>
Thank you for helping.&nbsp;&nbsp;I've changed my mediaproxy.ini file to the
following.&nbsp;&nbsp;But the one way audio is still happening. <br>
<br>
Marc<br>
<br>
-----------------------------------------------------------<br>
Mediaproxy.ini<br>
-----------------------------------------------------------<br>
<br>
[Dispatcher]<br>
;start = yes<br>
socket = /var/run/proxydispatcher.sock <br>
;group = ser<br>
defaultProxy = /var/run/mediaproxy.sock<br>
<br>
[MediaProxy]<br>
start = yes<br>
socket = /var/run/mediaproxy.sock<br>
group = ser<br>
listen = None<br>
allow = None<br>
proxyIP = <a href="http://12.178.142.235">12.178.142.235</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#
This is where OpenSER installed<br>
portRange = 10000:10100<br>
TOS = 0xb8<br>
idleTimeout = 60<br>
holdTimeout = 180<br>
forceClose = 0<br>
accounting = off<br>
<br>
[Accounting]<br>
user = root<br>
password = <br>
host = localhost<br>
database = ser<br>
table = acc<br>
<br>
<br>
<br>
________________________________________<br>
From: Ali Zaidi [mailto:<a href="mailto:aligzaidi@gmail.com">aligzaidi@gmail.com</a>]<br>
Sent: Monday, July 24, 2006 4:40 PM <br>
To: Marc Rys<br>
Subject: Re: [Serusers] SER/MediaProxy Audio issues - NEED HELP<br>
<br>
Marc,<br>
<br>
Mediaproxy.ini has not RTP ports declare.<br>
;portRange = 2000:8000 # These values are set same in ATA's configs &lt;-
2000:8000 range conflict with 5060. <br>
<br>
Try following,<br>
portRange = 10000:10100<br>
then restart mediaproxy.<br>
Let me know if you still have problem, i can help further.<br>
Ali...<br>
<br>
<br>
<br>
<br>
<br>
On 7/24/06, Marc Rys &lt;<a href="mailto:m.rys@rystec.com"> m.rys@rystec.com</a>&gt;
wrote:<br>
Hello All,<br>
<br>
I'm fairly new to SER / Mediaproxy.I've been following the examples from<br>
<a href="http://onsip.org">onsip.org</a> using the latest Getting started docs.<br>
<br>
At this point I'm testing with two Grandstream Handytone 486 UA' s.One<br>
NAT'd, one not.<br>
<br>
Please check out the following URL to see a diagram explaining my setup.<br>
<a href="http://marc.ivalve.net/ser/gif_1.gif">http://marc.ivalve.net/ser/gif_1.gif</a><br>
<br>
&quot;UA-2&quot; cannot hear anything spoken from &quot;UA-1&quot;, although I
can hear what is <br>
said from &quot;UA-2&quot; on &quot;UA-1&quot;, but not vice versa.2-way voice
is not<br>
happening.<br>
<br>
Both UA's do register to SER.The NAT'd UA couldn't register until I got<br>
Mediaproxy installed.Mediaproxy does appear to start with out errors. <br>
Below are my Ser.cfg and Mediaproxy.ini.<br>
<br>
Please Help.<br>
<br>
Marc<br>
<br>
<br>
<br>
Ser.cfg<br>
--------------------------------------------------------------<br>
#5a-mysql-mediaproxy-ser.cfg<br>
debug=3<br>
fork=yes<br>
log_stderror=no<br>
<br>
listen=XXX.XXX.XXX.235 # INSERT YOUR IP ADDRESS HERE<br>
port=5060<br>
children=4<br>
<br>
dns=no<br>
rev_dns=no<br>
fifo=&quot;/tmp/ser_fifo&quot;<br>
fifo_db_url=&quot;mysql://ser:heslo@localhost/ser&quot; <br>
<br>
<br>
loadmodule &quot;/usr/lib/ser/modules/mysql.so&quot;<br>
loadmodule &quot;/usr/lib/ser/modules/sl.so&quot;<br>
loadmodule &quot;/usr/lib/ser/modules/tm.so&quot;<br>
loadmodule &quot;/usr/lib/ser/modules/rr.so&quot; <br>
loadmodule &quot;/usr/lib/ser/modules/maxfwd.so&quot;<br>
loadmodule &quot;/usr/lib/ser/modules/usrloc.so&quot;<br>
loadmodule &quot;/usr/lib/ser/modules/registrar.so&quot;<br>
loadmodule &quot;/usr/lib/ser/modules/auth.so&quot; <br>
loadmodule &quot;/usr/lib/ser/modules/auth_db.so&quot;<br>
loadmodule &quot;/usr/lib/ser/modules/uri.so&quot;<br>
loadmodule &quot;/usr/lib/ser/modules/uri_db.so&quot;<br>
loadmodule &quot;/usr/lib/ser/modules/domain.so&quot; <br>
loadmodule &quot;/usr/lib/ser/modules/mediaproxy.so&quot;<br>
loadmodule &quot;/usr/lib/ser/modules/nathelper.so&quot;<br>
loadmodule &quot;/usr/lib/ser/modules/textops.so&quot;<br>
<br>
modparam(&quot;auth_db|uri_db|usrloc&quot;, &quot;db_url&quot;, <br>
&quot;mysql://ser:heslo@localhost/ser&quot;)<br>
modparam(&quot;auth_db&quot;, &quot;calculate_ha1&quot;, 1)<br>
modparam(&quot;auth_db&quot;, &quot;password_column&quot;,
&quot;password&quot;)<br>
<br>
modparam(&quot;nathelper&quot;, &quot;rtpproxy_disable&quot;, 1) <br>
modparam(&quot;nathelper&quot;, &quot;natping_interval&quot;, 0)<br>
<br>
modparam(&quot;mediaproxy&quot;,&quot;natping_interval&quot;, 30)<br>
modparam(&quot;mediaproxy&quot;,&quot;mediaproxy_socket&quot;,
&quot;/var/run/mediaproxy.sock&quot;) <br>
modparam(&quot;mediaproxy&quot;,&quot;sip_asymmetrics&quot;,&quot;/etc/ser/sip-clients&quot;)<br>
modparam(&quot;mediaproxy&quot;,&quot;rtp_asymmetrics&quot;,&quot;/etc/ser/rtp-clients&quot;)<br>
<br>
modparam(&quot;usrloc&quot;, &quot;db_mode&quot;, 2) <br>
<br>
modparam(&quot;registrar&quot;, &quot;nat_flag&quot;, 6)<br>
<br>
modparam(&quot;rr&quot;, &quot;enable_full_lr&quot;, 1)<br>
<br>
route {<br>
<br>
#<br>
------------------------------------------------------------------------ <br>
# Sanity Check Section<br>
#<br>
------------------------------------------------------------------------<br>
<br>
if (!mf_process_maxfwd_header(&quot;10&quot;)) {<br>
sl_send_reply(&quot;483&quot;, &quot;Too Many Hops&quot;); <br>
break;<br>
};<br>
<br>
if (msg:len &gt; max_len) {<br>
sl_send_reply(&quot;513&quot;, &quot;Message Overflow&quot;);<br>
break;<br>
};<br>
<br>
#<br>
------------------------------------------------------------------------<br>
# <st1:Street w:st="on"><st1:address w:st="on">Record Route</st1:address></st1:Street>
Section<br>
#<br>
------------------------------------------------------------------------<br>
<br>
if (method==&quot;INVITE&quot; &amp;&amp; client_nat_test(&quot;3&quot;)) {<br>
# INSERT YOUR IP ADDRESS HERE<br>
record_route_preset(&quot;XXX.XXX.XXX.235:5060;nat=yes&quot;);<br>
} else if (method!=&quot;REGISTER&quot;) {<br>
record_route();<br>
};<br>
<br>
# -----------------------------------------------------------------<br>
# Call Tear Down Section <br>
# -----------------------------------------------------------------<br>
<br>
if (method==&quot;BYE&quot; || method==&quot;CANCEL&quot;) {<br>
end_media_session();<br>
};<br>
<br>
#<br>
------------------------------------------------------------------------ <br>
# Loose Route Section<br>
#<br>
------------------------------------------------------------------------<br>
<br>
if (loose_route()) {<br>
<br>
if ((method==&quot;INVITE&quot; || method==&quot;REFER&quot;) &amp;&amp;
!has_totag()) { <br>
sl_send_reply(&quot;403&quot;, &quot;Forbidden&quot;);<br>
break;<br>
};<br>
<br>
if (method==&quot;INVITE&quot;) {<br>
<br>
if (!proxy_authorize(&quot;&quot;,&quot;subscriber&quot;)) {<br>
proxy_challenge(&quot;&quot;,&quot;0&quot;); <br>
break;<br>
} else if (!check_from()) {<br>
sl_send_reply(&quot;403&quot;, &quot;Use From=ID&quot;);<br>
break;<br>
};<br>
<br>
consume_credentials();<br>
<br>
if (client_nat_test(&quot;3&quot;) || search(&quot;^Route:.*;nat=yes&quot;)) { <br>
setflag(6);<br>
use_media_proxy();<br>
<br>
};<br>
};<br>
<br>
route(1);<br>
break;<br>
};<br>
<br>
#<br>
------------------------------------------------------------------------<br>
# Call Type Processing Section<br>
#<br>
------------------------------------------------------------------------ <br>
if (uri!=myself) {<br>
route(4);<br>
route(1);<br>
break;<br>
};<br>
<br>
if (method==&quot;ACK&quot;) {<br>
route(1);<br>
break;<br>
} else if (method==&quot;CANCEL&quot;) {<br>
route(3);<br>
break;<br>
} else if (method==&quot;INVITE&quot;) { <br>
route(3);<br>
break;<br>
} else if (method==&quot;REGISTER&quot;) {<br>
route(2);<br>
break;<br>
};<br>
<br>
lookup(&quot;aliases&quot;);<br>
if (uri!=myself) {<br>
route(4);<br>
route(1);<br>
break;<br>
};<br>
<br>
if (!lookup(&quot;location&quot;)) { <br>
sl_send_reply(&quot;404&quot;, &quot;User Not Found&quot;);<br>
break;<br>
};<br>
<br>
route(1);<br>
}<br>
<br>
route[1] {<br>
#<br>
------------------------------------------------------------------------<br>
# Default Message Handler <br>
#<br>
------------------------------------------------------------------------<br>
<br>
t_on_reply(&quot;1&quot;);<br>
<br>
if (!t_relay()) {<br>
<br>
if (method==&quot;INVITE&quot; || method==&quot;ACK&quot;) {<br>
end_media_session(); <br>
};<br>
<br>
sl_reply_error();<br>
};<br>
}<br>
<br>
route[2] {<br>
#<br>
------------------------------------------------------------------------<br>
# REGISTER Message Handler<br>
#<br>
------------------------------------------------------------------------ <br>
<br>
sl_send_reply(&quot;100&quot;, &quot;Trying&quot;);<br>
<br>
if (!search(&quot;^Contact:[ ]*\*&quot;) &amp;&amp;
client_nat_test(&quot;7&quot;)) {<br>
setflag(6);<br>
fix_nated_register();<br>
force_rport();<br>
<br>
};<br>
<br>
if (!www_authorize(&quot;&quot;,&quot;subscriber&quot;)) {<br>
www_challenge(&quot;&quot;,&quot;0&quot;);<br>
break;<br>
};<br>
<br>
if (!check_to()) {<br>
sl_send_reply(&quot;401&quot;, &quot;Unauthorized&quot;);<br>
break; <br>
};<br>
<br>
consume_credentials();<br>
<br>
if (!save(&quot;location&quot;)) {<br>
sl_reply_error();<br>
};<br>
<br>
}<br>
<br>
route[3] {<br>
<br>
# -----------------------------------------------------------------<br>
# INVITE Message Handler <br>
# -----------------------------------------------------------------<br>
<br>
if (client_nat_test(&quot;3&quot;)) {<br>
setflag(7);<br>
force_rport();<br>
fix_nated_contact();<br>
};<br>
<br>
if (!proxy_authorize(&quot;&quot;,&quot;subscriber&quot;)) { <br>
proxy_challenge(&quot;&quot;,&quot;0&quot;);<br>
break;<br>
} else if (!check_from()) {<br>
sl_send_reply(&quot;403&quot;, &quot;Use From=ID&quot;);<br>
break;<br>
};<br>
<br>
consume_credentials();<br>
<br>
lookup(&quot;aliases&quot;); <br>
if (uri!=myself) {<br>
route(4);<br>
route(1);<br>
break;<br>
};<br>
<br>
if (!lookup(&quot;location&quot;)) {<br>
sl_send_reply(&quot;404&quot;, &quot;User Not Found&quot;);<br>
break;<br>
};<br>
<br>
route(4);<br>
route(1);<br>
}<br>
<br>
route[4] {<br>
<br>
#-----------------------------------------------------------------<br>
# NAT Traversal Section<br>
# -----------------------------------------------------------------<br>
if (isflagset(6) || isflagset(7)) { <br>
if (isflagset(8)) {<br>
setflag(8);<br>
use_media_proxy();<br>
};<br>
};<br>
}<br>
<br>
onreply_route[1] {<br>
<br>
if ((isflagset(6) || isflagset(7)) &amp;&amp;<br>
(status=~&quot;(180)|(183)|2[0-9][0-9]&quot;)) {<br>
<br>
if (!search(&quot;^Content-Length:[ ]*0&quot;)) { <br>
use_media_proxy();<br>
};<br>
};<br>
<br>
if (client_nat_test(&quot;1&quot;)) {<br>
fix_nated_contact();<br>
};<br>
}<br>
<br>
<br>
------------------------------------------------------------<br>
<br>
mediaproxy.ini<br>
------------------------------------------------------------ <br>
<br>
[Dispatcher]<br>
;start = yes<br>
socket = /var/run/proxydispatcher.sock<br>
;group = ser<br>
defaultProxy = /var/run/mediaproxy.sock<br>
<br>
[MediaProxy]<br>
start = yes<br>
socket = /var/run/mediaproxy.sock<br>
group = ser <br>
listen = None<br>
allow = None<br>
proxyIP = XXX.XXX.XXX.235# This is where OpenSER installed<br>
;portRange = 2000:8000# These values are set same in ATA's configs<br>
for <st1:place w:st="on"><st1:PlaceName w:st="on">RTP</st1:PlaceName> <st1:PlaceType
 w:st="on">Range</st1:PlaceType></st1:place><br>
TOS = 0xb8<br>
idleTimeout = 60<br>
holdTimeout = 180 <br>
forceClose = 0<br>
accounting = off<br>
<br>
[Accounting]<br>
user = root<br>
password =<br>
host = localhost<br>
database = ser<br>
table = acc<br>
<br>
--<br>
No virus found in this outgoing message.<br>
Checked by AVG Free Edition. <br>
Version: 7.1.394 / Virus Database: 268.10.4/396 - Release Date: 7/24/2006<br>
<br>
<br>
_______________________________________________<br>
Serusers mailing list<br>
<a href="mailto:Serusers@lists.iptel.org">Serusers@lists.iptel.org </a><br>
<a href="http://lists.iptel.org/mailman/listinfo/serusers">http://lists.iptel.org/mailman/listinfo/serusers</a><br>
<br>
--<br>
No virus found in this incoming message.<br>
Checked by AVG Free Edition.<br>
Version: 7.1.394 / Virus Database: 268.10.4/396 - Release Date: 7/24/2006<br>
<br>
--<br>
No virus found in this outgoing message.<br>
Checked by AVG Free Edition.<br>
Version: 7.1.394 / Virus Database: 268.10.4/396 - Release Date: 7/24/2006<o:p></o:p></span></font></p>

</div>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=2 face="Times New Roman"><span style='font-size:10.0pt'>--<br>
No virus found in this incoming message.<br>
Checked by AVG Free Edition.<br>
Version: 7.1.394 / Virus Database: 268.10.4/396 - Release Date: 7/24/2006</span></font><o:p></o:p></p>

</div>

</body>

</html>
<BR>

<P><FONT SIZE=2>--<BR>
No virus found in this outgoing message.<BR>
Checked by AVG Free Edition.<BR>
Version: 7.1.394 / Virus Database: 268.10.4/396 - Release Date: 7/24/2006<BR>
</FONT> </P>