Re: [OpenSIPS-Users] Restricting CallerID

2009-03-16 Thread Chamo
Hello Alex, I have exactly same problem, but have no idea how to do that with rpid credential. Could you please send any example configuration? thanks a lot Alex Balashov wrote / napísal(a): Andrew Yager wrote: On 09/03/2009, at 4:39 PM, Alex Balashov wrote: I suggest setting an

Re: [OpenSIPS-Users] [OpenSIPS-Devel] dialog module: dialog not cleaned up when BYE is sent

2009-03-16 Thread Herman Bastiaens
Hi Bogdan, the issue is resolved when using the DID for dialog matching, but if I use dlg_match_mode 2, the error still occurs. Is there a problem with the matching of messages to dialogs if there is no DID present? Best Regards, Herman Bogdan-Andrei Iancu wrote: Hi Herman, Thanks for

Re: [OpenSIPS-Users] About Routing Logic in opensips.cfg

2009-03-16 Thread maanasa
Hi Cheng, I have the same problem as you, where a 600 Busy everywhere message is sent for the same setup as yours (OpenSIPS and OpenIMSCore but with a X-Lite client). I am using OpenSIPS as an application server and thus defined it in FHoSS with SPTs as SUBSCRIBE and PUBLISH for the SIP-methods.

Re: [OpenSIPS-Users] [OpenSIPS-Devel] dialog module: dialog not cleaned up when BYE is sent

2009-03-16 Thread Herman Bastiaens
Hi Bogdan, yes, I see these messages in the log. You can also find them in the log I've sent you on monday (09-03). Because the DID was not present (due to the record_route_preset bug), the matching mode falls back to matching based on SIP elements. Best Regards, Herman Bogdan-Andrei Iancu

Re: [OpenSIPS-Users] OpenSipS + CentOS: No debug logs!

2009-03-16 Thread Bogdan-Andrei Iancu
Hi Noel, How do you set the debug level? in the script (debug=6) or as command line param (-d) ? Also, where is your logging done? console (standard error) or syslog ? Regards, Bogdan Noel R. Morais wrote: I've installed it in another CentOS machine and didn't work . I'm lost ... haha

Re: [OpenSIPS-Users] Retrieve headers from negative reply

2009-03-16 Thread Bogdan-Andrei Iancu
Hi Jeff, Do you get this crash all the time when using the get_redirect() function ? Regards, Bogdan Jeff Pyle wrote: Hello, Is there any way to retrieve headers from a response, rather than the request? I need the Contact header out of a 302 response. Both $hdr(Contact) and $ct give me

Re: [OpenSIPS-Users] multiple string transformations

2009-03-16 Thread Bogdan-Andrei Iancu
Hi Jeff, the correct format is the first one: $(var(xyz){param.value,peer}{s.unescape.user}) but you mentioned errors for it, so these are startup or runtime errors? can you post them? Regards, Bogdan Jeff Pyle wrote: Hello, What is the proper way to apply multiple string

Re: [OpenSIPS-Users] SIP trunk provider lab

2009-03-16 Thread Bogdan-Andrei Iancu
Hi Elnor, h...@elnour.biz wrote: Hi, thank you for your response! correct me if I'm wrong, but aren't we going to loose dest phone number if we use dbaliases? Not necessary - depends of how you define the alias. For ex, you can do: d...@server - DID@ trunk preserve the username

Re: [OpenSIPS-Users] Register aliasing

2009-03-16 Thread Bogdan-Andrei Iancu
Hi Romanov, Romanov Vladimir wrote: Hi! We want implement next scheme. From user side: 1) Every user has two usernames – login billingid. Passwords are same for both. 2) User can login using both names. Just for sample user can login form PC using one name and from mobile device

Re: [OpenSIPS-Users] Double Registration transaction

2009-03-16 Thread Bogdan-Andrei Iancu
Hi, Why do you say is executed twice?? Maybe you mistake the 2 REGISTERs because of the authentication process... REGISTER + 401 ; REGISTER + 200 OK Regards, Bogdan bay2x1 wrote: I tried creating my own registration configuration. Using the ngrep tool I was able to capture the header

[OpenSIPS-Users] SUSPECT: Re: SUSPECT: Re: SUSPECT: Rewrite From Header In CANCEL forwarded packet

2009-03-16 Thread Marc Leurent
Thanks Bogdan, I haven't seen your email before, it has been tagged as spam by our exchange! Have a nice day Le Friday 13 March 2009 12.19:33 Bogdan-Andrei Iancu, vous avez écrit : Hi Marc, use uac_replace_from() from UAC module to get changes persistent across the transaction:

