[OpenSIPS-Users] mediaproxy opensips bug

2009-04-21 Thread lixk
hello I am a user of opensips+mediaproxy. now i am doing account using mediaprxoy and freeradius.but when i add the radius dictionary . it return this: Starting MediaProxy Dispatcher 2.3.2 Twisted is using selectreactor cannot read the RADIUS configuration file failed to create MediaProxy Di

Re: [OpenSIPS-Users] Dictionary Problem

2009-04-21 Thread ASHWINI NAIDU
hi bay2x1, You can get the dictionary. opensips in CDRToolof if u have installed opensips then u can get dictionary.opensips in /etc/opensips of which ever path you have installed the opensips. *In .~/freeradius/You need to copy dictionary.opensips*. Then edit the dictionary file in freera

Re: [OpenSIPS-Users] Openxcap Install

2009-04-21 Thread server monitor
Hi Ashwini, that was it. Thanks much. A note to all OPENXCAP`ers not building on Debian: An OS with Python 2.5 or better is the trick to smooth install. Fedora 10 as opposed to CentOS 5.3 for example. A list of dependencies and versions used available to anyone that needs. Thanks again for the h

[OpenSIPS-Users] Dictionary Problem

2009-04-21 Thread bay2x1
Hi all! I am a bit confuse on where to put the dictionaries. I have installed freeradius and I am using radiusclient-ng for my client. And I think I messed up all my dictionary copies where can I obtain copy. -- View this message in context: http://n2.nabble.com/Dictionary-Problem-tp2673704p2

[OpenSIPS-Users] Call Drop every 4 minutes

2009-04-21 Thread kchan1028
I am facing call drop issue every 4 minutes only to Africa country such as Ivory Coast, Cameroon. This only happen if i use (!allow_trust) via permission module instead of (!proxy_authorize) in INVITE message to Asteirsk. I tried on both OpenSER 1.3 version with Mediaproxy 1 and OpenSIPS 1.4 versi

Re: [OpenSIPS-Users] Removing a VIA line required by Telco.

2009-04-21 Thread David Gilbert
Bogdan-Andrei Iancu wrote: > Hi Davis, > > David Gilbert wrote: >> Jeff Pyle wrote: >> >>> David, >>> >>> Opensips is a proxy. A proxy's role is dictated by RFC3261. It's >>> fast, >>> lightweight, very scalable, and has some very nice features you're >>> already >>> taking advantages of. Bu

[OpenSIPS-Users] doing next priority dialing in case of 504 reply received

2009-04-21 Thread Ricardo Carvalho
Hi, I'm implementing a route in openser.cfg which sends calls to ENUM destinations via one SBC. In cases where there is no IP connectivity for that ENUM calls to be delivered, my SBC fires a timeout sending back to openser a 504 SIP message reply. In this cases I would like to be able to implemen

Re: [OpenSIPS-Users] SIP trunk provider lab

2009-04-21 Thread Bogdan-Andrei Iancu
Hi Robert, Robert Borz wrote: > Hi Bogdan, > > I tried it and it works great! Thanks again for your help. :-) > glad it worked. > But one thing... how can I achieve this the other way around? > use...@domain.de should be able to place calls, which should look as > originated from one of its "a

Re: [OpenSIPS-Users] SIP trunk provider lab

2009-04-21 Thread Robert Borz
Hi Bogdan, I tried it and it works great! Thanks again for your help. :-) But one thing... how can I achieve this the other way around? use...@domain.de should be able to place calls, which should look as originated from one of its "alias" accounts. I think it must be as easy as your workaround

Re: [OpenSIPS-Users] Precense Policies

2009-04-21 Thread Adrian Georgescu
I really means exactly what you read. OpenXCAP can store that information. Whether somebody really puts its there and makes use of it is not up to OpenXCAP is up to the devices that uses it. Adrian On Apr 21, 2009, at 2:34 PM, Michael Ciupka wrote: Hello but what mean the openxcap homepag

[OpenSIPS-Users] R: Ring Group - Memory Hunt - with serial forking?

2009-04-21 Thread Mauro Davi'
OK.. now I understand!!! :-) -Messaggio originale- Da: users-boun...@lists.opensips.org [mailto:users-boun...@lists.opensips.org] Per conto di Chris Maciejewski Inviato: martedì 21 aprile 2009 14:06 A: users@lists.opensips.org Oggetto: Re: [OpenSIPS-Users] Ring Group - Memory Hunt - with

Re: [OpenSIPS-Users] Precense Policies

2009-04-21 Thread Michael Ciupka
Hello but what mean the openxcap homepage with this point?: Supported XCAP applications: Presence rules (auid = pres-rules, org.openmobilealliance.pres-rules). A Presence Rules application is an application which uses authorization policies, also known as authorization rules, to specify what pre

Re: [OpenSIPS-Users] Precense Policies

2009-04-21 Thread Adrian Georgescu
On Apr 21, 2009, at 2:17 PM, Michael Ciupka wrote: Hi Can me please somebody help me with this understanding problem? I have opensips with the presence module and openxcap installed and it starts working pretty good. One thing I dont understand. I want to have Presence Polcies, so that f.e.

[OpenSIPS-Users] Precense Policies

2009-04-21 Thread Michael Ciupka
Hi Can me please somebody help me with this understanding problem? I have opensips with the presence module and openxcap installed and it starts working pretty good. One thing I dont understand. I want to have Presence Polcies, so that f.e. bob can see alice from 10 till 12 a.m OR a that a thir

Re: [OpenSIPS-Users] Ring Group - Memory Hunt - with serial forking?

2009-04-21 Thread Chris Maciejewski
2009/4/21 Bogdan-Andrei Iancu : > Hi Chris, > > Chris Maciejewski wrote: >> >> Hi, >> >> I am trying to implement a Ring Group with >> a Memory Hunt ring strategy. >> >> The scenario looks as follows: >> >> There is a subscriber A, B and C. All of them are members of the same >> Ring Group. >> >> W

Re: [OpenSIPS-Users] R: R: Ring Group - Memory Hunt - with serial forking?

2009-04-21 Thread Steven C. Blair
There are somewhat ugly ways to do this. I did it in SER v0.9.x but admit my approach was not very elegant. SER v2 has a module to do sequential hunting in a more elegant fashion. In my approach I check if the extension has permission to use call hunting and if hunting is enabled at this time.

Re: [OpenSIPS-Users] replace_from restore redundant from

2009-04-21 Thread kaiser
Bogdan, If I use uac_replace_from in a route already, how do I change from in further failure_route call handling? Or I have use a B2BUA for this purpose? best regards kaiser >> >> 2. use uac_replace_from in request route and failure route: >> It makes outgoping INVITE with strange from header.

Re: [OpenSIPS-Users] replace_from restore redundant from

2009-04-21 Thread kaiser
Bogdan, After calling twice uac_replace_from() in failure route the 200 OK reply restores the from header as Status-Line: SIP/2.0 200 OK Via: SIP/2.0/UDP 63.28.2.7:5060;branch=z9hG4bK58da20a7bfb4a3161fe339136a58343d Record-Route: From: "k100" ;tag=3449301004-70

Re: [OpenSIPS-Users] replace_from restore redundant from

2009-04-21 Thread Bogdan-Andrei Iancu
Hi Kaiser, kaiser wrote: > Bogdan, > > We have tested several ways: > > 1. use uac_replace_from in failure route only: > this make redundant "from" header in reply 200 OK. so you use it only in failure_route, this should be ok - what do you mean by redundant FROM hdr? can you post a trace ? > > 2

Re: [OpenSIPS-Users] R: R: Ring Group - Memory Hunt - with serial forking?

2009-04-21 Thread Bogdan-Andrei Iancu
Hi Mauro, yes, you can can obtain a sequential forking, but what Chris is a parallel forking but with delayed branches. Regards, Bogdan Mauro Davi' wrote: > Sorry, > > and if I can change the qvalue with the lookup function (how with the path > proposed) I cannot obtain a working sequential f

Re: [OpenSIPS-Users] replace_from restore redundant from

2009-04-21 Thread kaiser
Bogdan, We have tested several ways: 1. use uac_replace_from in failure route only: this make redundant "from" header in reply 200 OK. 2. use uac_replace_from in request route and failure route: It makes outgoping INVITE with strange from header. br kk Bogdan-Andrei Iancu 提到: > Hi KK, > > do

[OpenSIPS-Users] R: R: Ring Group - Memory Hunt - with serial forking?

2009-04-21 Thread Mauro Davi'
Sorry, and if I can change the qvalue with the lookup function (how with the path proposed) I cannot obtain a working sequential forking (i.e. the first call is sent to the first contact after the ring timeout the call (with the next_branch function) is forwarded to the second contact and so on

Re: [OpenSIPS-Users] SIP trunk provider lab

2009-04-21 Thread Bogdan-Andrei Iancu
What you can do is: 1) before applying aliases, save the RURI into an AVP 2) do alias ->userXY, do whatever other routing stuff, including lookup("location"); 3) just before sending out the request, do: if $du (destination URI) is empty, copy the current RURI into $du ($du = $ru); (id $du alread

Re: [OpenSIPS-Users] SIP trunk provider lab

2009-04-21 Thread Robert Borz
Hi Bogdan, yes, that's exactly what I want... :-) Regards, Robert. -Original Message- From: bog...@voice-system.ro [mailto:bog...@voice-system.ro] Sent: Tuesday, April 21, 2009 11:38 AM To: robert.b...@web.de Cc: h...@elnour.biz; users@lists.opensips.org Subject: Re: [OpenSIPS-Users] S

Re: [OpenSIPS-Users] SIP trunk provider lab

2009-04-21 Thread Bogdan-Andrei Iancu
Hi Robert, you mean, at the end, you want to sent it to use...@domain.de phone, but with 1...@domain.de in RURI, right ? Regards, Bogdan Robert Borz wrote: > Hi Bogdan, > > could you be more specific here, please? > > I want to setup a similar configuration. I want to forward let's say 300 > n

Re: [OpenSIPS-Users] R: Ring Group - Memory Hunt - with serial forking?

2009-04-21 Thread Bogdan-Andrei Iancu
Hi Mauro, not really (as I understand it). What Chris wants to do is not to start all branches (for parallel forking) in the same time (as you do), but to start them one by one (ad different time intervals). Regards, bogdan Mauro Davi' wrote: > Sorry Bogdan, > > If I understand, this is the sc

Re: [OpenSIPS-Users] OpenSIPS does not reuse existingTLS-connections on outbound requests

2009-04-21 Thread Bogdan-Andrei Iancu
Hi Franz, Franz Edler wrote: > Hi Bogdan and all, > > >> I will post the issue at the eyebeam support forum. >> > > After many struggles I now come back to the OpenSIPS mailing list, because I > think now that it is a problem of OpenSIPS and not that of the SIP clients. > > The problem is,

Re: [OpenSIPS-Users] prefix routing, registration and NAT / suggested module

2009-04-21 Thread Bogdan-Andrei Iancu
Hi Julien, prefix routing - see drouting module NAT support - nathelper or mediaproxy modules. Regards, Bogdan Julien Chavanton wrote: > > Hi, I want to do prefix routing, registration and support NAT > > Should I use the following : carrierroute, nathelper and mediaproxy > Are they still r

Re: [OpenSIPS-Users] Removing a VIA line required by Telco.

2009-04-21 Thread Bogdan-Andrei Iancu
Hi Davis, David Gilbert wrote: > Jeff Pyle wrote: > >> David, >> >> Opensips is a proxy. A proxy's role is dictated by RFC3261. It's fast, >> lightweight, very scalable, and has some very nice features you're already >> taking advantages of. But, it's still only a proxy. A proxy needs Via >

[OpenSIPS-Users] R: Ring Group - Memory Hunt - with serial forking?

2009-04-21 Thread Mauro Davi'
Sorry Bogdan, If I understand, this is the scenarious that I implemented. With the lookup function patch (that add the q value to the input parameter, the same assigned to you) Chris can invoke the lookup function three time with the three subscriber and obviously three different qvalue. After

Re: [OpenSIPS-Users] SIP trunk provider lab

2009-04-21 Thread Robert Borz
Hi Bogdan, could you be more specific here, please? I want to setup a similar configuration. I want to forward let's say 300 numbers (sip accounts) to a single SIP account without loosing the R-URI, because the box receiving the forwarded calls should be able to distinct which number was diale

Re: [OpenSIPS-Users] Removing a VIA line required by Telco.

2009-04-21 Thread Bogdan-Andrei Iancu
Hi Iñaki, Iñaki Baz Castillo wrote: > El Lunes, 20 de Abril de 2009, David Gilbert escribió: > > >> Can't OpenSIPS be smart and remember the other VIA line as part of the >> "state" it keeps? >> > > This would require storing the second (and others) Via headers in memory and > appending t

Re: [OpenSIPS-Users] replace_from restore redundant from

2009-04-21 Thread Bogdan-Andrei Iancu
Hi KK, do you do uac_replace_from() in other routes than failure_route() ? like in request route when you process the request for the first time? Regards, Bogdan Gentrice's kaiser wrote: > Dear Sir: > > > I wrote a failure route for serial call mechanism, it help for no > answer call ... >

Re: [OpenSIPS-Users] Ring Group - Memory Hunt - with serial forking?

2009-04-21 Thread Bogdan-Andrei Iancu
Hi Chris, Chris Maciejewski wrote: > Hi, > > I am trying to implement a Ring Group with > a Memory Hunt ring strategy. > > The scenario looks as follows: > > There is a subscriber A, B and C. All of them are members of the same > Ring Group. > > When there is a INVITE to a "Ring Group" Opensips sh

Re: [OpenSIPS-Users] opening 2 and more channels on 1 SIP account

2009-04-21 Thread Bogdan-Andrei Iancu
Hi Tamer, OpenSIPS can deliver as many calls as you want to a single SIP account, but depends on the device registered with that account (the GS ata) how to handle the multiple calls. Regards, Bogdan Tamer Higazi wrote: > Hi! > I am new to opensips, and I am looking for a powerfull sip gateway

Re: [OpenSIPS-Users] mediaproxy, which function rewrites sdp information

2009-04-21 Thread Bogdan-Andrei Iancu
Hi Uwe, Actually none of the functions you listed do change the SDP - both are mangling the signalling part (VIA and Contact headers). engage_media_proxy() is the function that triggers all the changes in the SDP part. Regards, Bogdan Uwe Kastens wrote: > Hi, > > I need to call both > > for

Re: [OpenSIPS-Users] Blacklisting registered users at runtime (and have it be persistent).

2009-04-21 Thread Bogdan-Andrei Iancu
Hi Bobby, you can blacklist a user by forbidden it to register (at REGISTER time). You can use something similar to groups / ACL to know what users to blacklist. As I guess you do auth before save("location"), use the "load_credential" auth_db param to load some extra fields from "subscriber"

Re: [OpenSIPS-Users] Opensips, avpops and avp_db_query( ), and pgpool2 -- questions, suggestions, issues

2009-04-21 Thread Bogdan-Andrei Iancu
Hi Bobby, you mean the current process is stucked in something.. I suspect in PQgetResult() trying to read the result. Can you attach with gdb to one of this blocked processes and get the backtrace (to see where they are blocked) ? Regards, Bogdan Bobby Smith wrote: > Removing pgpool from th

Re: [OpenSIPS-Users] Opensips, avpops and avp_db_query( ), and pgpool2 -- questions, suggestions, issues

2009-04-21 Thread Bogdan-Andrei Iancu
Hi Bobby, Bobby Smith wrote: > All, > > We're currently (successfully) testing a configuration of Opensips as > a stateless proxy. I wanted to be able to execute an arbitrary > database query to a database that's NOT the opensips database, when I > realized the power of the avp_db_query( ) fun