Re: [OpenSIPS-Users] Sqlops in opensips ?

2009-05-27 Thread Alex Massover
Not exactly, but something like this is possible - the script will run on every INVITE transaction, but it will do a query only once at first run (once per every process/child). You run a perl script for example on every INVITE, inside the script you have something like: our $query_result; un

Re: [OpenSIPS-Users] [Nathelper] fix_nated_register() do not work with 3g adsl

2009-05-27 Thread oso che bol
Hi Bogdan, I do not have field "Received" after registered user. Thanks, LN On Mon, May 25, 2009 at 9:37 PM, Bogdan-Andrei Iancu wrote: > Hi, > > What do you mean by "could not update" ? do you get an error? to you > invalid data in DB or in outgoing messages? > > Regards, > Bogdan > > oso ch

Re: [OpenSIPS-Users] Sqlops in opensips ?

2009-05-27 Thread Iñaki Baz Castillo
El Jueves, 28 de Mayo de 2009, Brett Nemeroff escribió: > I think I saw something about this for future releases.. as in an init > route or something similar... Ops, it could be... true :) -- Iñaki Baz Castillo ___ Users mailing list Users@lists.ope

Re: [OpenSIPS-Users] Sqlops in opensips ?

2009-05-27 Thread Brett Nemeroff
I think I saw something about this for future releases.. as in an init route or something similar... On Wed, May 27, 2009 at 5:51 PM, Iñaki Baz Castillo wrote: > El Jueves, 28 de Mayo de 2009, Sharath escribió: > > Is it possible to load *custom values from a database from a custom table > > dur

Re: [OpenSIPS-Users] Sqlops in opensips ?

2009-05-27 Thread Iñaki Baz Castillo
El Jueves, 28 de Mayo de 2009, Sharath escribió: > Is it possible to load *custom values from a database from a custom table > during init time. Am I correct in assuming the AVPops module is scoped only > for a call within a transaction ? Can the perl module be used to make a db > query at init tim

Re: [OpenSIPS-Users] Sqlops in opensips ?

2009-05-27 Thread Sharath
Is it possible to load *custom values from a database from a custom table during init time. Am I correct in assuming the AVPops module is scoped only for a call within a transaction ? Can the perl module be used to make a db query at init time ? thanks for answering. -Sharath On Wed, May 27, 2009

[OpenSIPS-Users] OpenXCAP

2009-05-27 Thread Michael Ciupka
Hello, i need absolute the "old" picture from the openxcap homepage. it has been changed, i think in the last week. have somebody store the old picture local? the old picture have a modul under the OpenXCAP modul, it was the soap-simple modul. Regards Michael _

Re: [OpenSIPS-Users] OpenSIPS-CP for admin, what for user provisioning?

2009-05-27 Thread Gavin Henry
2009/5/26 Bogdan-Andrei Iancu : > Hi Gavin, > > Gavin Henry wrote: >> >> 2009/5/25 Bogdan-Andrei Iancu : >> >>> >>> Hi Gavin, >>> >>> Gavin Henry wrote: >>> Hi, Couple of questions as I'm setting up OpenSIPS for a charity and need to pick some off the shelf tools:

Re: [OpenSIPS-Users] OpenSIPS-CP for admin, what for user provisioning?

2009-05-27 Thread Gavin Henry
2009/5/26 Dan Pascu : > On Tuesday 26 May 2009, Gavin Henry wrote: >> > 95% yes..some things improved, but the lines are still good. >> >> OK, great. Read a lot about rtpproxy and mediaproxy, but I guess it just >> depends on what you need (billing fixes). > > I don't think that the information in

Re: [OpenSIPS-Users] debuild error on MediaProxy 2.3.4

2009-05-27 Thread Jeff Pyle
Hi Dan, It's Debian 5.0.1 on sparc architecture, a fresh installation. Debhelper is the at the newest version, according to apt-get. apt-get build-dep mediaproxy-relay seems okay. It reported "0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded." I ran the large apt-get install comma

Re: [OpenSIPS-Users] debuild error on MediaProxy 2.3.4

