<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
You don't say if this is a NAT problem or not. <br>
I would start with devices non-NATed (to sort out rtpproxy issues).<br>
I think rtpproxy got video support a while back, but I haven't tested
it. <br>
If it works with non-NAted, you may want to review your NAT handling
based on the Getting Started guide.<br>
g-)<br>
<br>
<br>
Steven Wong wrote:
<blockquote cite="mid936785.28094.qm@web35603.mail.mud.yahoo.com"
type="cite">
<div>Hello All:</div>
<div> </div>
<div>You will find enclosed our ser.cfg file that I have adapted from
a very generous SIP user from the Internet.<br>
<br>
This ser.cfg file work perfectly with Audio (IP Phone and Softphone).
But when I am trying to use a Video Phone (we did try with GrandStream
GXV-3000 Video Phone), it just giving us Audio but NOT Video. I did
also try the same GrandStream GXV-3000 Video Phone with FreeWorldDialup
and it is working fine with Video.</div>
<div> </div>
<div>We have checked the etherreal output while trying to make a call
and we are having this type of errors on the etherreal:</div>
<div> </div>
<div>-----</div>
<div>
<div>RTP Protocol</div>
<div>Source IP (The IP of the Video Phone) and Destination IP (The IP
of the SER Server) ------­ Payload Type = Unknown (126)</div>
<div> </div>
<div>ICMP Protocol</div>
<div>Source IP (The IP of the SER Server) and Destination IP (The IP
of the Video Phone) ------­Destination Unreachable (Port Unreacheable)</div>
<div> </div>
<div>These 2 errors repeated six time before it stop with a good
signal of:</div>
<div> </div>
<div>Payload Type = ITU-T G.711 PCMU</div>
<div> </div>
<div>Then the audio start but without audio.<br>
---</div>
<div><br>
Would you please tell us what is going wrong with this ser.cfg file?
your answer is greatly appreciated.<br>
<br>
Many thanks,<br>
<br>
Steven Wong</div>
</div>
<div> </div>
<div>--------------------------------------------------------------------------</div>
<div>debug=3<br>
fork=yes<br>
log_stderror=no</div>
<div>check_via=no<br>
dns=no<br>
rev_dns=no</div>
<div>listen=XXX.XXX.XXX.XXX # INSERT YOUR IP ADDRESS HERE<br>
# port=5060<br>
children=3</div>
<div>alias="<span id="lw_1172198623_0"
style="border-bottom: 1px dashed rgb(0, 102, 204);">HOST.DOMAINNAME.COM</span>"<br>
alias="XXX.XXX.XXX.XXX"</div>
<div>fifo="/tmp/ser_fifo"<br>
fifo_db_url="mysql://ser:PASSWORD@localhost/ser"</div>
<div>loadmodule "/usr/local/lib/ser/modules/mysql.so"<br>
loadmodule "/usr/local/lib/ser/modules/sl.so"<br>
loadmodule "/usr/local/lib/ser/modules/tm.so"<br>
loadmodule "/usr/local/lib/ser/modules/rr.so"<br>
loadmodule "/usr/local/lib/ser/modules/maxfwd.so"<br>
loadmodule "/usr/local/lib/ser/modules/usrloc.so"<br>
loadmodule "/usr/local/lib/ser/modules/registrar.so"<br>
loadmodule "/usr/local/lib/ser/modules/auth.so"<br>
loadmodule "/usr/local/lib/ser/modules/auth_db.so"<br>
loadmodule "/usr/local/lib/ser/modules/uri.so"<br>
loadmodule "/usr/local/lib/ser/modules/uri_db.so"<br>
loadmodule "/usr/local/lib/ser/modules/nathelper.so"<br>
loadmodule "/usr/local/lib/ser/modules/textops.so"<br>
loadmodule "/usr/local/lib/ser/modules/acc.so"</div>
<div>modparam("auth_db|uri_db|usrloc", "db_url",
"mysql://ser:PASSWORD@localhost/ser")<br>
modparam("auth_db", "calculate_ha1", 1)<br>
modparam("auth_db", "password_column", "password")</div>
<div>modparam("nathelper", "natping_interval", 30) <br>
modparam("nathelper", "ping_nated_only", 1) <br>
modparam("nathelper", "rtpproxy_sock", "unix:/var/run/rtpproxy.sock")</div>
<div>modparam("usrloc", "db_mode", 2)</div>
<div>modparam("registrar", "nat_flag", 6)</div>
<div>modparam("rr", "enable_full_lr", 1)<br>
#---Accounting params<br>
modparam("acc", "log_level", 1)<br>
modparam("acc", "log_flag", 1)</div>
<div># ------------------------- request routing logic
-------------------</div>
<div># main routing logic</div>
<div>route{</div>
<div> # initial sanity checks -- messages with<br>
# max_forwards==0, or excessively long requests<br>
if (!mf_process_maxfwd_header("10")) {<br>
sl_send_reply("483","Too Many Hops");<br>
break;<br>
};<br>
if (msg:len >= max_len ) {<br>
sl_send_reply("513", "Message too big");<br>
break;<br>
};<br>
# !! Nathelper<br>
# Special handling for NATed clients; first, NAT test is<br>
# executed: it looks for via!=received and RFC1918 addresses<br>
# in Contact (may fail if line-folding is used); also,<br>
# the received test should, if completed, should check all<br>
# vias for rpesence of received<br>
if (nat_uac_test("3")) {<br>
# Allow RR-ed requests, as these may indicate that<br>
# a NAT-enabled proxy takes care of it; unless it is<br>
# a REGISTER<br>
if (method == "REGISTER" || ! search("^Record-Route:")) {<br>
log("LOG: Someone trying to register from private IP,
rewriting\n");</div>
<div> # This will work only for user agents that support
symmetric<br>
# communication. We tested quite many of them and majority is<br>
# smart enough to be symmetric. In some phones it takes a
configuration<br>
# option. With Cisco 7960, it is called NAT_Enable=Yes, with
kphone it is<br>
# called "symmetric media" and "symmetric signalling".</div>
<div> fix_nated_contact(); # Rewrite contact with source IP of
signalling<br>
if (method == "INVITE") {<br>
fix_nated_sdp("1"); # Add direction=active to SDP<br>
};<br>
force_rport(); # Add rport parameter to topmost Via<br>
setflag(6); # Mark as NATed<br>
};<br>
};</div>
<div> # we record-route all messages -- to make sure that<br>
# subsequent messages will go through our proxy; that's<br>
# particularly good if upstream and downstream entities<br>
# use different transport protocol<br>
if (!method=="REGISTER") record_route(); </div>
<div> # subsequent messages withing a dialog should take the<br>
# path determined by record-routing<br>
if (loose_route()) {<br>
# mark routing logic in request<br>
append_hf("P-hint: rr-enforced\r\n"); <br>
route(1);<br>
break;<br>
};</div>
<div> setflag(1);<br>
if (!uri==myself) {<br>
# mark routing logic in request<br>
append_hf("P-hint: outbound\r\n"); <br>
route(1);<br>
break;<br>
};</div>
<div> # if the request is for other domain use UsrLoc<br>
# (in case, it does not work, use the following command<br>
# with proper names and addresses in it)<br>
if (uri==myself) {</div>
<div> if (method=="REGISTER") {</div>
<div># Uncomment this if you want to use digest authentication<br>
if (!www_authorize("<span id="lw_1172198623_1"
style="border-bottom: 1px dashed rgb(0, 102, 204);">HOST.DOMAINNAME.COM</span>",
"subscriber")) {<br>
www_challenge("<span id="lw_1172198623_2"
style="border-bottom: 1px dashed rgb(0, 102, 204);">HOST.DOMAINNAME.COM</span>",
"0");<br>
break;<br>
};</div>
<div> save("location");<br>
break;<br>
};</div>
<div> lookup("aliases");<br>
if (!uri==myself) {<br>
append_hf("P-hint: outbound alias\r\n"); <br>
route(1);<br>
break;<br>
};</div>
<div> # native SIP destinations are handled using our USRLOC DB<br>
if (!lookup("location")) {<br>
sl_send_reply("404", "Not Found");<br>
break;<br>
};<br>
};<br>
append_hf("P-hint: usrloc applied\r\n"); <br>
route(1);<br>
}</div>
<div>route[1] <br>
{<br>
# !! Nathelper<br>
if (uri=~<a class="moz-txt-link-rfc2396E" href="mailto:[@:](192\.168\.|10\.|172\.(1[6-9]|2[0-9]|3[0-1])\.)">"[@:](192\.168\.|10\.|172\.(1[6-9]|2[0-9]|3[0-1])\.)"</a>
&& !search("^Route:")){<br>
sl_send_reply("479", "We don't forward to private IP addresses");<br>
break;<br>
};<br>
<br>
# if client or server know to be behind a NAT, enable relay<br>
if (isflagset(6)) {<br>
force_rtp_proxy();<br>
};</div>
<div> # NAT processing of replies; apply to all transactions (for
example,<br>
# re-INVITEs from public to private UA are hard to identify as<br>
# NATed at the moment of request processing); look at replies<br>
t_on_reply("1");</div>
<div> # send it out now; use stateful forwarding as it works reliably<br>
# even for UDP2TCP<br>
if (!t_relay()) {<br>
sl_reply_error();<br>
};<br>
}</div>
<div># !! Nathelper<br>
onreply_route[1] {<br>
# NATed transaction ?<br>
if (isflagset(6) && status =~ "(183)|2[0-9][0-9]") {<br>
fix_nated_contact();<br>
force_rtp_proxy();<br>
# otherwise, is it a transaction behind a NAT and we did not<br>
# know at time of request processing ? (RFC1918 contacts)<br>
} else if (nat_uac_test("1")) {<br>
fix_nated_contact();<br>
};<br>
}<br>
--------------------------------------------------------------------------</div>
<p> </p>
<hr size="1">The fish are biting.<br>
<a
href="http://us.rd.yahoo.com/evt=49679/*http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php?o=US2140&cmp=Yahoo&ctv=Q107Tagline&s=Y&s2=EM&b=50">
Get more visitors</a> on your site using <a
href="http://us.rd.yahoo.com/evt=49679/*http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php?o=US2140&cmp=Yahoo&ctv=Q107Tagline&s=Y&s2=EM&b=50">Yahoo!
Search Marketing.</a>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Serusers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Serusers@lists.iptel.org">Serusers@lists.iptel.org</a>
<a class="moz-txt-link-freetext" href="http://lists.iptel.org/mailman/listinfo/serusers">http://lists.iptel.org/mailman/listinfo/serusers</a>
</pre>
</blockquote>
</body>
</html>