Samuel,<br>
<br>
Probably the easiest way to prevent the extra call to use_media_proxy() is to do something like this<br>
<br>
if (!isflagset(22)) {<br>
&nbsp;&nbsp;&nbsp; setflag(22);<br>
&nbsp;&nbsp;&nbsp; use_media_proxy();<br>
}<br><br>
Regrads,<br>
Paul<br>
<br><div><span class="gmail_quote">On 6/26/05, <b class="gmail_sendername"><a href="mailto:smy@addm.com">smy@addm.com</a></b> &lt;<a href="mailto:smy@addm.com">smy@addm.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thank-you all for the tips....&nbsp;&nbsp;I was out of town for a meeting, that's why I<br>couldn't reply any sooner.&nbsp;&nbsp;I will give it a shot and let you all know how it<br>goes.&nbsp;&nbsp;Paul, as for the corrupt c= field, what can I do or go around
<br>it?!? Again, my setup is based on the <a href="http://ONSIP.org">ONSIP.org</a> document which calls<br>use_media_session().&nbsp;&nbsp;If this is the case, what can I do or what should I pay<br>attention to??<br><br>Thank-you all for your input....&nbsp;&nbsp;If this works, I think I'm gonna start up a
<br>HOW-TO document for Cisco 3600 and SER, and hope that all your contributions<br>would be helpful for both me and everyone else dealing with Cisco 3600<br>and SER.<br><br>Cheers!<br><br>Best Regards,<br>Samuel Yeung<br>
<br><br><br><br>Quoting Java Rockx &lt;<a href="mailto:javarockx@gmail.com">javarockx@gmail.com</a>&gt;:<br><br>&gt; Smy,<br>&gt;<br>&gt; One thing to keep in mind when dealing with Cisco 3600 routers (and others<br>&gt; with ALG functionality) is that if you are using mediaproxy or rtpproxy and
<br>&gt; accidentially call use_media_session() or force_rtp_session() more than once<br>&gt; when dealing with NATed clients, that SER will corrupt the c= field in the<br>&gt; SDP payload and the Cisco 3600 will refuse to pass that message -- we can
<br>&gt; call this a &quot;feature&quot; :-)<br>&gt;<br>&gt; Regards,<br>&gt; Paul<br>&gt;<br>&gt; On 6/24/05, Greger V. Teigre &lt;<a href="mailto:greger@teigre.com">greger@teigre.com</a>&gt; wrote:<br>&gt;&gt;<br>&gt;&gt; Looks like the cisco box never receives the trying...
<br>&gt;&gt; U SER-ip:5080 -&gt; cisco-ip:5060<br>&gt;&gt;<br>&gt;&gt; If Cisco listens to port 5080 and not 5060, it's obvious... However, the<br>&gt;&gt; box announces 5060 in:<br>&gt;&gt; Via: SIP/2.0/UDP cisco-ip:5060
<br>&gt;&gt;<br>&gt;&gt; So, you need to change the cisco's announced port. Should be some<br>&gt;&gt; parameter<br>&gt;&gt; somewhere...<br>&gt;&gt; g-)<br>&gt;&gt;<br>&gt;&gt; <a href="mailto:smy@addm.com">smy@addm.com</a>
 wrote:<br>&gt;&gt; &gt; Hi all,<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; I'm currently working with a cisco3600 with SER 0.9.2. Thanks to<br>&gt;&gt; &gt; <a href="http://Onsp.org">Onsp.org</a> &lt;<a href="http://Onsp.org">http://Onsp.org