Re: [OpenSIPS-Users] mediaproxy: TLS unexpected length

2009-03-16 Thread Ruud Klaver
Hi Erik, On 16 Mar 2009, at 02:45, erik pepermans wrote: Installed mediaproxy on centos - got following when starting dispatcher and relay : Mar 16 02:33:05 ns1 media-dispatcher[21875]: [-] Log opened. Mar 16 02:33:05 ns1 media-dispatcher[21875]: [-] Starting MediaProxy Dispatcher

[OpenSIPS-Users] Loadbalancing/Failover with 1.4

2009-03-16 Thread Uwe Kastens
Hello, I have the following setup: UA opensips asterik1 to asterisk3 pstn-gw With the dispatching module its easy to handle the calls from UA to pstn. The other way is the tricky one, since the pstn-gw will route the calls randomly to one of the asterisk-server. So I need a stable solution

Re: [OpenSIPS-Users] Loadbalancing/Failover with 1.4

2009-03-16 Thread Bogdan-Andrei Iancu
Hi Uwe, First of all, route via dispatcher only initial requests (without totag) and use record-route on the dispatcher box. This will force BYEs from PSTN to be routed via the same servers. Regards, Bogdan Uwe Kastens wrote: Hello, I have the following setup: UA opensips asterik1 to

Re: [OpenSIPS-Users] CDRTool - ReloadRatingTables and new destinations

2009-03-16 Thread DanB
Hey Adrian, thanks for the quick reaction. Here it comes what I found out after tests (could be I am doing something wrong): * ReloadRatingTables produces a reload of destination table now (during normalize.php execution, so not real-time but depending on how often this script is run in cron).

Re: [OpenSIPS-Users] CDRTool - ReloadRatingTables and new destinations

