[OpenSIPS-Users] issues with prepared statements in mysql
I have a scenario where I execute a trigger in mysql when info is added to the acc table. In some circumstances, my trigger results in a duplicate key when it tries to add info to another table. The prepared statement functionality reads this as an error, and fails to do the insert into the acc table as a result of this. Is there any way to get around this? ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] MediaProxy v2.4.0.tar.gz - Missing Files?
Went and DLed the latest MediaProxy (2.4.0) and upon running ./setup.py build end up with the following error: gcc: mediaproxy/interfaces/system/_conntrack.c: No such file or directory This existed in the 2.3.10 .tar.gz archive. If I copy the missing file(s) from the 2.3.10 archive, it further compiles but then hits this: error: file 'media-relay' does not exist This file also was in the 2.3.10 .tar.gz but is not in the 2.4.0 version. Am I to guess that the 2.4.0 archive was not created correctly? ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Cancel processing in acc
does it process them using method = "BYE" in the acc? Or should I be seeing "CANCEL" as method? On Fri, Feb 26, 2010 at 10:01 AM, Bogdan-Andrei Iancu < bog...@voice-system.ro> wrote: > Hi Alex, > > you need to both set the "report_cancels" param and to set the acc flag > in route (for the cancel request). > > Regards, > Bogdan > > Alex G wrote: > > > > For some reason or another my cancels are not making it to the acc > > table. I have the paramater set to 1 to process cancels. Do I need to > > set the accounting flag in the route as well? > > > > > > > > ___ > > Users mailing list > > Users@lists.opensips.org > > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > > > -- > Bogdan-Andrei Iancu > www.voice-system.ro > > > ___ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Cancel processing in acc
Hi Alex, you need to both set the "report_cancels" param and to set the acc flag in route (for the cancel request). Regards, Bogdan Alex G wrote: > > For some reason or another my cancels are not making it to the acc > table. I have the paramater set to 1 to process cancels. Do I need to > set the accounting flag in the route as well? > > > > ___ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > -- Bogdan-Andrei Iancu www.voice-system.ro ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] From Header field Domain/IP address use by remote system
Hi Julien, doing IP based auth by the FROM domain is really insecure - only the IP at network level may be trusted. But if you want to change the FROM URI to reflect some IP address, use uac_replace_from() from UAC module - it will do it in RFC complaint way. Regards, Bogdan Julien Chavanton wrote: > Hi, I have noticed that some SIP system are using the "From:" header > field domain/IP to authenticate or do some routing operation instead > of the sending IP address. > > If they authenticate only on the "From:" header field, I guess they > could be vulnarable to spoofing. > > Anyhow, I am wandering if we should replace the From header field IP > address with the one of the SIP proxy even if this is not RFC > recommended for a proxy ? > > > > > ___ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > -- Bogdan-Andrei Iancu www.voice-system.ro ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] how to make opensips supports ipv6?
Hi, Opensips by default supports IPv6, so setting an ipv6 listener is all you need to do. Regards, Bogdan CheeWii wrote: > hi! > > I have a SIP client,and I want to have a test of weather the client > support ipv6. So I need make opensips can listen the Ipv6 address.what > should I do ? > > > Just add the following line into the opensips.cfg,is it ok? > > listen=2001:da8:215:1115:20c:29ff:fe10:78d6 > > Thanks! > > cheewii > > > ___ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > -- Bogdan-Andrei Iancu www.voice-system.ro ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Getting Error When Configuring OpenSIPS + FreeRadius`
On 26.02.2010 14:33, Ahmed Munir wrote: > Feb 26 14:47:47 rose /usr/local/sbin/opensips[25988]: > ERROR:aaa_radius:rad_avp_add: failure > Feb 26 14:47:47 rose /usr/local/sbin/opensips[25988]: > ERROR:acc:acc_aaa_request: failed to add Source-IP, 13 > > > And I also check table radacct in mysql database, no records are inserted > into it. I think this means an incorrect RADIUS dictionary. You should verify that the extra attributes you have defined are present there. -- Sincerely, Andrew Pogrebennyk ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Adtran TA900-series user agent for CDRTool
Jeff, Send me in private the picture in two sizes one 30 pixels high and one bigger up to maximum 200 pixels and the regexp for the user agent and I will add it to the code. Adrian Adrian and team, Some time ago I added support to my installation of CDRTool for the Adtran TA900-series user agent. Is this something you'd like to include in the next update? What is the procedure for submitting items like these? - Jeff ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] Using OpenSIPS/MediaProxy infrastructure with ICE enabled - looking for feedback
Hello, We have enabled the latest OpenSIPS/MediaProxy versions with support for ICE negotiation on http://sip2sip.info We managed to obtain with our initial testing using Blink (based on PJSIP stack) directly connected RTP media streams between the end- points (by using the server reflexive candidates obtained from the STUN server) when setting the MediaProxy relay to low priority. If someone else has ICE enabled end-points, can test and provide us with feedback about the success rate of the ICE negotiation would be great to fine tune the software! The ICE functionality is described here: http://mediaproxy-ng.org/wiki/ICE Regards, Adrian ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] Getting Error When Configuring OpenSIPS + FreeRadius`
Hi, I've configured the OpenSIPS version 1.6 (svn version) with FreeRadius (latest now a days.) and clientradius_ng (latest now a days). The connectivity with radius server and mysql was successful, as I follow the steps as mentioned in this link; http://voiprookie.blogspot.com/2009/04/freeradius-and-mysql.html and book 'building telephony system with openser', (with minor changes like modules naming convention in opensips v 1.6), Opensips services starts and stops successfully. A partial opensips.cfg is listed below; loadmodule "acc.so" loadmodule "aaa_radius.so" #Settings For Radius- #modparam("auth_diameter", "diameter_client_host", "localhost") modparam("aaa_radius", "radius_config","/usr/etc/radiusclient-ng/radiusclient.conf") modparam("acc", "aaa_url", "radius:/usr/etc/radiusclient-ng/radiusclient.conf") modparam("acc", "aaa_flag", 2) modparam("acc", "aaa_missed_flag", 3) modparam("acc", "aaa_extra","User-Name=$Au; \ Calling-Station-Id=$from; \ Called-Station-Id=$to; \ Sip-Translated-Request-URI=$ruri; \ Sip-RPid=$avp(s:rpid); \ Source-IP=$si; \ Source-Port=$sp; \ Canonical-URI=$avp(s:can_uri); \ Billing-Party=$avp(s:billing_party); \ Divert-Reason=$avp(s:divert_reason); \ X-RTP-Stat=$hdr(X-RTP-Stat); \ Contact=$hdr(contact); \ Event=$hdr(event); \ SIP-Proxy-IP=$avp(s:sip_proxy_ip); \ ENUM-TLD=$avp(s:enum_tld)") The problem I'm facing is when I register my phones (which they registered successfully) and make a successful call between them, but when I check log messages I'm getting only these errors as listed below; Feb 26 14:47:47 rose /usr/local/sbin/opensips[25988]: ERROR:aaa_radius:rad_avp_add: failure Feb 26 14:47:47 rose /usr/local/sbin/opensips[25988]: ERROR:acc:acc_aaa_request: failed to add Source-IP, 13 And I also check table radacct in mysql database, no records are inserted into it. Kindly advise this issue. -- Regards, Ahmed Munir ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users