<!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">
Hi Arif,<br>
<br>
1) please avoid cross posting (posting in the same time on multiple
mailing lists)<br>
<br>
2) if you have a kamilio question, why posting on OpenSIPS's mailing
list? These are different projects, works in different ways and
different bugs.<br>
<br>
If you want to achieve this behavior with opensips, simply configure
2 listening interfaces (one with 5060 and the other with 9090). When
receiving calls on 9090 port, you can use
"force_send_socket(udp:ip:5060)" function to set as outbound socket
a different one than the inbound one.<br>
<br>
Regards,<br>
Bogdan<br>
<br>
On 01/14/2012 01:38 PM, Arif Tuhin wrote:
<blockquote cite="mid:BAY171-W998845959517979B8F4927AE9D0@phx.gbl"
type="cite">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
<div dir="ltr">
I've noticed this in both kamailio 3.1.5 and 3.2.x. <br>
<br>
I've configured to receive on udp 9090 port. This sip message
will be forwarded to a asterisk box listening on 5060 port. Now
what i'm trying to achieve is , When kamailio will receive the
sip message on udp 9090 port it will forward the message to
asterisk using source port 5060, not 9090.<br>
<br>
How can i configure this?<br>
Thanks in advance.<br>
<br>
With Best Regards<br>
Ariful Hossain Tuhin<br>
email: 1. <a moz-do-not-send="true"
href="mailto:etothepowerpi@gmail.com">etothepowerpi@gmail.com</a>
2. <a moz-do-not-send="true"
href="mailto:etothepowerpi@hotmail.com">etothepowerpi@hotmail.com</a>
<a moz-do-not-send="true"
href="mailto:3.etothepowerpi@yahoo.com">3.etothepowerpi@yahoo.com</a><br>
skype: freeburn1986<br>
<br>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
OpenSIPS Pavilion @ ITExp 2012</pre>
</body>
</html>