Re: [OpenSIPS-Users] Fwd: New CallControl release 2.0.6

2009-12-02 Thread ram
On Tue, Dec 1, 2009 at 11:35 AM, Luci Stanescu wrote: > ram wrote: > > I have installed the latest version > > > > trying to restart > > > > > > /etc/init.d/callcontrol restart > > Restarting SIP Call Control: callcontrolglobal name 'requirements' is > > not defined > > Version 2.0.7 which is now

[OpenSIPS-Users] CRITICAL:tm:t_should_relay_response: pick_branch failed (lowest==-1) for code 487

2009-12-02 Thread Neo Anderson
Hi I am using OpenSIPS 1.5.3 notls version. I have integrated opensips with sems to play early announcements from SEMS for failed calls. For example when opensips gets 404 error code...it sends command to SEMS to play early message for 404 error code. now When SEMS is playing message & in betwe

Re: [OpenSIPS-Users] dialog - failed to get From header

2009-12-02 Thread Jeff Pyle
Hi Bogdan, I got some errors when I tried patching this time: (Stripping trailing CRs from patch.) patching file modules/dialog/dlg_handlers.c Hunk #1 FAILED at 681. 1 out of 1 hunk FAILED -- saving rejects to file modules/dialog/dlg_handlers.c.rej modules/dialog/dlg_handlers.c.rej contains: **

Re: [OpenSIPS-Users] OpenSIPS with FreeRadius

2009-12-02 Thread Bogdan-Andrei Iancu
Hi Saeed, What you sent is not a backtrace, but the logs from opensips. The backtrace you get from GDB (do "gdb corefile opensips") by "bt" command Regards, Bogdan Saeed Akhtar wrote: > hi, > > here is the full back trace from the core dump > > Dec 2 12:25:58 [10538] DBG:core:parse_msg: SI

Re: [OpenSIPS-Users] dialog - failed to get From header

2009-12-02 Thread Jeff Pyle
Hi Bogdan, With the callid I should be able to find at least the correct dialog in sip_trace, but printing the From header would be helpful as well. I'll wait to receive your reply before I apply this patch. Regardless I won't be able to restart the proxy until this evening when the traffic subs

Re: [OpenSIPS-Users] Credential protection.

2009-12-02 Thread Bogdan-Andrei Iancu
Hi Thiago, you can configure opensips to simply use only the last registered contact (to skip the previous one). In 1.6 , do : modparam("usrloc", "desc_time_order", 1) and lookup("location","b"); see (http://www.opensips.org/html/docs/modules/devel/registrar.html#id271025) Regar

Re: [OpenSIPS-Users] dialog - failed to get From header

2009-12-02 Thread Bogdan-Andrei Iancu
Hi Jeff, The message says you have a FROM hdr with no TAG parameter :).. For printing the callid - there was mistake in my patch - attached is the correct new version Do you think that printing the FROM hdr will help ? Regards, Bogdan Jeff Pyle wrote: An error with the patch loaded: ERROR

Re: [OpenSIPS-Users] db_mysql timeout

2009-12-02 Thread Jeff Pyle
Hi Bogdan, Ok, that works. Should there be any time penalty as these connections are re-established? Previously I had done some subjective measurements and it seemed it could add a second or so to the call processing time. Is that normal? - Jeff On 12/2/09 10:22 AM, "Bogdan-Andrei Iancu"

Re: [OpenSIPS-Users] db_mysql timeout

2009-12-02 Thread Bogdan-Andrei Iancu
Hi Jeff, This is normal - mysql server is hanging up the TCP connections if there is no traffic. In such a case opensips will restart the connections. The ping_interval is not used at all - it is simply leftover from the previous version (without statements). Regards, Bogdan Jeff Pyle wrote:

Re: [OpenSIPS-Users] UAC_REDIRECT : get_redirectsdoesnot rewritehost