2009-05-27 Thread Dan Pascu
On Tuesday 26 May 2009, Jeff Pyle wrote: > Hello, > > I got the following error when trying to debuild on Debian Lenny: > > /chop/ > dh_installudev -pmediaproxy-relay > dh_lintian -pmediaproxy-relay > dh_install -pmediaproxy-relay > cp: cannot stat `debian/tmp/usr/bin/media-relay': No such file o

Re: [OpenSIPS-Users] MI-XMLRCP: major fix - upgrade recommended

2009-05-27 Thread Brett Nemeroff
Oh sorry, I should have been able to differentiate that.. I was getting 500 Server Errors in the replies. The errorlog showed memory errors. I haven't seen it in a while. I'll see if I can replicate it. I think I may have posted to the list a while back when it happened. For what it's worth, I do

Re: [OpenSIPS-Users] opensips sending huge amount of accounting records for invite

2009-05-27 Thread Bogdan-Andrei Iancu
Hi Jimmy, are you sure your INVITEs are not spiralling on the server and trigger multiple accounting records? Check the looback interface to catch the loops. Regards, Bogdan Jinsong Hu wrote: > does anybody know why opensips sends out huge amount of invite accounting > records ? I set radius

Re: [OpenSIPS-Users] error complie LDAP modules

2009-05-27 Thread Bogdan-Andrei Iancu
Hi Leon, Found the problem - it seams that the older version of openldap-devel defines ldap_url_search() which overlaps with the the same function defined in the ldap module. Can you try to install a newer version of openldap-devel (2.1 or higher) ? Regards, Bogdan Leon Li wrote: > Hi Bogdan

Re: [OpenSIPS-Users] MI-XMLRCP: major fix - upgrade recommended

2009-05-27 Thread Bogdan-Andrei Iancu
No, this is some XMPRPC specific stuff. What kind of errors did you get on FIFO? Regards, Bogdan Brett Nemeroff wrote: > Bogdan, > I've had some issues where running fifo commands sometimes returns > errors. Simple things like dumping the dialogs. Is this related do you > think? > -Brett > > >

Re: [OpenSIPS-Users] MI-XMLRCP: major fix - upgrade recommended

2009-05-27 Thread Brett Nemeroff
Bogdan,I've had some issues where running fifo commands sometimes returns errors. Simple things like dumping the dialogs. Is this related do you think? -Brett On Wed, May 27, 2009 at 8:53 AM, Bogdan-Andrei Iancu wrote: > Hi, > > In the last years there were several reports about the blocking of

[OpenSIPS-Users] 2 open positions for SIP UA development

2009-05-27 Thread Adrian Georgescu
Hello, We have two open positions for SIP UA development (C/Python). If you are located in the Netherlands and want to apply, drop me an email. http://www.ag-projects.com/content/view/311/227/ Regards, Adrian ___ Users mailing list Users@lists.ope

Re: [OpenSIPS-Users] Sqlops in opensips ?

2009-05-27 Thread Alex Massover
I think perl module is most practical for you. -- Best Regards, Alex Massover VoIP R&D TL Jajah Inc. From: users-boun...@lists.opensips.org [mailto:users-boun...@lists.opensips.org] On Behalf Of Sharath Sent: Wednesday, May 27, 2009 12:42 AM To: users@lists.opensips.org Subject: [OpenSIPS-Users]

Re: [OpenSIPS-Users] Mediaproxy relay error: 'module' object has no attribute 'Interface'

2009-05-27 Thread Ruud Klaver
Hi, On 26 May 2009, at 22:18, CSB wrote: >> >> Perhaps you do not have the zope.interface module installed? >> >> I'm not sure which linux distribution you are using, but I'm guessing >> from the rpm command that it is some RedHat derivative. You can save >> yourself from these sort of dependency p

[OpenSIPS-Users] MI-XMLRCP: major fix - upgrade recommended

2009-05-27 Thread Bogdan-Andrei Iancu
Hi, In the last years there were several reports about the blocking of the mi_xmlrpc module - actually this was the reason for having this MI XMLRPC 2 FIFO proxy right now. Thanks to the help of Dan Pascu, we manage to identify the cause :a design bug in xmlrpc lib - the signal handler used fo

Re: [OpenSIPS-Users] msilo problem

2009-05-27 Thread ASHWINI NAIDU
Hi Bogdan, This is the debug of msilo *May 22 18:44:15 debian /sbin/opensips[6754]: #012REGISTER received -> dumping messages with MSILO--- 1 May 22 18:44:15 debian /sbin/opensips[6754]: DBG:msilo:m_dump: start May 22 18:44:15 debian /sbin/opensips[6

[OpenSIPS-Users] Realtime Integration Of Asterisk 1.4 With OpenSIPS 1.5.x

2009-05-27 Thread Gavin Henry
This has just appeared on voip-info via my Google Alerts. It will answer a *lot* of questions that appear on the list (I know it's for Kamailio, but will work at this point in time): http://www.voip-info.org/wiki/view/Realtime+Integration+Of+Asterisk+1.4+With+Kamailio+1.5.x Cheers. __

Re: [OpenSIPS-Users] next_branch function, NAT and PATH (RFC 3327)

2009-05-27 Thread Alex
On Friday 22 May 2009, Bogdan-Andrei Iancu wrote: > Alex Hermann wrote: > > On Thursday 14 May 2009 16:40:08 Mauro Davi' wrote: > >> If I call an AOR via parallel fork all goes fine... > > > > Parallel forking seems ok, but in reality it isn't. You just don't > > notice because you use only 1 load-

Re: [OpenSIPS-Users] SIP session termination doesn't work properly

2009-05-27 Thread Simon Witte
Hi Bogdan, I just captured the two sessions with ngrep (attached to this mail). Suprisingly, the dialog between the two laptops is all good with ngrep. But when I use the two mayah centauri hardware codecs, there is still the problem with the "404 - not here". Which brings me back to my assumpti

Re: [OpenSIPS-Users] Linksys SPA-942 BLF and OpenSIPS presence

2009-05-27 Thread Iñaki Baz Castillo
2009/5/27 James Lamanna : > Thanks for the clarification! I'll play around with this more today to > see what I can get working. > The other thing that complicates this is that I would like to have the > presence BLF from the Asterisk > parking lot to work. Currently I can get this to work by forw

Re: [OpenSIPS-Users] Linksys SPA-942 BLF and OpenSIPS presence

2009-05-27 Thread James Lamanna
On Wed, May 27, 2009 at 1:52 AM, Iñaki Baz Castillo wrote: > 2009/5/27 James Lamanna : >> Hi, >> Has anyone been able to get the BLF to work with a SPA-942 and the >> OpenSIPS presence module? > > There are many types of "presence": > > - Presence SIMPLE (user status: online, offline, away, on-mee

Re: [OpenSIPS-Users] opensips reporting internal server error

2009-05-27 Thread Uwe Kastens
Hi, User to stupid error :-) loose_route(); exit; t_trelay(); was a bad idea BR Uwe Bogdan-Andrei Iancu schrieb: > Hi Uwe, > > If OpenSIPS replies (at SIP level) with internal server error, check the > logs for an ERROR message (also be sure that the 500 reply was not > received and re

Re: [OpenSIPS-Users] callcontrol/dialog/mediaproxy issue

2009-05-27 Thread Om Bikram Thapa
Thank you for the confirmation. Regards, Om. On Wed, May 27, 2009 at 5:28 PM, Luci Stanescu wrote: > Please reply to the mailing-list, not only to the sender of a message. > > Om Bikram Thapa wrote: >> I have following entry in /etc/mediaproxy/config.ini >> >> socket_path = '/var/run/opensips/so

Re: [OpenSIPS-Users] callcontrol/dialog/mediaproxy issue

2009-05-27 Thread Luci Stanescu
Please reply to the mailing-list, not only to the sender of a message. Om Bikram Thapa wrote: > I have following entry in /etc/mediaproxy/config.ini > > socket_path = '/var/run/opensips/socket' > > Could it be 'apostrophe' around the directory path that is > problematic? Please confirm if those

Re: [OpenSIPS-Users] callcontrol/dialog/mediaproxy issue

2009-05-27 Thread Om Bikram Thapa
Hi Luci, Just found this potential issue in the log: May 27 11:39:58 proxy media-dispatcher[2288]: [RelayServerProtocol,0,127.0.0.1] error: cannot write request to '/var/run/opensips/socket': No such file or directory May 27 11:39:58 proxy media-dispatcher[2288]: [RelayServerProtocol,0,127.0

Re: [OpenSIPS-Users] Linksys SPA-942 BLF and OpenSIPS presence

2009-05-27 Thread Iñaki Baz Castillo
2009/5/27 Victor Pascual Ávila : > A quick and (maybe) naive question on it: is it possible (with > OpenSIPS) to trigger a NOTIFY by means of requests other than PUBLISH? > An example would be the event package for registrations (rfc3680) I don't hink so, but this RFC would be easy to implement. J

Re: [OpenSIPS-Users] opensips reporting internal server error

2009-05-27 Thread Bogdan-Andrei Iancu
Hi Uwe, If OpenSIPS replies (at SIP level) with internal server error, check the logs for an ERROR message (also be sure that the 500 reply was not received and relaid ;) . Regards, Bogdan Uwe Kastens wrote: > Hello, > > Since I never had this before I was wondering, if this could happen on >

Re: [OpenSIPS-Users] Sqlops in opensips ?

2009-05-27 Thread Bogdan-Andrei Iancu
Hi Alex, Alex Balashov wrote: >> Before AVPs, you did routing based on module logic and there wasn't >> anyway to customize it without writing your own modules by hand. As much >> odd as the avpops module integrates arbitrary database interactions, I'm >> not sure how I'd change it rather than

Re: [OpenSIPS-Users] Sqlops in opensips ?

2009-05-27 Thread Bogdan-Andrei Iancu
Hi Alex, When comes to none-SIP related stuff, there is a logical limit of what should be in or not - after all we do a SIP server and not a DB wrapper, neither a XMLRPC server, not an advanced language interpreter (and so one). To give you an example of how I see this delimitation of what shou

Re: [OpenSIPS-Users] Sqlops in opensips ?

2009-05-27 Thread kokoska rokoska
Brett Nemeroff napsal(a): > Alex, > I whole-heartedly agree with you here. I've seen a number of times that > a slow DB query block worker threads and painfully holds up call > processing. I think this is an inherent danger in interacting with the > database in real-time. avp_db_query allows for

[OpenSIPS-Users] opensips reporting internal server error

2009-05-27 Thread Uwe Kastens
Hello, Since I never had this before I was wondering, if this could happen on misconfiguration or if this could be a bug. BR Uwe -- kiste lat: 54.322684, lon: 10.13586 ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin

Re: [OpenSIPS-Users] callcontrol/dialog/mediaproxy issue

2009-05-27 Thread Om Bikram Thapa
Hi Luci, I am not maintaining debug log for opensips currently. So, the logs I sent earlier is what all I have. Thanks, Om. On Wed, May 27, 2009 at 3:10 PM, Luci Stanescu wrote: > Om Bikram Thapa wrote: >> Here is the detail log entries of that particular problematic CallID: > > Could you also

Re: [OpenSIPS-Users] callcontrol/dialog/mediaproxy issue

2009-05-27 Thread Luci Stanescu
Om Bikram Thapa wrote: > Here is the detail log entries of that particular problematic CallID: Could you also paste the opensips log for the call? > Thanks a lot. > Om. -- Luci Stanescu ___ Users mailing list Users@lists.opensips.org http://lists.ope

Re: [OpenSIPS-Users] Error opening OpenSIPS's FIFO FIFO

2009-05-27 Thread Bogdan-Andrei Iancu
Hi Gergis, FIFO is just a macro :). A typical fifo name is /tmp/opensips_fifo for example. So, put something like this in the "fifo_name" modparam and also in opensipsctlrc for OSIPS_FIFO Regards, Bogdan gmail wrote: > the* mi_fifo.so* exists in *'/usr/local/lib/*modules*/*' directory > and

Re: [OpenSIPS-Users] callcontrol/dialog/mediaproxy issue

2009-05-27 Thread Om Bikram Thapa
Hi Luci, Here is the detail log entries of that particular problematic CallID: --- May 27 11:35:55 proxy cdrtool[3447]: MaxSessionTime From=sip:x...@x Lock=1 To=sip:00971559874...@x callid=63670069-30bf4...@192.168.3.5 Duration=36000 Gateway=x May 27 11:35:55 proxy cdrtool[344

Re: [OpenSIPS-Users] Linksys SPA-942 BLF and OpenSIPS presence

2009-05-27 Thread Victor Pascual Ávila
On Wed, May 27, 2009 at 10:52 AM, Iñaki Baz Castillo wrote: > 2009/5/27 James Lamanna : >> Hi, >> Has anyone been able to get the BLF to work with a SPA-942 and the >> OpenSIPS presence module? > > There are many types of "presence": > > - Presence SIMPLE (user status: online, offline, away, on-me

Re: [OpenSIPS-Users] Linksys SPA-942 BLF and OpenSIPS presence

2009-05-27 Thread Iñaki Baz Castillo
2009/5/27 James Lamanna : > Hi, > Has anyone been able to get the BLF to work with a SPA-942 and the > OpenSIPS presence module? There are many types of "presence": - Presence SIMPLE (user status: online, offline, away, on-meeting...) => "Event: presence" - Presence BLF (RFC 4235): line status (c

Re: [OpenSIPS-Users] callcontrol/dialog/mediaproxy issue

2009-05-27 Thread Luci Stanescu
Om Bikram Thapa wrote: > Hello, Hi Om, > I have a strange issue whenever there is a media timeout issue. > Mediaproxy media timeout is working fine and radius CDR also records > the "Media_Info" as timeout, however, it doesn't terminate the > corresponding "callcontrol" session. As a result, the

Re: [OpenSIPS-Users] Problem RTP-proxy

2009-05-27 Thread Vandeweyer, Eric
When Sip awareness turned off ... problem still persists sometimes I get audio though and sometimes not ... I also don't see the RTPstream arrive at the RTP-proxy (when it doesn't work) From: Adrian Georgescu [mailto:a...@ag-projects.com] Sent: 26 May 2009 16:40

[OpenSIPS-Users] callcontrol/dialog/mediaproxy issue

2009-05-27 Thread Om Bikram Thapa
Hello, I have a strange issue whenever there is a media timeout issue. Mediaproxy media timeout is working fine and radius CDR also records the "Media_Info" as timeout, however, it doesn't terminate the corresponding "callcontrol" session. As a result, the session remains on until the prepaid bala