<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
<BR>Hi, <BR>
<BR>
First Very thanks for your reply, and I am very new with opensips. <BR>
<BR>
I have opensips server with private IP address (192.168.1.3) and my router IP address 192.168.1.1 this router also have one public IP , I forward all trafic from on ports 5000 to 60000 to my opensips server. <BR>I want to configure opensips for video phones those are located on various remote location. Can I have some sample opensips.cfg configuration for that please. Media proxy is up and runnig with working config.ini. <BR>
<BR>
<BR>Thanks ! <BR><BR>Talha Jilal <BR><BR> <BR>
<DIV>
<DIV id=SkyDrivePlaceholder></DIV>> From: users-request@lists.opensips.org<BR>> Subject: Users Digest, Vol 44, Issue 63<BR>> To: users@lists.opensips.org<BR>> Date: Mon, 19 Mar 2012 12:00:06 +0100<BR>> <BR>> Send Users mailing list submissions to<BR>> users@lists.opensips.org<BR>> <BR>> To subscribe or unsubscribe via the World Wide Web, visit<BR>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users<BR>> or, via email, send a message with subject or body 'help' to<BR>> users-request@lists.opensips.org<BR>> <BR>> You can reach the person managing the list at<BR>> users-owner@lists.opensips.org<BR>> <BR>> When replying, please edit your Subject line so it is more specific<BR>> than "Re: Contents of Users digest..."<BR>> <BR>> <BR>> Today's Topics:<BR>> <BR>> 1. Re: Users Digest, Vol 44, Issue 25 (SamyGo)<BR>> 2. Re: Trying to get Snom Contact List to work with OpenSIPS RLS<BR>> (Sa?l Ibarra Corretg?)<BR>> <BR>> <BR>> ----------------------------------------------------------------------<BR>> <BR>> Message: 1<BR>> Date: Mon, 19 Mar 2012 10:27:59 +0500<BR>> From: SamyGo <govoiper@gmail.com><BR>> Subject: Re: [OpenSIPS-Users] Users Digest, Vol 44, Issue 25<BR>> To: OpenSIPS users mailling list <users@lists.opensips.org><BR>> Message-ID:<BR>> <CAJUJwtgid9ahzFxvF1GB8XV4xz3iR05UXrQYxD8ZDaksbxhr0Q@mail.gmail.com><BR>> Content-Type: text/plain; charset="iso-8859-1"<BR>> <BR>> Hi Talha,<BR>> Just a friendly suggestion if you're very new to this. Instead of making<BR>> some custom configuration with your own hands try running any sample<BR>> configuration file which is closer to your voip-setup (in terms of network<BR>> connectivity). For that I'd again like you to describe your setup. What is<BR>> it that you're trying to make and how is it setup so far !?<BR>> <BR>> Regards,<BR>> Sammy.<BR>> <BR>> On Sat, Mar 17, 2012 at 2:01 AM, Alex Ionescu <alex@opensips.org> wrote:<BR>> <BR>> > Hi,<BR>> ><BR>> > I think that, a first step, in your case would be to use<BR>> > "advertised_address".<BR>> > Here, read this:<BR>> > http://www.opensips.org/Resources/DocsCoreFcn17#toc24<BR>> ><BR>> > Regards,<BR>> > Alex<BR>> ><BR>> ><BR>> ><BR>> > On 03/16/2012 08:51 PM, talha jilal wrote:<BR>> ><BR>> > I appologise for That Bogdan, Any suggesion ?<BR>> ><BR>> > Thanks !<BR>> ><BR>> > Talha Jilal<BR>> ><BR>> ><BR>> ><BR>> > ------------------------------<BR>> > Date: Fri, 16 Mar 2012 19:55:00 +0200<BR>> > From: bogdan@opensips.org<BR>> > To: talha_jilal@hotmail.com<BR>> > CC: users@lists.opensips.org<BR>> > Subject: Re: Users Digest, Vol 44, Issue 25<BR>> ><BR>> > Hey, considering that you get free help, culminating with the fact you<BR>> > have almost 0 knowledge in basic stuff (like making a simple network<BR>> > capture), I would not complain AT ALL about taking too long. So please be<BR>> > at least grateful for the help you get.<BR>> ><BR>> > The problem is your setup - to spare some time, you should mention that<BR>> > you actually run opensips behind NAT and you receive traffic from public<BR>> > internet. OpenSIPS is adding a RR header with a private IP which is not<BR>> > routable from the caller side (public internet), so caller cannot fire the<BR>> > 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:<BR>> ><BR>> > Hi,<BR>> ><BR>> > Here you find output ,<BR>> ><BR>> > http://pastebin.com/ivWcFaXi<BR>> ><BR>> > Thanks for your help, can I get reply soon. Its taking too long.<BR>> ><BR>> ><BR>> > Thanks !<BR>> > ------------------------------<BR>> > Date: Fri, 16 Mar 2012 13:52:36 +0200<BR>> > From: bogdan@opensips.org<BR>> > To: talha_jilal@hotmail.com<BR>> > CC: users@lists.opensips.org<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 *300* port 5060<BR>> ><BR>> > upload the output somewhere on pastebin or similar - this mailing list is<BR>> > limited to attachments of 40K.<BR>> ><BR>> > Regards,<BR>> > Bogdan<BR>> ><BR>> > On 03/15/2012 04:54 PM, talha jilal wrote:<BR>> ><BR>> ><BR>> > Hello Bogdan,<BR>> ><BR>> ><BR>> > Here is my ngrep output, for only 300 extension where I am calling. I<BR>> > also attached ngrep full out put from when I start calling till end.<BR>> ><BR>> ><BR>> ><BR>> ><BR>> > To: <sip:300@svoice.dyndns.org;user=phone>;tag=4249013220.<BR>> > Contact: "300" <sip:300@192.168.1.104:5060;transport=udp>.<BR>> > i="300"<sip:>.<BR>> > a=X-NameLabel:300.<BR>> > To: <sip:300@svoice.dyndns.org;user=phone>;tag=4249013220.<BR>> > Contact: "300" <sip:300@192.168.1.104:5060;transport=udp>.<BR>> > i="300"<sip:>.<BR>> ><BR>> > ^C<BR>> ><BR>> > *<BR>> > *<BR>> > *<BR>> > *<BR>> > *Thanks !<BR>> > Talha Jilal<BR>> ><BR>> > *<BR>> ><BR>> > ------------------------------<BR>> > Date: Wed, 14 Mar 2012 14:22:23 +0200<BR>> > From: bogdan@opensips.org<BR>> > To: talha_jilal@hotmail.com<BR>> > CC: users@lists.opensips.org<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:<BR>> ><BR>> ><BR>> > Hi,<BR>> ><BR>> ><BR>> > Here is output with grep<BR>> ><BR>> > Please advise me full command if I am doing some thing wrong, I am using<BR>> > centos 6.0 32 bit.<BR>> ><BR>> ><BR>> ><BR>> > -bash-4.1# tcpdump -i eth2 -n -s0 -vvv tcp port 5060 | grep 300<BR>> > tcpdump: listening on eth2, link-type EN10MB (Ethernet), capture size<BR>> > 65535 bytes<BR>> ><BR>> ><BR>> ><BR>> > 07:51:21.257355 IP (tos 0x0, ttl 118, id 27728, offset 0, flags [DF],<BR>> > proto TCP (6), length 1300)<BR>> > 07:51:27.511152 IP (tos 0x10, ttl 64, id 6173, offset 0, flags [DF], proto<BR>> > TCP (6), length 1300)<BR>> > 07:51:28.015258 IP (tos 0x10, ttl 64, id 6175, offset 0, flags [DF], proto<BR>> > TCP (6), length 1300)<BR>> > 07:51:29.022329 IP (tos 0x10, ttl 64, id 6177, offset 0, flags [DF], proto<BR>> > TCP (6), length 1300)<BR>> ><BR>> ><BR>> ><BR>> ><BR>> > Thanks<BR>> ><BR>> > ------------------------------<BR>> > Date: Mon, 12 Mar 2012 20:30:10 +0200<BR>> > From: bogdan@opensips.org<BR>> > To: talha_jilal@hotmail.com; users@lists.opensips.org<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<BR>> > content of the SIP package ; or make a pcap capture and upload it somewhere<BR>> > for download.<BR>> ><BR>> > Regards,<BR>> > Bogdan<BR>> ><BR>> ><BR>> > --<BR>> > Bogdan-Andrei Iancu<BR>> > OpenSIPS Founder and Developerhttp://www.opensips-solutions.com<BR>> ><BR>> ><BR>> ><BR>> > --<BR>> > Bogdan-Andrei Iancu<BR>> > OpenSIPS Founder and Developerhttp://www.opensips-solutions.com<BR>> ><BR>> ><BR>> ><BR>> > _______________________________________________<BR>> > Users mailing listUsers@lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users<BR>> ><BR>> ><BR>> ><BR>> > _______________________________________________<BR>> > Users mailing list<BR>> > Users@lists.opensips.org<BR>> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users<BR>> ><BR>> ><BR>> -------------- next part --------------<BR>> An HTML attachment was scrubbed...<BR>> URL: <http://lists.opensips.org/pipermail/users/attachments/20120319/c54d9652/attachment.html><BR>> <BR>> ------------------------------<BR>> <BR>> Message: 2<BR>> Date: Mon, 19 Mar 2012 10:46:58 +0100<BR>> From: Sa?l Ibarra Corretg? <saul@ag-projects.com><BR>> Subject: Re: [OpenSIPS-Users] Trying to get Snom Contact List to work<BR>> with OpenSIPS RLS<BR>> To: OpenSIPS users mailling list <users@lists.opensips.org><BR>> Message-ID: <22EA6A15-821C-445A-A686-EC219462832B@ag-projects.com><BR>> Content-Type: text/plain; charset=iso-8859-1<BR>> <BR>> Hi Duane,<BR>> <BR>> [snip]<BR>> <BR>> > <BR>> > I created it by doing the following<BR>> > <BR>> > PUT /xcap-root/rls-services/users/sip:9012732009@irock.com/index HTTP/1.1.<BR>> > Accept-Encoding: identity.<BR>> > Content-Length: 798.<BR>> > Host: xcap.X.com.<BR>> > User-Agent: python-xcaplib/1.0.16.<BR>> > Connection: close.<BR>> > Content-Type: application/x-www-form-urlencoded.<BR>> > Authorization: Digest username="9012732009", realm="irock.com", nonce="332840634855165799770139975774574805066135619005395955328", uri="/xcap-root/rls-services/users/sip:9012732009@irock.com/index", response="f76c6a6375156936cb0c5d6137a325ad", opaque="0a430b4a4d580e7d473c2697c9d61477-MzMyODQwNjM0ODU1MTY1Nzk5NzcwMTM5OTc1Nzc0NTc0ODA1MDY2MTM1NjE5MDA1Mzk1OTU1MzI4LDE3My4yMDMuODEuMTExLDEzMjc4MTQzOTE=", algorithm="MD5", qop=auth, nc=00000001, cnonce="dfd8addb86008b0e".<BR>> > .<BR>> > ##<BR>> > T 2012/01/28 23:19:51.385478 173.X.X.X:39849 -> 173.X.X.X:80 [AP]<BR>> > <?xml version="1.0" encoding="UTF-8"?><BR>> > <rls-services xmlns="urn:ietf:params:xml:ns:rls-services"<BR>> > xmlns:rl="urn:ietf:params:xml:ns:resource-lists"<BR>> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><BR>> > <service uri="sip:9012732009-list@irock.com"><BR>> > <resource-list>http://xcap.X.com/xcap-root/resource-lists/users/sip:9012732009@irock.com/index</resource-list><BR>> <BR>> ^^^ here, in the resource-list element, you need to insert the xpath for a *single* list in the resource-lists document. You are adding a link to the whole document for a given user.<BR>> <BR>> > <packages><BR>> > <package>presence</package><BR>> > </packages><BR>> > </service><BR>> > <service uri="sip:9012732009-list@irock.com"><BR>> > <list name="9012732009-list"><BR>> > <rl:entry uri="sip:9012732005@coolbeans.com"/><BR>> > <rl:entry uri="sip:9013349020@coolbeans.com"/><BR>> > </list><BR>> > <packages><BR>> > <package>presence</package><BR>> > </packages><BR>> > </service><BR>> > </rls-services><BR>> > ####<BR>> > T 2012/01/28 23:19:52.641120 173.X.X.X:80 -> 173.X.X.X:39849 [AP]<BR>> > HTTP/1.1 201 Created.<BR>> > Date: Sun, 29 Jan 2012 05:19:52 GMT.<BR>> > Content-Length: 0.<BR>> > ETag: "0a66a8b47732adca8badebeece871fe4".<BR>> > Content-Type: application/rls-services+xml.<BR>> > Server: OpenXCAP/2.0.1.<BR>> > Connection: close.<BR>> > <BR>> > <BR>> > <BR>> > <BR>> > I read over (RFC4826, sec 4.4.5) and it says<BR>> > "The URI in the "uri" attribute of the <service> element MUST be<BR>> > unique amongst all other URIs in "uri" elements in any <service><BR>> > element in any document on a particular server"<BR>> > <BR>> > If I am reading this correctly it is telling me that "<service uri="sip:9012732009-list@irock.com">" needs to be unique. I am pretty positive this is a unique URI and it is not created <BR>> <BR>> Well, just read the XML you pasted above, you have the same URI twice:<BR>> <BR>> > <service uri="sip:9012732009-list@irock.com"><BR>> ^^ service URI 1<BR>> > <resource-list>http://xcap.X.com/xcap-root/resource-lists/users/sip:9012732009@irock.com/index</resource-list><BR>> <BR>> > <packages><BR>> > <package>presence</package><BR>> > </packages><BR>> > </service><BR>> > <service uri="sip:9012732009-list@irock.com"><BR>> ^^ service URI 2<BR>> > <list name="9012732009-list"><BR>> <BR>> <BR>> The are the same.<BR>> <BR>> > anywhere else. Also the RFC says<BR>> > "If a server is asked to set the URI to something that already<BR>> > exists, the server MUST reject the request with a 409,"<BR>> > <BR>> > I am not seeing a 409 error. So if I am understanding RFC4826 then I believe I have done everything right.<BR>> > <BR>> <BR>> Your documents are bogus. That's about it. The XCAP server may have a bug as well, it should have gave that 409 error when pushing the document, though.<BR>> <BR>> <BR>> Regards,<BR>> <BR>> --<BR>> Sa?l Ibarra Corretg?<BR>> AG Projects<BR>> <BR>> <BR>> <BR>> <BR>> <BR>> <BR>> ------------------------------<BR>> <BR>> _______________________________________________<BR>> Users mailing list<BR>> Users@lists.opensips.org<BR>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users<BR>> <BR>> <BR>> End of Users Digest, Vol 44, Issue 63<BR>> *************************************<BR></DIV>                                            </div></body>
</html>