2009-12-02 Thread Bogdan-Andrei Iancu
Hi Dan, That will be perfect - a platform were we can reproduce and debug this. Let's talk privately about the access and so on. Thanks and regards, Bogdan DanB wrote: > Hey Bogdan, > > Yes, I can reproduce it (not only sometimes but all the times with my > config and version of software). > >

[OpenSIPS-Users] cdrtool syslogging

2009-12-02 Thread Jeff Pyle
Hello, Where can one adjust the amount of log information that cdrtool sends into syslog? I'm filling my logs with information about db locks, unlocks, normalizations, etc. I'd prefer to log only errors. Speaking of which, I see this entry a lot: Error: could not find any entries in the desti

[OpenSIPS-Users] [OpenXCAP] about 'watchers' application

2009-12-02 Thread Iñaki Baz Castillo
From http://openxcap.org: Watchers (auid = watchers, proprietary application). This application returns the list of watchers from OpenSIPS presence agent. I suggest to follow the RFC 4825 guidelines when creating a propietary XCAP application: AUID = global-a-uid

[OpenSIPS-Users] db_mysql timeout

2009-12-02 Thread Jeff Pyle
Hello, Each morning I face each Opensips child re_initing all its prepared statements as an INVITE hits it for the first time in a while. I see logs like this: INFO:db_mysql:db_mysql_submit_query: disconect event for 0x823fb54 INFO:db_mysql:reset_all_statements: reseting all statements on conn

Re: [OpenSIPS-Users] dialog - failed to get From header

2009-12-02 Thread Jeff Pyle
An error with the patch loaded: ERROR:dialog:pre_match_parse: failed to get From header (hdr=0x81c4598,parsed=0x81c55b8,tag_len=0) callid=< There might have been a closing > on the callid (terminal wrap problem), but there definitely isn't anything between them. - Jeff On 12/1/09 6:17 PM, "B

Re: [OpenSIPS-Users] How to configure Soap-Simple-Proxy and SoapClient?

2009-12-02 Thread Iñaki Baz Castillo
El Miércoles, 2 de Diciembre de 2009, Iñaki Baz Castillo escribió: > El Miércoles, 2 de Diciembre de 2009, Adrian Georgescu escribió: > > An example for PHP is here: > > > > http://openxcap.org/wiki/SoapSimpleProxy > > What is "watchers" XCAP auid? Where is it defined? > Is it a custom XCAP applic

Re: [OpenSIPS-Users] How to configure Soap-Simple-Proxy and SoapClient?

2009-12-02 Thread Iñaki Baz Castillo
El Miércoles, 2 de Diciembre de 2009, Adrian Georgescu escribió: > An example for PHP is here: > > http://openxcap.org/wiki/SoapSimpleProxy What is "watchers" XCAP auid? Where is it defined? Is it a custom XCAP application which reads the content of OpenSIPS 'watchers' table to generate a XML doc

Re: [OpenSIPS-Users] Credential protection.

2009-12-02 Thread Thiago Rondon
Bogdan, I developer one softphone (with IM, presence server, file transfer, voip and etc) that my customer need this behaviour, we are using OpenSIPS with XCAP as server. Yes, my problem is that (parallel registrations for a single account)... I make a perl script to do that, but it's not goo

Re: [OpenSIPS-Users] UAC_REDIRECT : get_redirectsdoesnot rewritehost

2009-12-02 Thread DanB
Hey Bogdan, Yes, I can reproduce it (not only sometimes but all the times with my config and version of software). I remember you asking Julian if he can provide you access inside the box. Let me know if you still want it and I will arrange a box as a test environment for you. Ta, DanB On Tue,

Re: [OpenSIPS-Users] OpenSIPS with FreeRadius

2009-12-02 Thread Saeed Akhtar
hi, here is the full back trace from the core dump Dec 2 12:25:58 [10538] DBG:core:parse_msg: SIP Request: > Dec 2 12:25:58 [10538] DBG:core:parse_msg: method: > Dec 2 12:25:58 [10538] DBG:core:parse_msg: uri: > Dec 2 12:25:58 [10538] DBG:core:parse_msg: version: > Dec 2 12:25:58

