<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
listen is to specify local ip address or network interface on which
kamailio should listen for sip traffic.<br>
<br>
To send to an ip address there are couple of variants, in config
file:<br>
<br>
$ru = "sip:" + $rU + "@__NEXT_PROXY_IP__";<br>
t_relay();<br>
exit;<br>
<br>
Or, if you don't want to change the r-uri, then use:<br>
<br>
$du = <a class="moz-txt-link-rfc2396E" href="sip:__NEXT_PROXY_IP__">"sip:__NEXT_PROXY_IP__"</a>;<br>
t_relay();<br>
exit;<br>
<br>
Of course, you have to replace the __NEXT_PROXY_IP__ with the
appropriate value.<br>
<br>
More dynamic option would be using dispatcher module.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 15/06/14 15:28, AliReza Khoshgoftar
Monfared wrote:<br>
</div>
<blockquote
cite="mid:CABoSzTuLmjJFi44MVyafbr20pNdvUvxOxPLNuB8-7h=7fB12pQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>Dear Kamailio users,</div>
<div><br>
</div>
<div>I am trying to set up a simple scenario as follows:</div>
<div><br>
</div>
<div>UAC --> Proxy_1 --> Proxy_2 --> Proxy_3 --> UAC</div>
<div><br>
</div>
<div>I am new to Kamailio and had the following basic questions
that came to my mind after reading the documentation an the
default kamilio.cfg config script:</div>
<div><br>
</div>
<div>1) Is there any good example of the above scenario in which
the UAC and UAS (caller and callee) are modeled using SIPp and
proxies are simple kamailio instances run on different
machines that simply forward the SIP packets?</div>
<div><br>
</div>
<div>2) In specific, I want the proxies to simply forward the
messages to their downstream (I do not care about registration
or other operations and look for a minimally working simple
SIP scenario). Is there any example of such configuration?</div>
<div><br>
</div>
<div>3) Let's imagine Proxy_2 in the above example, in the
default config, it looks like that with modifying line 164,
"listen=udp:<a moz-do-not-send="true"
href="http://10.0.0.10:5060">10.0.0.10:5060</a>" I can
specify the address of its upstream, Proxy_1, but how and
where shall I set the specifications of the downstream,
Proxy_3?</div>
<div><br>
</div>
<div>I suspect it is somewhere in the Routing Logic block (line
449) but not sure how it is exactly done. I see a
"route(SIPOUT)" call for example but I am not sure how and
where the value of SIPOUT is modified. Is it a representation
of the downstream servers in the config file?</div>
<div><br>
</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Alireza </div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a></pre>
</body>
</html>