2009-03-16 Thread Adrian Georgescu
On Mar 16, 2009, at 11:36 AM, DanB wrote: Hey Adrian, thanks for the quick reaction. Here it comes what I found out after tests (could be I am doing something wrong): * ReloadRatingTables produces a reload of destination table now (during normalize.php execution, so not real-time but

[OpenSIPS-Users] XCAP pres-rules changes not taking effect?

2009-03-16 Thread Gustavo Santana Robledo
Hi there, I'm doing some tests with XCAP in integrated mode and I´m having some issues with pres-rules documents. My problem seems to be that the changes in the xcap document doesn't seem to be taking effect. I was wondering if someone else encountered the same problem? I'm not running

Re: [OpenSIPS-Users] XCAP pres-rules changes not taking effect?

2009-03-16 Thread Adrian Georgescu
If you change the pres-rules document you need to setup the mi interface to run the reloadWatchers command. Adrian On Mar 16, 2009, at 11:54 AM, Gustavo Santana Robledo wrote: Hi there, I'm doing some tests with XCAP in integrated mode and I´m having some issues with pres-rules

Re: [OpenSIPS-Users] XCAP pres-rules changes not taking effect?

2009-03-16 Thread Gustavo Santana Robledo
Sorry forgot to say that I'm running the version 1.4.4 thanks From: Gustavo Santana Robledo gsant...@fedetec.es To: Users@lists.opensips.org Date: 16/03/2009 11:55 Subject: [OpenSIPS-Users] XCAP pres-rules changes not taking effect? Sent by: users-boun...@lists.opensips.org Hi

Re: [OpenSIPS-Users] CDRTool - ReloadRatingTables and new destinations

2009-03-16 Thread Dan-Cristian Bogos
Adrian, On Mon, 2009-03-16 at 11:50 +0100, Adrian Georgescu wrote: This is a problem unrelated to the destinations reload. Most likely you did not create the correct rating table data. I am not sure if it is due to correct rating table data (should see no Span price in that case I think), so

Re: [OpenSIPS-Users] Retrieve headers from negative reply

2009-03-16 Thread Jeff Pyle
Hi Bogdan, It turned out it wasn't the get_redirect() function but t_relay trying to route based on some bad Contact information that serialize_branches/next_branches had loaded into the RURI. I didn't spend much time on it because I leared to access to reply Contact header directly in the reply

Re: [OpenSIPS-Users] 3.00 load avg

2009-03-16 Thread Jeff Pyle
Dan, # netstat -pan | grep opensips udp0 0 ww.xx.yy.zz:50600.0.0.0:* 13788/opensips unix 2 [ ] DGRAM31333 13821/opensips /tmp/opensips.sock unix 3 [ ] STREAM CONNECTED 31355 13788/opensips unix 2 [ ]

Re: [OpenSIPS-Users] Retrieve headers from negative reply

2009-03-16 Thread Bogdan-Andrei Iancu
Hi Jeff, I see, but if you still have the entire log of the crash (or if you can get a new one or explain the logic in order to reproduce it) it will be great, as I want to fix this bug (even if you use something else now). Thanks and regards, Bogdan Jeff Pyle wrote: Hi Bogdan, It turned

Re: [OpenSIPS-Users] OpenSipS + CentOS: No debug logs!

2009-03-16 Thread Noel R. Morais
Hi Bodgan, I've tried both of the options. In the script (debug=6), command line -dd and via fifo. My logging is done via syslog. This weekend I've tried in another CentOS. Same results :( Thanks, Noel On Mon, Mar 16, 2009 at 4:57 AM, Bogdan-Andrei Iancu bog...@voice-system.ro wrote:

Re: [OpenSIPS-Users] CDRTool - ReloadRatingTables and new destinations

2009-03-16 Thread Adrian Georgescu
A call once normalized is stored in the radiust table and remains unchanged unless you re-normalize the calls that you wish to have updated. So changing rating tables does not have any influence upon previously normalized calls, they remain with the previous values. Adrian On Mar 16,

Re: [OpenSIPS-Users] CDRTool - ReloadRatingTables and new destinations

2009-03-16 Thread Dan-Cristian Bogos
I understand that, but I did not normalize anything in my actions. I just played with the ShowPrice over telnet (adding and deleting destinations directly from the database, and then running ReloadTables over telnet interface). DanB On Mon, 2009-03-16 at 13:39 +0100, Adrian Georgescu wrote: A

Re: [OpenSIPS-Users] Error on presence_xml

2009-03-16 Thread Anca Vamanu
What opensips version are you using? 1.5 or 1.4.4? Anca bay2x1 wrote: The code I am using is exactly the same as the one I have copied here. I have disabled the xcap_client module and its parameters but I now encounter the following error: Mar 14 08:04:22 ws16 /usr/sbin/opensips[3963]:

Re: [OpenSIPS-Users] Timeout value for cache_store function and timeout refreshing

2009-03-16 Thread Anca Vamanu
Hi Andreas, Andreas Westermaier wrote: Hi, I'm currently using 'cache_store()' to store channel limits for customers in memory to avoid the need of especially fetching it (either from radius, or from db). Channel limit information comes in via SIP-AVP from radius on each register

Re: [OpenSIPS-Users] OpenSipS + CentOS: No debug logs!

2009-03-16 Thread Bogdan-Andrei Iancu
Hi Noel, Are you sure you syslog is not doing a redirect (in a separate file) for messages below INFO? check the rules from /etc/syslog.conf. Regards, Bogdan Noel R. Morais wrote: Hi Bodgan, I've tried both of the options. In the script (debug=6), command line -dd and via fifo. My

[OpenSIPS-Users] [FIXED] TM final reply selection

2009-03-16 Thread Bogdan-Andrei Iancu
Hi, Even if this is a fix, I think it is important for all of you to be aware of it, as it will visibly change the OpenSIPS' behaviour. It is about branch selection at parallel forking in TM module. Originally, the lowest negative code was selected (when all branches were failing). But there

Re: [OpenSIPS-Users] [OpenSIPS-Devel] dialog module: dialog not cleaned up when BYE is sent

2009-03-16 Thread Bogdan-Andrei Iancu
Hi Herman, sorry for delay - please apply the attached patch and run again the call - send me the debug log. Thanks and regards, Bogdan Herman Bastiaens wrote: Hi Bogdan, yes, I see these messages in the log. You can also find them in the log I've sent you on monday (09-03). Because the

[OpenSIPS-Users] database sermyadmin+opensips

2009-03-16 Thread troxlinux
Hi list, I have problems annexing the sermyadmin database with opensips, I show them my configuration with opensips to see where I have the error: #DEFAULT_DB_URL=mysql://sermyadmin:ba...@localhost/sermyadmin modparam(presence|presence_xml|group|permissions|auth_db|uri_db|usrloc, db_url,

Re: [OpenSIPS-Users] segmentation fault when calling pkg_malloc

2009-03-16 Thread Dan Pascu
On Sunday 15 March 2009, Vasil Kolev wrote: В 05:43 +0200 на 15.03.2009 (нд), Dan Pascu написа: On Thursday 12 March 2009, Vasil Kolev wrote: This doesn't seem like running out of memory, more like a memory corruption. The first thing to check is if either 'frag' or 'f' are NULL or

Re: [OpenSIPS-Users] 3.00 load avg

2009-03-16 Thread Dan Pascu
On Monday 16 March 2009, Jeff Pyle wrote: Dan, # netstat -pan | grep opensips udp0 0 ww.xx.yy.zz:50600.0.0.0:* There appear to be no network queue, so the app is idle. However you mention that you run this in a virtual machine. Do you see the problem with a real

Re: [OpenSIPS-Users] Retrieve headers from negative reply

2009-03-16 Thread Bogdan-Andrei Iancu
Hi Jeff, Thanks a lot for the info - it was very useful - I was able to reproduce the crash and eventually to fix it. Best regards, Bogdan Jeff Pyle wrote: Hi Bogdan, Writing you privately... [XX] Hopefully that's helpful for you. Let me know if you need anything else. -

Re: [OpenSIPS-Users] CDRTool - ReloadRatingTables and new destinations

2009-03-16 Thread Adrian Georgescu
Hi Dan, I have made a change to fix your problem. Pl upgrade to 6.7.4 and let me know if you still have problems with reloading the tables. Regards, Adrian On Mar 16, 2009, at 2:16 PM, Dan-Cristian Bogos wrote: Adrian, I understand all these, but I think you don't get me. Please do me a

Re: [OpenSIPS-Users] database sermyadmin+opensips

2009-03-16 Thread Flávio Eduardo de Andrade
Hi Ricky, It is an old definition in the presence tables. Delete the presence related tables and recreate them with the mysql scripts in the opensips source code. /scripts/mysql/ It is fixed in the newest version. Flavio From: troxlinux

Re: [OpenSIPS-Users] 3.00 load avg

2009-03-16 Thread Jeff Pyle
Hi Dan, I haven't tried it on a real box yet. With all the things it hooks into it's not exactly portable at the moment. Nothing has changed elsewhere on the system, either with the emulator, kernels on host or guest, etc. I'm not *too* worried about it only because the apps on the system (vm)

Re: [OpenSIPS-Users] segmentation fault when calling pkg_malloc

2009-03-16 Thread Vasil Kolev
В 19:32 +0200 на 16.03.2009 (пн), Dan Pascu написа: The private memory pool used by the internal memory allocator is a 1 MB area right after the area where static variables are stored. It may be possible that there is a buffer overflow when writing to some static variables that gets to

[OpenSIPS-Users] rewriting transactional responses

2009-03-16 Thread Jeff Pyle
Hello, If a transaction has progressed from the initial request route, hit a t_relay(), come back into an armed failure route with a 302, and gone back to another request route... how can I change the 302 to something more generic (such as a 500) before relaying it to the UAC? Thanks, Jeff

Re: [OpenSIPS-Users] loose_route: loop on ACK requests

2009-03-16 Thread Noel R. Morais
Robert, you are right. I'm using loose routing all the way but for some reason the loose_route function for the ACK is acting as a strict router. follow bellow the debug code regarding this ACK. 192.168.191.188 is the opensips ip address: Mar 16 17:18:00 openser opensips[9057]: ***BEFORE

Re: [OpenSIPS-Users] Double Registration transaction

2009-03-16 Thread bay2x1
Using the ngrep tool I was able to capture two request generated for every registration so I am getting two Register + 401 and Register + 200 OK. Bogdan-Andrei Iancu wrote: Hi, Why do you say is executed twice?? Maybe you mistake the 2 REGISTERs because of the authentication process...

Re: [OpenSIPS-Users] database sermyadmin+opensips

2009-03-16 Thread troxlinux
Hi flavio , flavio erases the five tables according to the opensips docu but when I want to export the file presence-create.sql it always shows me the same error: ERROR 1062 (23000) at line 1: Duplicate entry 'presentity' for key 1

[OpenSIPS-Users] sst create callback warning

2009-03-16 Thread Jeff Pyle
Hello, After updating to 1.5 rev 5457 this afternoon I now see this warning after the BYE (or perhaps the 200 following): WARNING:sst:sst_dialog_created_CB: dialog create callback called with a non-INVITE request. I did make some configuration changes recently, but nothing that should affect

Re: [OpenSIPS-Users] sst create callback warning

2009-03-16 Thread Ovidiu Sas
It seems that you are trying to create a dialog while processing a BYE. The way dialog module works has changed between 1.4 and 1.5. Check your script and make sure that you don't create a dialog for messages other then initial INVITE. Regards, Ovidiu Sas On Mon, Mar 16, 2009 at 10:26 PM, Jeff

[OpenSIPS-Users] XML-RPC 404 Not Found

2009-03-16 Thread Lucas Lain
Hello everybody, i installed the Openser + Openser XML-RPC MI from the ubuntu hardy repository (openser-xmlrpc-module openser packages). The thing is i am testing the XML-RPC interface but i receive 404 not found all the time. I installed Serweb as well, to sniff the xmlrpc queries ... but the