<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
I think that, a first step, in your case would be to use
"advertised_address".<br>
Here, read this:<br>
<a href="http://www.opensips.org/Resources/DocsCoreFcn17#toc24">http://www.opensips.org/Resources/DocsCoreFcn17#toc24</a><br>
<br>
Regards,<br>
Alex<br>
<br>
<br>
On 03/16/2012 08:51 PM, talha jilal wrote:
<blockquote cite="mid:BAY166-W35DC1E0CB3F78DB8271393825F0@phx.gbl"
type="cite">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
<div dir="ltr">
I appologise for That Bogdan, Any suggesion ? <br>
<br>
Thanks ! <br>
<br>
Talha Jilal <br>
<br>
<br>
<br>
<div>
<hr id="stopSpelling">
Date: Fri, 16 Mar 2012 19:55:00 +0200<br>
From: <a class="moz-txt-link-abbreviated" href="mailto:bogdan@opensips.org">bogdan@opensips.org</a><br>
To: <a class="moz-txt-link-abbreviated" href="mailto:talha_jilal@hotmail.com">talha_jilal@hotmail.com</a><br>
CC: <a class="moz-txt-link-abbreviated" href="mailto:users@lists.opensips.org">users@lists.opensips.org</a><br>
Subject: Re: Users Digest, Vol 44, Issue 25<br>
<br>
<meta name="Generator" content="Microsoft SafeHTML">
Hey, considering that you get free help, culminating with the
fact you have almost 0 knowledge in basic stuff (like making a
simple network capture), I would not complain AT ALL about
taking too long. So please be at least grateful for the help
you get.<br>
<br>
The problem is your setup - to spare some time, you should
mention that you actually run opensips behind NAT and you
receive traffic from public internet. OpenSIPS is adding a RR
header with a private IP which is not routable from the caller
side (public internet), so caller cannot fire the ACK as
response to the received 200 OK.<br>
<br>
So, your setup is bogus.<br>
<br>
Regards,<br>
Bogdan<br>
<br>
On 03/16/2012 04:40 PM, talha jilal wrote:
<blockquote
cite="mid:BAY166-W4856C422A6E3C5A64F4D33825F0@phx.gbl">
<style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}
</style>
<div dir="ltr">Hi,
<div><br>
</div>
<div>Here you find output , </div>
<div><br>
</div>
<div><a moz-do-not-send="true"
href="http://pastebin.com/ivWcFaXi" target="_blank">http://pastebin.com/ivWcFaXi</a> <br>
<br>
Thanks for your help, can I get reply soon. Its taking
too long.</div>
<div><br>
</div>
<div><br>
</div>
<div>Thanks ! <br>
<div>
<hr id="ecxstopSpelling">
Date: Fri, 16 Mar 2012 13:52:36 +0200<br>
From: <a moz-do-not-send="true"
class="ecxmoz-txt-link-abbreviated"
href="mailto:bogdan@opensips.org">bogdan@opensips.org</a><br>
To: <a moz-do-not-send="true"
class="ecxmoz-txt-link-abbreviated"
href="mailto:talha_jilal@hotmail.com">talha_jilal@hotmail.com</a><br>
CC: <a moz-do-not-send="true"
class="ecxmoz-txt-link-abbreviated"
href="mailto:users@lists.opensips.org">users@lists.opensips.org</a><br>
Subject: Re: Users Digest, Vol 44, Issue 25<br>
<br>
Hi,<br>
<br>
To get ngrep to filter the capturing on "300" do :<br>
ngrep -d any -W byline -t <b>300</b> port 5060<br>
<br>
upload the output somewhere on pastebin or similar -
this mailing list is limited to attachments of 40K. <br>
<br>
Regards,<br>
Bogdan<br>
<br>
On 03/15/2012 04:54 PM, talha jilal wrote:
<blockquote
cite="mid:BAY166-W49F72B93AE6ECE080BC2BA825E0@phx.gbl">
<style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}
</style>
<div dir="ltr"><br>
Hello Bogdan,
<div><br>
</div>
<div><br>
</div>
<div>Here is my ngrep output, for only 300
extension where I am calling. I also attached
ngrep full out put from when I start calling
till end.</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div>To: <a moz-do-not-send="true"
class="ecxmoz-txt-link-rfc2396E"
target="_blank"><sip:300@svoice.dyndns.org;user=phone></a>;tag=4249013220.</div>
<div>Contact: "300" <a moz-do-not-send="true"
class="ecxmoz-txt-link-rfc2396E"
target="_blank"><sip:300@192.168.1.104:5060;transport=udp></a>.</div>
<div>i="300"<sip:>.</div>
<div>a=X-NameLabel:300.</div>
<div>To: <a moz-do-not-send="true"
class="ecxmoz-txt-link-rfc2396E"
target="_blank"><sip:300@svoice.dyndns.org;user=phone></a>;tag=4249013220.</div>
<div>Contact: "300" <a moz-do-not-send="true"
class="ecxmoz-txt-link-rfc2396E"
target="_blank"><sip:300@192.168.1.104:5060;transport=udp></a>.</div>
<div>i="300"<sip:>.</div>
<br>
<div>^C</div>
<div><br>
</div>
<font color="#000000"><b><br>
</b></font>
<div><font color="#000000"><b><br>
</b></font></div>
<div><font color="#000000"><b>Thanks ! <br>
Talha Jilal <br>
<br>
</b></font><br>
<br>
<div>
<hr id="ecxstopSpelling">
Date: Wed, 14 Mar 2012 14:22:23 +0200<br>
From: <a moz-do-not-send="true"
class="ecxmoz-txt-link-abbreviated"
href="mailto:bogdan@opensips.org">bogdan@opensips.org</a><br>
To: <a moz-do-not-send="true"
class="ecxmoz-txt-link-abbreviated"
href="mailto:talha_jilal@hotmail.com">talha_jilal@hotmail.com</a><br>
CC: <a moz-do-not-send="true"
class="ecxmoz-txt-link-abbreviated"
href="mailto:users@lists.opensips.org">users@lists.opensips.org</a><br>
Subject: Re: Users Digest, Vol 44, Issue 25<br>
<br>
I mentioned ngrep, not grep :D .<br>
<br>
Do :<br>
ngrep -d any -W byline -t . port 5060<br>
<br>
Regards,<br>
Bogdan<br>
<br>
On 03/12/2012 08:54 PM, talha jilal wrote:
<blockquote
cite="mid:BAY166-W2F0F24C0960C14D40AC4E825B0@phx.gbl">
<style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}
</style>
<div dir="ltr"><br>
Hi,
<div><br>
<br>
Here is output with grep </div>
<div><br>
</div>
<div>Please advise me full command if I
am doing some thing wrong, I am using
centos 6.0 32 bit.</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div><br>
</div>
<div>-bash-4.1# tcpdump -i eth2 -n
-s0 -vvv tcp port 5060 | grep 300</div>
<div>tcpdump: listening on eth2,
link-type EN10MB (Ethernet), capture
size 65535 bytes</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>07:51:21.257355 IP (tos 0x0, ttl
118, id 27728, offset 0, flags [DF],
proto TCP (6), length 1300)</div>
<div>07:51:27.511152 IP (tos 0x10, ttl
64, id 6173, offset 0, flags [DF],
proto TCP (6), length 1300)</div>
<div>07:51:28.015258 IP (tos 0x10, ttl
64, id 6175, offset 0, flags [DF],
proto TCP (6), length 1300)</div>
<div>07:51:29.022329 IP (tos 0x10, ttl
64, id 6177, offset 0, flags [DF],
proto TCP (6), length 1300)</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Thanks </div>
<div><br>
<div>
<hr id="ecxstopSpelling">
Date: Mon, 12 Mar 2012 20:30:10
+0200<br>
From: <a moz-do-not-send="true"
class="ecxmoz-txt-link-abbreviated"
href="mailto:bogdan@opensips.org">bogdan@opensips.org</a><br>
To: <a moz-do-not-send="true"
class="ecxmoz-txt-link-abbreviated"
href="mailto:talha_jilal@hotmail.com">talha_jilal@hotmail.com</a>; <a
moz-do-not-send="true"
class="ecxmoz-txt-link-abbreviated"
href="mailto:users@lists.opensips.org">users@lists.opensips.org</a><br>
Subject: Re: Users Digest, Vol 44,
Issue 25<br>
<br>
Hi, <br>
<br>
1) please keep the list at CC all
the time !<br>
<br>
2) the tcpdump output is no enough
- use ngrep as I need to see the
actual content of the SIP package
; or make a pcap capture and
upload it somewhere for download.<br>
<br>
Regards,<br>
Bogdan<br>
<br>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</blockquote>
<br>
<pre class="ecxmoz-signature">--
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" class="ecxmoz-txt-link-freetext" href="http://www.opensips-solutions.com/" target="_blank">http://www.opensips-solutions.com</a></pre>
</div>
</div>
</div>
</blockquote>
<br>
<br>
<pre class="ecxmoz-signature">--
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" class="ecxmoz-txt-link-freetext" href="http://www.opensips-solutions.com/" target="_blank">http://www.opensips-solutions.com</a></pre>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
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>
</body>
</html>