</a>&gt;, I can land calls from SER to Cisco 3600<br>&gt;&gt; without any<br>&gt;&gt; &gt; problems. Yet I'm experiencing some problems with Cisco3600 passing<br>&gt;&gt; &gt; calls onto SER.<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; My setup is as follow:
<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; Cisco 3600 ==&gt; SER+Mediaproxy ===&gt; IP Phone<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; When a call come in via DID method through the Cisco3600, SER<br>&gt;&gt; &gt; received the all SIP messages (I got it via ngrep), yet the call
<br>&gt;&gt; &gt; couldn't pass onto the IP Phone.<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; Currently, all devices (including cisco) have been configured to use<br>&gt;&gt; &gt; port 5080 instead of port 5060 due to port restrictions on the
<br>&gt;&gt; &gt; network, and that I have specified the ip in the trusted table under<br>&gt;&gt; &gt; mysql. Yet I don't know why the call still can not get through. The<br>&gt;&gt; &gt; following are the logs I received from ngrep and cisco..... Any help
<br>&gt;&gt; &gt; is welcome and is GREATLY APPRCIATED!!<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; ------------------- ngrep from SER server<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; U cisco-ip:55299 -&gt; SER-ip:5080<br>&gt;&gt; &gt; INVITE 
sip:6119203@SER-ip;user=phone;phone-context=local<br>&gt;&gt; &gt; SIP/2.0..Via: SIP/2.0/UDP cisco-ip:5060..From: &quot;6113640&quot;<br>&gt;&gt; &gt; &lt;sip:6113640@cisco-ip&gt;..To:<br>&gt;&gt; &gt; &lt;sip:6119203@SER-ip
;user=phone;phone-context=local&gt;.............. #<br>&gt;&gt; &gt; U SER-ip:5080 -&gt; cisco-ip:5060<br>&gt;&gt; &gt; SIP/2.0 100 trying -- your call is important to us..Via: SIP/2.0/UDP<br>&gt;&gt; &gt; <a href="http://222.50.103.247:5060">
222.50.103.247:5060</a> &lt;<a href="http://222.50.103.247:5060">http://222.50.103.247:5060</a>&gt;..From: &quot;6113640&quot; &lt;<br>&gt;&gt; sip:6113640@cisco-ip&gt;..To:<br>&gt;&gt; &gt; &lt;sip:6119203@SER-ip<br>&gt;&gt; ;user=phone;phone-context=local&gt;...........................
<br>&gt;&gt; &gt; #<br>&gt;&gt; &gt; U cisco-ip:55299 -&gt; SER-ip:5080<br>&gt;&gt; &gt; CANCEL sip:6119203@SER-ip;user=phone;phone-context=local<br>&gt;&gt; &gt; SIP/2.0..Via: SIP/2.0/UDP <a href="http://222.50.103.247:5060">
222.50.103.247:5060</a>&lt;<a href="http://222.50.103.247:5060">http://222.50.103.247:5060</a>&gt;<br>&gt;&gt; ..From:<br>&gt;&gt; &gt; &quot;6113640&quot;&lt;sip:6113640@cisco-ip&gt;..To:<br>&gt;&gt; &gt; &lt;sip:6119203@SER-ip
;user=phone;phone-context=local&gt;.................<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; ---------------- mysql trusted table<br>&gt;&gt; &gt; +----------------+-------+--------------+<br>&gt;&gt; &gt;&gt; src_ip | proto | from_pattern |
<br>&gt;&gt; &gt; +----------------+-------+--------------+<br>&gt;&gt; &gt;&gt; cisco-ip | any | ^sip:.*$ |<br>&gt;&gt; &gt; +----------------+-------+--------------+<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; ----------------- log from cisco3600
<br>&gt;&gt; &gt; Jun 23 14:23:53: HandleUdpSocketReads :Msg enqueued for SPI with<br>&gt;&gt; &gt; IPaddr: SER-ip:5080<br>&gt;&gt; &gt; Jun 23 14:23:57: Received:<br>&gt;&gt; &gt; SIP/2.0 408 Request Timeout<br>&gt;&gt; &gt; Via: SIP/2.0/UDP cisco-ip:5060
<br>&gt;&gt; &gt; From: &quot;6113640&quot; &lt;sip:6113640@cisco3600&gt;<br>&gt;&gt; &gt; To:<br>&gt;&gt; &gt; &lt;sip:6119203@SER-ip<br>&gt;&gt; ;user=phone;phone-context=local&gt;;tag=bc78c497f1336138e83d95d77d963f1b-f81d
<br>&gt;&gt; &gt; Call-ID: <a href="mailto:22B8BA3E-E32911D9-82A1EC22-7AD29AB0@222.50.103.247">22B8BA3E-E32911D9-82A1EC22-7AD29AB0@222.50.103.247</a><br>&gt;&gt; &gt; CSeq<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; _______________________________________________
<br>&gt;&gt; &gt; Serusers mailing list<br>&gt;&gt; &gt; <a href="mailto:serusers@lists.iptel.org">serusers@lists.iptel.org</a><br>&gt;&gt; &gt; <a href="http://mail.iptel.org/mailman/listinfo/serusers">http://lists.iptel.org/mailman/listinfo/serusers
</a><br>&gt;&gt;<br>&gt;&gt; _______________________________________________<br>&gt;&gt; Serusers mailing list<br>&gt;&gt; <a href="mailto:Serusers@iptel.org">serusers@lists.iptel.org</a><br>&gt;&gt; <a href="http://mail.iptel.org/mailman/listinfo/serusers">
http://lists.iptel.org/mailman/listinfo/serusers</a><br>&gt;&gt;<br>&gt;<br><br><br></blockquote></div><br>