--- Begin Message ---
Send Users mailing list submissions to
[email protected]
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
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Users digest..."
Today's Topics:
1. Re: opensips - hiding interconnection information
(Bogdan-Andrei Iancu)
2. Re: Mediaproxy ver 2.3.4 - Conntrack meets Music on Hold
(Dan Pascu)
3. Re: 408 Timeout with X-Lite (Uwe Kastens)
4. OpenSIPS with OpenXCAP (Michael Ciupka)
5. Re: opensips - hiding interconnection information
(I?aki Baz Castillo)
6. Re: Is opensips a front end to asterisk? (ram)
7. Re: Is opensips a front end to asterisk? ([email protected])
----------------------------------------------------------------------
Message: 1
Date: Thu, 02 Jul 2009 13:04:06 +0300
From: Bogdan-Andrei Iancu <[email protected]>
Subject: Re: [OpenSIPS-Users] opensips - hiding interconnection
information
To: Victor Gamov <[email protected]>
Cc: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi Victor,
Victor Gamov wrote:
> On 01.07.2009 17:07, Bogdan-Andrei Iancu wrote:
>
>> Hi I?aki,
>>
>> not exactly - for hiding the network information is enough to hide some
>> headers (like RR, VIA, Contact).
>>
>
> Call-Id have IP info too.
>
it may - there is no standard way of generating the call-ids and not all
UA do so
But indeed, it is true.
> Pure B2BUA may be a really nice module.
>
There is already finished a full signalling b2bua module. It will be
uploaded soon on SVN.
Regards,
Bogdan
> Thanks!
>
> --
> CU,
> Victor Gamov
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
------------------------------
Message: 2
Date: Thu, 2 Jul 2009 13:33:14 +0300
From: Dan Pascu <[email protected]>
Subject: Re: [OpenSIPS-Users] Mediaproxy ver 2.3.4 - Conntrack meets
Music on Hold
To: Stuart Marsden <[email protected]>
Cc: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
On 2 Jul 2009, at 12:05, Stuart Marsden wrote:
> Hi,
>
> It can be made to work - trust me
I'm sure it can if enough effort is put into it. The problem you face
is that Linksys made many false assumptions when they devised their
MOH scheme and now you have to work around all of them. First of all,
even putting aside the media relay I do not understand how they
imagined this would work with NAT (which is pretty much a given these
days). In order for their scheme to work all involved NAT boxes in the
path (in the absence of a media relay) would need to have async full
cone implementations, which are not the norm, on the contrary are
pretty rare. With a media relay, you need a pretty specialized one and
none of the ones I know can support what they do out of the box. So
the only answer is that their devices currently only work with no NAT
and no media relay involved.
Another false assumption is that the receiving endpoint would accept a
media stream coming from a source that was not negotiated in the
current session. Maybe the Linksys devices accept this and if you
restrict yourself to only using Linksys devices it'll work, but as
soon as you plan to use other devices as well, all bets are off.
> We have a well defined subnet were all our servers live, so you can
> make this process secure by restricting this operation to that subnet
The security issue is not one that is fixed by creating a walled
garden. Isolation won't prevent any of your users to attempt to steal
a conversation for a purpose or simply wreak havoc in the active
sessions
--
Dan
------------------------------
Message: 3
Date: Thu, 02 Jul 2009 12:33:45 +0200
From: Uwe Kastens <[email protected]>
Subject: Re: [OpenSIPS-Users] 408 Timeout with X-Lite
To: Gordon Ross <[email protected]>
Cc: "[email protected]" <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii
Hi,
Is your xlite taking the challenge it get from opensips to REGISTER again?
The (blah) is just an cut&paste error?
BR
Uwe
Gordon Ross schrieb:
> On 02/07/2009 09:49, "Uwe Kastens" <[email protected]> wrote:
>> Strange so far. I cannot see any wrong configuration on a 1st view.
>> Could you see if auth is working and only writing to the USRLOC is
>> failing? (Maybe put some xlog statements around the register part).
>
> Small progress. I discovered another missed un-comment. Now I'm getting 401
> rejected messages.
>
> A few xlogs show it's going into the www_challenge function and not coming
> back:
>
> if (is_method("REGISTER"))
> {
> # authenticate the REGISTER requests (uncomment to enable
> auth)
> if (!www_authorize("", "subscriber"))
> {
> www_challenge("", "1");
> exit;
> }
> (blah)
> }
>
> GTG
>
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
--
kiste lat: 54.322684, lon: 10.13586
------------------------------
Message: 4
Date: Thu, 02 Jul 2009 16:25:53 +0200
From: "Michael Ciupka" <[email protected]>
Subject: [OpenSIPS-Users] OpenSIPS with OpenXCAP
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset="us-ascii"
Hello,
i want to upload my presence-rules.xml to authorize or not authorize watchers.
when i upload the document to openxcap i get these error in my syslog:
can anybody help me to resolve the problems?
i think a big problem is that the server can not find the socket from opensips
in /var/run/opensips/socket. anybody know what can be the reason?
Jul 2 16:14:47 chillazz-desktop openxcap[7654]: Starting factory
<twisted.web.xmlrpc._QueryFactory instance at 0xb505d86c>
Jul 2 16:14:47 chillazz-desktop opensips-mi-proxy[7666]: Got XMLRPC request
from 192.168.2.6: refreshWatchers (sip:[email protected] presence 0)
Jul 2 16:14:47 chillazz-desktop opensips-mi-proxy[7666]: error: cannot write
request to /var/run/opensips/socket: No such file or directory
Jul 2 16:14:47 chillazz-desktop opensips-mi-proxy[7666]: error: Error while
processing command refreshWatchers (sip:[email protected] presence 0): Cannot
send request to OpenSIPS
Jul 2 16:14:47 chillazz-desktop opensips-mi-proxy[7666]: Exception rendering:
Jul 2 16:14:47 chillazz-desktop opensips-mi-proxy[7666]: Traceback (most
recent call last):
Jul 2 16:14:47 chillazz-desktop opensips-mi-proxy[7666]: File
"/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line 186, in
addCallbacks
Jul 2 16:14:47 chillazz-desktop opensips-mi-proxy[7666]:
self._runCallbacks()
Jul 2 16:14:47 chillazz-desktop opensips-mi-proxy[7666]: File
"/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line 328, in
_runCallbacks
Jul 2 16:14:47 chillazz-desktop opensips-mi-proxy[7666]: self.result =
callback(self.result, *args, **kw)
Jul 2 16:14:47 chillazz-desktop opensips-mi-proxy[7666]: File
"/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line 289, in
_continue
Jul 2 16:14:47 chillazz-desktop opensips-mi-proxy[7666]: self.unpause()
Jul 2 16:14:47 chillazz-desktop opensips-mi-proxy[7666]: File
"/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line 285, in
unpause
Jul 2 16:14:47 chillazz-desktop opensips-mi-proxy[7666]:
self._runCallbacks()
Jul 2 16:14:47 chillazz-desktop opensips-mi-proxy[7666]: --- <exception caught
here> ---
Jul 2 16:14:47 chillazz-desktop opensips-mi-proxy[7666]: File
"/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line 328, in
_runCallbacks
Jul 2 16:14:47 chillazz-desktop opensips-mi-proxy[7666]: self.result =
callback(self.result, *args, **kw)
Jul 2 16:14:47 chillazz-desktop opensips-mi-proxy[7666]: File
"/var/lib/python-support/python2.5/miproxy/proxy.py", line 89, in _cbRender
Jul 2 16:14:47 chillazz-desktop opensips-mi-proxy[7666]: code = int(code)
Jul 2 16:14:47 chillazz-desktop opensips-mi-proxy[7666]:
exceptions.ValueError: invalid literal for int() with base 10: 'Cannot'
Jul 2 16:14:47 chillazz-desktop openxcap[7654]: error: Error while notifying
OpenSIPS management interface for user [email protected]: ('500', 'Internal
Server Error')
Jul 2 16:14:47 chillazz-desktop openxcap[7654]: Starting factory
<twisted.web.xmlrpc._QueryFactory instance at 0xb505dd0c>
Jul 2 16:14:47 chillazz-desktop openxcap[7654]: Stopping factory
<twisted.web.xmlrpc._QueryFactory instance at 0xb505d86c>
Jul 2 16:14:47 chillazz-desktop opensips-mi-proxy[7666]: Got XMLRPC request
from 192.168.2.6: pua_publish (sip:[email protected] 3600 xcap-diff
application/xcap-diff+xml . . <?xml version="1.0" encoding="UTF-8"?>
Jul 2 16:14:47 chillazz-desktop opensips-mi-proxy[7666]: <xcap-diff
xmlns="urn:ietf:params:xml:ns:xcap-diff"
xcap-root="https://xcap.example.com/xcap-root">
Jul 2 16:14:47 chillazz-desktop opensips-mi-proxy[7666]: <document
new-etag="ae0b43e23a1f71b581e04049e815dd90"
sel="http://192.168.2.6/xcap-root/pres-rules/users/bob/pres-rules.xml"
previous-etag="98cd61d84d2f2144cc6ecb8014eac49c"/>
Jul 2 16:14:47 chillazz-desktop opensips-mi-proxy[7666]: </xcap-diff>
Jul 2 16:14:47 chillazz-desktop opensips-mi-proxy[7666]: )
Jul 2 16:14:47 chillazz-desktop opensips-mi-proxy[7666]: error: cannot write
request to /var/run/opensips/socket: No such file or directory
Jul 2 16:14:47 chillazz-desktop opensips-mi-proxy[7666]: error: Error while
processing command pua_publish (sip:[email protected] 3600 xcap-diff
application/xcap-diff+xml . . <?xml version="1.0" encoding="UTF-8"?>
Jul 2 16:14:47 chillazz-desktop opensips-mi-proxy[7666]: error: <xcap-diff
xmlns="urn:ietf:params:xml:ns:xcap-diff"
xcap-root="https://xcap.example.com/xcap-root">
Jul 2 16:14:47 chillazz-desktop opensips-mi-proxy[7666]: error: <document
new-etag="ae0b43e23a1f71b581e04049e815dd90"
sel="http://192.168.2.6/xcap-root/pres-rules/users/bob/pres-rules.xml"
previous-etag="98cd61d84d2f2144cc6ecb8014eac49c"/>
Jul 2 16:14:47 chillazz-desktop opensips-mi-proxy[7666]: error: </xcap-diff>
Jul 2 16:14:47 chillazz-desktop opensips-mi-proxy[7666]: error: ): Cannot send
request to OpenSIPS
Jul 2 16:14:47 chillazz-desktop opensips-mi-proxy[7666]: Exception rendering:
Jul 2 16:14:47 chillazz-desktop opensips-mi-proxy[7666]: Traceback (most
recent call last):
Jul 2 16:14:47 chillazz-desktop opensips-mi-proxy[7666]: File
"/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line 186, in
addCallbacks
Jul 2 16:14:47 chillazz-desktop opensips-mi-proxy[7666]:
self._runCallbacks()
Jul 2 16:14:47 chillazz-desktop opensips-mi-proxy[7666]: File
"/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line 328, in
_runCallbacks
Jul 2 16:14:47 chillazz-desktop opensips-mi-proxy[7666]: self.result =
callback(self.result, *args, **kw)
Jul 2 16:14:47 chillazz-desktop opensips-mi-proxy[7666]: File
"/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line 289, in
_continue
Jul 2 16:14:47 chillazz-desktop opensips-mi-proxy[7666]: self.unpause()
Jul 2 16:14:47 chillazz-desktop opensips-mi-proxy[7666]: File
"/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line 285, in
unpause
Jul 2 16:14:47 chillazz-desktop opensips-mi-proxy[7666]:
self._runCallbacks()
Jul 2 16:14:47 chillazz-desktop opensips-mi-proxy[7666]: --- <exception caught
here> ---
Jul 2 16:14:47 chillazz-desktop opensips-mi-proxy[7666]: File
"/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line 328, in
_runCallbacks
Jul 2 16:14:47 chillazz-desktop opensips-mi-proxy[7666]: self.result =
callback(self.result, *args, **kw)
Jul 2 16:14:47 chillazz-desktop opensips-mi-proxy[7666]: File
"/var/lib/python-support/python2.5/miproxy/proxy.py", line 89, in _cbRender
Jul 2 16:14:47 chillazz-desktop opensips-mi-proxy[7666]: code = int(code)
Jul 2 16:14:47 chillazz-desktop opensips-mi-proxy[7666]:
exceptions.ValueError: invalid literal for int() with base 10: 'Cannot'
Jul 2 16:14:47 chillazz-desktop openxcap[7654]: error: Unhandled error in
Deferred:
Jul 2 16:14:47 chillazz-desktop openxcap[7654]: Traceback (most recent call
last):
Jul 2 16:14:47 chillazz-desktop openxcap[7654]: Failure:
exceptions.ValueError: ('500', 'Internal Server Error')
Jul 2 16:14:47 chillazz-desktop openxcap[7654]: Stopping factory
<twisted.web.xmlrpc._QueryFactory instance at 0xb505dd0c>
------------------------------
Message: 5
Date: Thu, 2 Jul 2009 16:39:27 +0200
From: I?aki Baz Castillo <[email protected]>
Subject: Re: [OpenSIPS-Users] opensips - hiding interconnection
information
To: [email protected]
Message-ID: <[email protected]>
Content-Type: Text/Plain; charset="iso-8859-1"
El Jueves, 2 de Julio de 2009, Bogdan-Andrei Iancu escribi?:
> > Pure B2BUA may be a really nice module.
> >
>
> There is already finished a full signalling b2bua module. It will be
> uploaded soon on SVN.
Hi Bogdan, I really wonder how will behave this b2bua module when having
parallel forking with PRACK requests (so CSeq is just incremented in some
early-dialogs).
I assume that b2bua module will depend, as many others, on dialog module,
which doens't handle the above case.
--
I?aki Baz Castillo <[email protected]>
------------------------------
Message: 6
Date: Thu, 2 Jul 2009 20:22:15 +0530
From: ram <[email protected]>
Subject: Re: [OpenSIPS-Users] Is opensips a front end to asterisk?
To: users <[email protected]>
Message-ID:
<[email protected]>
Content-Type: text/plain; charset="iso-8859-1"
I've come across this project a few times but have been having a bit of a
> time confirming just what the project does. I thought perhaps the best way
> would be to join the list and ask.
>
> My task is to put together a scalable asterisk based pbx system. Because
> the boxes will initially have more than they really should installed on
> them, we need to limit the number of users per box to perhaps 50.
>
> Right now, the plan calls for every box to have a second one for
> redundancy. I was planning on manually redirecting connections (for now) but
> it sounds like opensips could take care of a number of issues.
>
> I have multiple providers (WANs) at one location but was thinking that for
> highest reliability, that I might have three locations to be safe unless
> there are better ideas.
>
> One would be the location where the initial user connection is made, such
> as a proxy/load balancer.
> Then, two separate physical locations and networks for redundancy. The
> front end could use both sites as needed but if something went down, could
> re-route users/sessions to the redundant location.
>
> This of course is where my questions about opensips come in.
>
> -From what I can tell, opensips could act as a pbx on it's own but it can
> act as a proxy/load balancer/gateway to asterisk systems as well.
>
> -If this is the case, would there be a way of creating a distributed
> environment, like as in a web server farm, making scaling quite easy.
>
> -Does opensips handle only new incoming connections or could it actually
> move sessions from a down server to another which is still up?
>
> -Would there be any control, or even any need depending on how the back end
> can be set up, by which to control which pbx/pair that someone registers to?
>
> -Would I have some method of controlling how many people can register on
> any one box?
>
> Thank you very much for this information as it will help to first
> understand what the project can do.
>
Hi
thats very big project., for that you need to study the system indepth both
Opensips and Asterisk
at this moment iam working on the same project but my concept is
Opensips -- Registrar and Proxy and hand NAT with rtpproxy
for this Opensips can handle as many as users depends on the hardware and
design of network
use Dispatcher to loadbalance across Asterisk PSTN Round Robin basis
If you can Route X amount of calls to * 1 and * 2 Y amount of calls
use LB modules.
2 Opensips ( for loadbalance registration) replicate
1 Mysql Server
3 Asterisk for PSTN / VoIP handling
Hope this helps to start with.
Ram
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.opensips.org/pipermail/users/attachments/20090702/3fabe115/attachment-0001.htm
------------------------------
Message: 7
Date: Thu, 2 Jul 2009 10:21:38 -0500
From: "[email protected]" <[email protected]>
Subject: Re: [OpenSIPS-Users] Is opensips a front end to asterisk?
To: users <[email protected]>
Message-ID: <200972102138.871...@leena>
Content-Type: text/plain; charset="ISO-8859-1"
Thanks for the input folks!
>?thats very big project., for that you need to study the system indepth both
>?Opensips and Asterisk
It is more of a plan to be able to handle growth while not having so many of
the usual growth pains that ultimately mean losing customers. We want to build
a scalable system, starting with just two boxes of around 50 users each.
The intent is to build something which when we need more than 50 users, we are
not causing down time for the current users, and can easily add resources.
>?Opensips -- Registrar and Proxy and hand NAT with rtpproxy
Everything would be behind firewalls but the users phones would be on the
public side, behind their own firewalls of course. So all servers would likely
be NATed.
So, look into Dispatcher, Registrar and Proxy which are modules or parts of
opensips if I recall.
>?use Dispatcher to loadbalance across Asterisk PSTN Round Robin basis
This I am unclear about at this time. Everything will be SIP/IAX based, no PSTN
lines will be used. We may have some PRI's here and there at some point but not
initially.
>?2 Opensips ( for loadbalance registration) replicate
>?1 Mysql Server
>?3 Asterisk for PSTN??/ VoIP handling
While I had not seen this, I believed that opensips would have the capabilities
of being run redundant. I am also guessing that this could be done not only on
one LAN but perhaps in two different locations?
Don't suppose there's an ISO installable version which could be used to get a
better view of how things are set up.
Mike
------------------------------
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
End of Users Digest, Vol 12, Issue 10
*************************************
--- End Message ---