Re: [OpenSIPS-Users] usrloc expiring location record from different registrar after startup

2009-12-02 Thread Henk Hesselink
Hi Bogdan, Thanks for clearing that up. I'll let you know if we still see the issue with db-only mode. Regards, Henk Bogdan-Andrei Iancu wrote: > Hi Henk, > > In non db-only modes, the primary storage is the mem cache - the DB is > used only as a secondary storage support (for persistence acr

[OpenSIPS-Users] How to configure Soap-Simple-Proxy and SoapClient?

2009-12-02 Thread Adrian Georgescu
An example for PHP is here: http://openxcap.org/wiki/SoapSimpleProxy -- Adrian ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Re: [OpenSIPS-Users] Restrictions using branch_route

2009-12-02 Thread Bogdan-Andrei Iancu
Hi John, For the looping, you can use as stop condition the test $(branch(uri)[n]) == NULL - if the branch index you access does not exist, NULL will be returned. Regarding your script - it is ok. To answer to your question -> the branch route execution is done by t_relay() - in main route

Re: [OpenSIPS-Users] help with drouting

2009-12-02 Thread Bogdan-Andrei Iancu
Hi Justin, The DR module exports only 2 functions - do_routing() which selects a list of GWs to be used for the call ad use_next_gw() used for consuming/using the next GW from the list. See: http://www.opensips.org/html/docs/modules/devel/drouting.html#id272402 So, in your script, when

Re: [OpenSIPS-Users] Restrictions using branch_route

2009-12-02 Thread John Quick
Hi Bogdan, Thanks for answering this. I had looked at using a while statement and the branch() variable, but couldn't see how to end the while loop. Is there a pseudo-variable that gives the total number of branches? I eventually found this solution (the code is illustrative, not literal): rout

Re: [OpenSIPS-Users] usrloc expiring location record from different registrar after startup

2009-12-02 Thread Bogdan-Andrei Iancu
Hi Henk, In non db-only modes, the primary storage is the mem cache - the DB is used only as a secondary storage support (for persistence across reboots) and it is only written (cache flushed into DB) and never read (only at startup) - this is why you cannot share a location table via 2 server

Re: [OpenSIPS-Users] New XCAP auids supported by SIP SIMPLE client SDK

2009-12-02 Thread 权伟
HOHO! Congradulations! 2009/12/1 Adrian Georgescu > Hello, > > Related to the previous post about OpenXCAP support for new auids, SIP > SIMPLE client SDK supports the same features, if someone wish to test > the interoperability of other clients this provides a starting point. > > http://sipsimp

users@lists.opensips.org

2009-12-02 Thread Anca Vamanu
Hi David, Can you please paste a Notify message? Just to see exactly what problem you are reporting. Regards, Anca Zhang Wen Hua wrote: > Folks, > Recently I am trying to integrate the Opensip RLS& PS with Openxcap, > the client is the SIMPLE Client. > I followed the the instrcution of the opens

Re: [OpenSIPS-Users] [OpenSIPS-Devel] New auids supported by OpenXCAP

2009-12-02 Thread Iñaki Baz Castillo
El Miércoles, 2 de Diciembre de 2009, Saul Ibarra Corretge escribió: > > PS: As a suggestion, I hope that SipSimpleClient uses OMA auids rather > > than the unnecessary aliases, since there is no benefit in using them. > > I forgot to mention that sipsimple xcap icon and directory scripts were >

Re: [OpenSIPS-Users] [OpenSIPS-Devel] New auids supported by OpenXCAP

2009-12-02 Thread Saul Ibarra Corretge
> > PS: As a suggestion, I hope that SipSimpleClient uses OMA auids rather than > the unnecessary aliases, since there is no benefit in using them. > I forgot to mention that sipsimple xcap icon and directory scripts were also modified so that they use the standard auids. :) -- Saul Ibarra