[OpenSIPS-Users] Users Digest, Vol 44, Issue 63
talha jilal
talha_jilal at hotmail.com
Mon Mar 19 17:46:38 CET 2012
Hi,
First Very thanks for your reply, and I am very new with opensips.
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.
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.
Thanks !
Talha Jilal
> From: users-request at lists.opensips.org
> Subject: Users Digest, Vol 44, Issue 63
> To: users at lists.opensips.org
> Date: Mon, 19 Mar 2012 12:00:06 +0100
>
> Send Users mailing list submissions to
> users at lists.opensips.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> or, via email, send a message with subject or body 'help' to
> users-request at lists.opensips.org
>
> You can reach the person managing the list at
> users-owner at lists.opensips.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Users digest..."
>
>
> Today's Topics:
>
> 1. Re: Users Digest, Vol 44, Issue 25 (SamyGo)
> 2. Re: Trying to get Snom Contact List to work with OpenSIPS RLS
> (Sa?l Ibarra Corretg?)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 19 Mar 2012 10:27:59 +0500
> From: SamyGo <govoiper at gmail.com>
> Subject: Re: [OpenSIPS-Users] Users Digest, Vol 44, Issue 25
> To: OpenSIPS users mailling list <users at lists.opensips.org>
> Message-ID:
> <CAJUJwtgid9ahzFxvF1GB8XV4xz3iR05UXrQYxD8ZDaksbxhr0Q at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi Talha,
> Just a friendly suggestion if you're very new to this. Instead of making
> some custom configuration with your own hands try running any sample
> configuration file which is closer to your voip-setup (in terms of network
> connectivity). For that I'd again like you to describe your setup. What is
> it that you're trying to make and how is it setup so far !?
>
> Regards,
> Sammy.
>
> On Sat, Mar 17, 2012 at 2:01 AM, Alex Ionescu <alex at opensips.org> wrote:
>
> > Hi,
> >
> > I think that, a first step, in your case would be to use
> > "advertised_address".
> > Here, read this:
> > http://www.opensips.org/Resources/DocsCoreFcn17#toc24
> >
> > Regards,
> > Alex
> >
> >
> >
> > On 03/16/2012 08:51 PM, talha jilal wrote:
> >
> > I appologise for That Bogdan, Any suggesion ?
> >
> > Thanks !
> >
> > Talha Jilal
> >
> >
> >
> > ------------------------------
> > Date: Fri, 16 Mar 2012 19:55:00 +0200
> > From: bogdan at opensips.org
> > To: talha_jilal at hotmail.com
> > CC: users at lists.opensips.org
> > Subject: Re: Users Digest, Vol 44, Issue 25
> >
> > 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.
> >
> > 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.
> >
> > So, your setup is bogus.
> >
> > Regards,
> > Bogdan
> >
> > On 03/16/2012 04:40 PM, talha jilal wrote:
> >
> > Hi,
> >
> > Here you find output ,
> >
> > http://pastebin.com/ivWcFaXi
> >
> > Thanks for your help, can I get reply soon. Its taking too long.
> >
> >
> > Thanks !
> > ------------------------------
> > Date: Fri, 16 Mar 2012 13:52:36 +0200
> > From: bogdan at opensips.org
> > To: talha_jilal at hotmail.com
> > CC: users at lists.opensips.org
> > Subject: Re: Users Digest, Vol 44, Issue 25
> >
> > Hi,
> >
> > To get ngrep to filter the capturing on "300" do :
> > ngrep -d any -W byline -t *300* port 5060
> >
> > upload the output somewhere on pastebin or similar - this mailing list is
> > limited to attachments of 40K.
> >
> > Regards,
> > Bogdan
> >
> > On 03/15/2012 04:54 PM, talha jilal wrote:
> >
> >
> > Hello Bogdan,
> >
> >
> > 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.
> >
> >
> >
> >
> > To: <sip:300 at svoice.dyndns.org;user=phone>;tag=4249013220.
> > Contact: "300" <sip:300 at 192.168.1.104:5060;transport=udp>.
> > i="300"<sip:>.
> > a=X-NameLabel:300.
> > To: <sip:300 at svoice.dyndns.org;user=phone>;tag=4249013220.
> > Contact: "300" <sip:300 at 192.168.1.104:5060;transport=udp>.
> > i="300"<sip:>.
> >
> > ^C
> >
> > *
> > *
> > *
> > *
> > *Thanks !
> > Talha Jilal
> >
> > *
> >
> > ------------------------------
> > Date: Wed, 14 Mar 2012 14:22:23 +0200
> > From: bogdan at opensips.org
> > To: talha_jilal at hotmail.com
> > CC: users at lists.opensips.org
> > Subject: Re: Users Digest, Vol 44, Issue 25
> >
> > I mentioned ngrep, not grep :D .
> >
> > Do :
> > ngrep -d any -W byline -t . port 5060
> >
> > Regards,
> > Bogdan
> >
> > On 03/12/2012 08:54 PM, talha jilal wrote:
> >
> >
> > Hi,
> >
> >
> > Here is output with grep
> >
> > Please advise me full command if I am doing some thing wrong, I am using
> > centos 6.0 32 bit.
> >
> >
> >
> > -bash-4.1# tcpdump -i eth2 -n -s0 -vvv tcp port 5060 | grep 300
> > tcpdump: listening on eth2, link-type EN10MB (Ethernet), capture size
> > 65535 bytes
> >
> >
> >
> > 07:51:21.257355 IP (tos 0x0, ttl 118, id 27728, offset 0, flags [DF],
> > proto TCP (6), length 1300)
> > 07:51:27.511152 IP (tos 0x10, ttl 64, id 6173, offset 0, flags [DF], proto
> > TCP (6), length 1300)
> > 07:51:28.015258 IP (tos 0x10, ttl 64, id 6175, offset 0, flags [DF], proto
> > TCP (6), length 1300)
> > 07:51:29.022329 IP (tos 0x10, ttl 64, id 6177, offset 0, flags [DF], proto
> > TCP (6), length 1300)
> >
> >
> >
> >
> > Thanks
> >
> > ------------------------------
> > Date: Mon, 12 Mar 2012 20:30:10 +0200
> > From: bogdan at opensips.org
> > To: talha_jilal at hotmail.com; users at lists.opensips.org
> > Subject: Re: Users Digest, Vol 44, Issue 25
> >
> > Hi,
> >
> > 1) please keep the list at CC all the time !
> >
> > 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.
> >
> > Regards,
> > Bogdan
> >
> >
> > --
> > Bogdan-Andrei Iancu
> > OpenSIPS Founder and Developerhttp://www.opensips-solutions.com
> >
> >
> >
> > --
> > Bogdan-Andrei Iancu
> > OpenSIPS Founder and Developerhttp://www.opensips-solutions.com
> >
> >
> >
> > _______________________________________________
> > Users mailing listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >
> >
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.opensips.org
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.opensips.org/pipermail/users/attachments/20120319/c54d9652/attachment.html>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 19 Mar 2012 10:46:58 +0100
> From: Sa?l Ibarra Corretg? <saul at ag-projects.com>
> Subject: Re: [OpenSIPS-Users] Trying to get Snom Contact List to work
> with OpenSIPS RLS
> To: OpenSIPS users mailling list <users at lists.opensips.org>
> Message-ID: <22EA6A15-821C-445A-A686-EC219462832B at ag-projects.com>
> Content-Type: text/plain; charset=iso-8859-1
>
> Hi Duane,
>
> [snip]
>
> >
> > I created it by doing the following
> >
> > PUT /xcap-root/rls-services/users/sip:9012732009 at irock.com/index HTTP/1.1.
> > Accept-Encoding: identity.
> > Content-Length: 798.
> > Host: xcap.X.com.
> > User-Agent: python-xcaplib/1.0.16.
> > Connection: close.
> > Content-Type: application/x-www-form-urlencoded.
> > Authorization: Digest username="9012732009", realm="irock.com", nonce="332840634855165799770139975774574805066135619005395955328", uri="/xcap-root/rls-services/users/sip:9012732009 at irock.com/index", response="f76c6a6375156936cb0c5d6137a325ad", opaque="0a430b4a4d580e7d473c2697c9d61477-MzMyODQwNjM0ODU1MTY1Nzk5NzcwMTM5OTc1Nzc0NTc0ODA1MDY2MTM1NjE5MDA1Mzk1OTU1MzI4LDE3My4yMDMuODEuMTExLDEzMjc4MTQzOTE=", algorithm="MD5", qop=auth, nc=00000001, cnonce="dfd8addb86008b0e".
> > .
> > ##
> > T 2012/01/28 23:19:51.385478 173.X.X.X:39849 -> 173.X.X.X:80 [AP]
> > <?xml version="1.0" encoding="UTF-8"?>
> > <rls-services xmlns="urn:ietf:params:xml:ns:rls-services"
> > xmlns:rl="urn:ietf:params:xml:ns:resource-lists"
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> > <service uri="sip:9012732009-list at irock.com">
> > <resource-list>http://xcap.X.com/xcap-root/resource-lists/users/sip:9012732009@irock.com/index</resource-list>
>
> ^^^ 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.
>
> > <packages>
> > <package>presence</package>
> > </packages>
> > </service>
> > <service uri="sip:9012732009-list at irock.com">
> > <list name="9012732009-list">
> > <rl:entry uri="sip:9012732005 at coolbeans.com"/>
> > <rl:entry uri="sip:9013349020 at coolbeans.com"/>
> > </list>
> > <packages>
> > <package>presence</package>
> > </packages>
> > </service>
> > </rls-services>
> > ####
> > T 2012/01/28 23:19:52.641120 173.X.X.X:80 -> 173.X.X.X:39849 [AP]
> > HTTP/1.1 201 Created.
> > Date: Sun, 29 Jan 2012 05:19:52 GMT.
> > Content-Length: 0.
> > ETag: "0a66a8b47732adca8badebeece871fe4".
> > Content-Type: application/rls-services+xml.
> > Server: OpenXCAP/2.0.1.
> > Connection: close.
> >
> >
> >
> >
> > I read over (RFC4826, sec 4.4.5) and it says
> > "The URI in the "uri" attribute of the <service> element MUST be
> > unique amongst all other URIs in "uri" elements in any <service>
> > element in any document on a particular server"
> >
> > If I am reading this correctly it is telling me that "<service uri="sip:9012732009-list at irock.com">" needs to be unique. I am pretty positive this is a unique URI and it is not created
>
> Well, just read the XML you pasted above, you have the same URI twice:
>
> > <service uri="sip:9012732009-list at irock.com">
> ^^ service URI 1
> > <resource-list>http://xcap.X.com/xcap-root/resource-lists/users/sip:9012732009@irock.com/index</resource-list>
>
> > <packages>
> > <package>presence</package>
> > </packages>
> > </service>
> > <service uri="sip:9012732009-list at irock.com">
> ^^ service URI 2
> > <list name="9012732009-list">
>
>
> The are the same.
>
> > anywhere else. Also the RFC says
> > "If a server is asked to set the URI to something that already
> > exists, the server MUST reject the request with a 409,"
> >
> > I am not seeing a 409 error. So if I am understanding RFC4826 then I believe I have done everything right.
> >
>
> 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.
>
>
> Regards,
>
> --
> Sa?l Ibarra Corretg?
> AG Projects
>
>
>
>
>
>
> ------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
> End of Users Digest, Vol 44, Issue 63
> *************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20120319/2edc7ed7/attachment-0001.htm>
More information about the Users
mailing list