<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Daniel,<br>
<br>
<br>
<div class="sayBox"> <span class="number-bullet number-bullet-2"
title="Directions de traduction"> </span> </div>
<span class="transpan">
<div id="trtext" onmouseup="setInpLexi(2);"
onmouseover="try{scrollDivs(this);}catch(e){}" onscroll=""><span
style="background-color: rgb(239, 239, 239);" id="tran0"
onmouseover="highlight(this,true)"
onmouseout="highlight(this,false)">We have of a set of CODEC
which are all in public IP ( DMZ), we receive a quantity of
SIP calls (flooding) as such we plan to configure Kamailio
in Proxy SIP which works with a public IP ( DMZ).</span><br>
<br>
<span style="background-color: rgb(239, 239, 239);" id="tran1"
onmouseover="highlight(this,true)"
onmouseout="highlight(this,false)">I made the following
modifications in the kamailio.cfg file:</span><br>
<br>
<span style="background-color: rgb(239, 239, 239);" id="tran2"
onmouseover="highlight(this,true)"
onmouseout="highlight(this,false)">* Related requests
presence handle route (PRESENCE);</span><br>
<br>
<span style="background-color: rgb(239, 239, 239);" id="tran3"
onmouseover="highlight(this,true)"
onmouseout="highlight(this,false)"> if (dst_ip ==
(xx.xx.xx.xx.) && ($rU = ~ " ^ (5588) ")) {</span><br>
<span style="background-color: rgb(239, 239, 239);" id="tran4"
onmouseover="highlight(this,true)"
onmouseout="highlight(this,false)"> route ( CODEC1);</span><br>
<span style="background-color: rgb(239, 239, 239);" id="tran5"
onmouseover="highlight(this,true)"
onmouseout="highlight(this,false)"> }</span><br>
<br>
<span style="background-color: rgb(239, 239, 239);" id="tran6"
onmouseover="highlight(this,true)"
onmouseout="highlight(this,false)"> if (dst_ip ==
(xx.xx.xx.xx) && ($rU = ~ " ^ (5589) ")) {</span><br>
<span style="background-color: rgb(239, 239, 239);" id="tran7"
onmouseover="highlight(this,true)"
onmouseout="highlight(this,false)"> route ( CODEC2);</span><br>
<span id="tran8" onmouseover="highlight(this,true)"
onmouseout="highlight(this,false)"> }</span><br>
<br>
<span style="background-color: rgb(239, 239, 239);" id="tran9"
onmouseover="highlight(this,true)"
onmouseout="highlight(this,false)">Where xx.xx.xx.xx is the
public IP address of Kamailio, and 5588 will be the prefix
of the URI, <a class="moz-txt-link-abbreviated" href="mailto:5588@xx.xx.xx.xx">5588@xx.xx.xx.xx</a>, my question is the following
one:</span><br>
<br>
<span style="background-color: rgb(239, 239, 239);"
id="tran10" onmouseover="highlight(this,true)"
onmouseout="highlight(this,false)">We can declare a variable
in alphanumeric:</span><br>
<br>
<span style="background-color: rgb(239, 239, 239);"
id="tran11" onmouseover="highlight(this,true)"
onmouseout="highlight(this,false)">$U = ~ " ^ (dr.lille ) "
in the place $U = ~ " ^ (5588)"</span></div>
</span><br>
<span class="transpan"><span style="background-color: rgb(239,
239, 239);" id="tran0" onmouseover="highlight(this,true)"
onmouseout="highlight(this,false)">Whereas CODEC1 in this
example will be the argument of the function route (), which
will be the public IP address of the concerned codec. There
will be thirty codec to be declared in this way.</span><br>
<br>
<span id="tran1" onmouseover="highlight(this,true)"
onmouseout="highlight(this,false)">Is it an optimal method ?</span><br>
<br>
<span style="background-color: rgb(239, 239, 239);" id="tran2"
onmouseover="highlight(this,true)"
onmouseout="highlight(this,false)">Thank you for your help.</span></span><br>
<br>
Best Regards,<br>
<br>
Djamel.<br>
Le 14/07/2015 11:19, Daniel-Constantin Mierla a écrit :<br>
</div>
<blockquote cite="mid:55A4D421.9060009@gmail.com" type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
Hello,<br>
<br>
<div class="moz-cite-prefix">On 09/07/15 11:30, Djamel Bahamid
wrote:<br>
</div>
<blockquote cite="mid:559E3F44.7060400@inserm.fr" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
<span class="transpan"><span style="background-color: rgb(239,
239, 239);" id="tran0" onmouseover="highlight(this,true)"
onmouseout="highlight(this,false)">Hi,<br>
<br>
I have terminals of video conference which are in public IP
( <b>DMZ</b>). I installed kamailio (4.2) which works
correctly, it is also in IP pulique (<b>DMZ</b>). I wish
configured the <i>kamailio.cfg</i> file, so that kamailio
works in <b>proxy SIP</b>. And declared my CODEC of
visoconférence in URI, example: 'DR <a
moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:London@domaine.fr">London@domaine.fr</a>'. </span></span><span
class="transpan"><span style="background-color: rgb(239, 239,
239);" id="tran0" onmouseover="highlight(this,true)"
onmouseout="highlight(this,false)"><span class="transpan"><span
style="background-color: rgb(239, 239, 239);" id="tran0"
onmouseover="highlight(this,true)"
onmouseout="highlight(this,false)"> In what part of the
file ( <b>kamailio.cfg</b> ) do I have to make these
modifications ?</span></span> This to avoid the
flooding. How possibly write the rule of corresponding ACL.
</span><br>
<br>
<span style="background-color: rgb(239, 239, 239);" id="tran1"
onmouseover="highlight(this,true)"
onmouseout="highlight(this,false)">Thank you for your help.</span></span><br>
</blockquote>
I don't really get what you try to achieve. Maybe you can present
more details, like associating the caller with an id (e.g.,
alice), what it is going to call and where the call has to be
routed, as well as what are the planned SIP server nodes in your
platform.<br>
<br>
Cheers,<br>
Daniel<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://twitter.com/#%21/miconda">http://twitter.com/#!/miconda</a> - <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Book: SIP Routing With Kamailio - <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a></pre>
</blockquote>
<br>
</body>
</html>