Re: [OpenSIPS-Users] OpenSIPS-CP and cdrviewer

2009-06-12 Thread Gavin Henry
Thanks, will test. On 12/06/2009, Iulia Bublea wrote: > Hi, > > I added the caller and callee fields into the stored procedure, for > mysql. It is fixed in the trunk and also on branch 2.0. > > > Regards, > Iulia > > Gavin Henry wrote: >> 2009/6/11 Gavin Henry : >> >>> 2009/6/11 Gavin Henry : >>>

Re: [OpenSIPS-Users] fix_nated_sdp

2009-06-12 Thread Alex Balashov
fix_nated_sdp() operates on any request or reply containing an SDP payload. If you wish to apply it to a 200 OK with SDP payload, you need to call it from a reply route that catches 200 OKs; 200 OKs are replies, not requests. For example: route { ... # Relay INVITE. t_on_reply("

[OpenSIPS-Users] fix_nated_sdp

2009-06-12 Thread Anil M Pannikode (hotmail)
Does fix_nated_sdp("2") function only works on SIP INVITE ? I am trying to rewrite the media IP and looks like it is working only for SIP INVITE. (Not for any subsequent messages like 200 OK) In my case I get an invite from an external client and my server re-invites for T.38. The client r

Re: [OpenSIPS-Users] Purple Module load causes opensips core dump

2009-06-12 Thread mani sivaraman
I compiled and installed opensips 1.5.1 with mysql db and works fine. I compiled and installed the new purple module from outside and installed the same. if I try to load the purple.so module and add modprobe for purple params, opensips core dumps saying Jun 12 12:06:38 [22121] CRITICAL:core:recei

Re: [OpenSIPS-Users] What is this error : msg_send: ERROR:udp_sendfailed?

2009-06-12 Thread Brett Nemeroff
What port is opensips binding to? Are you using any funny ports? On Fri, Jun 12, 2009 at 10:34 AM, Tung Tran wrote: > Hi > > I already disable the iptables but no help, and the network configuration > is > normal, I can ping to outside. > > Again here is my problem > > > 1(3180) DBG:check_agains

Re: [OpenSIPS-Users] What is this error : msg_send: ERROR:udp_sendfailed?

2009-06-12 Thread Tung Tran
Hi I already disable the iptables but no help, and the network configuration is normal, I can ping to outside. Again here is my problem > 1(3180) DBG:check_against_rule_list: using list dns > 1(3180) ERROR: udp_send: sendto(sock,0xb615dbd8,951,0,0xb615c044,16): > Permission denied(13) > 1(3180)

Re: [OpenSIPS-Users] put value of header field into AVP

2009-06-12 Thread Uwe Kastens
Hi Brett, > Yeah you can do this. You should really review the wiki for such > questions, it's all there :) Believe it or not, I searched a long time - but rather at the wrong place. > > Try the select transformation: > http://www.opensips.org/Resources/DocsCoreTran15#toc6 > > > $var(x) = "12

[OpenSIPS-Users] Mailing List for Portuguese users.

2009-06-12 Thread Thiago Rondon
Hi! Opensips now has a mailing list for portuguse users! To subscribe, please access this link: http://lists.opensips.org/cgi-bin/mailman/listinfo/users-br Enjoy! -Thiago Rondon ___ Users mailing list Users@lists.opensips.org http://lists.opensips

Re: [OpenSIPS-Users] put value of header field into AVP

2009-06-12 Thread Brett Nemeroff
Yeah you can do this. You should really review the wiki for such questions, it's all there :) Try the select transformation: http://www.opensips.org/Resources/DocsCoreTran15#toc6 $var(x) = "12,34,56"; $(var(x){s.select,1,,}) => "34" ; So you can: $avp(s:parseablestring)='1.2.3.4_9.8.7.6'; $avp

Re: [OpenSIPS-Users] put value of header field into AVP

2009-06-12 Thread Uwe Kastens
Hi, Thanks, this is very cool. Is there a way to split one avp without perl in a handfull of differnt avps or is better to work with different header files? Maybe some more background to that question. My pstn gw should send some information for later usage in routing etc.pp. (main number and dd

Re: [OpenSIPS-Users] put value of header field into AVP

2009-06-12 Thread Jeff Pyle
Generically, avp(s:oneavp) = $hdr(SIP-Header) String translations also work here, such as: $avp(s:oneavp) = $(hdr(P-Charge-Info){uri.user}) - Jeff On 6/12/09 9:49 AM, "Uwe Kastens" wrote: > Hi, > > How can I put the value of a header field in one AVP? > > BR > > Uwe _

Re: [OpenSIPS-Users] put value of header field into AVP

2009-06-12 Thread Brett Nemeroff
It's been a while since I needed this but try:$avp(s:foovalue) = $hdr(X-Foo-Value); http://www.opensips.org/Resources/DocsCoreVar15#toc82 On Fri, Jun 12, 2009 at 8:49 AM, Uwe Kastens wrote: > Hi, > > How can I put the value of a header field in one AVP? > > BR > > Uwe > > -- > > kiste lat: 54.

[OpenSIPS-Users] put value of header field into AVP

2009-06-12 Thread Uwe Kastens
Hi, How can I put the value of a header field in one AVP? BR Uwe -- kiste lat: 54.322684, lon: 10.13586 ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

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

2009-06-12 Thread Alex Hermann
On Monday 25 May 2009, Bogdan-Andrei Iancu wrote: > >> Alex Hermann wrote: > >>> Parallel forking seems ok, but in reality it isn't. You just don't > >>> notice because you use only 1 load-balancer. If the AOR has multiple > >>> contact registered via multiple load-balancers, all contacts use the >

Re: [OpenSIPS-Users] SIP trace and OpenSIPS-CP 2.0

2009-06-12 Thread Iulia Bublea
Load the siptrace module in the opensips.cfg and set the db parameter. Iulia Gavin Henry wrote: > Quick one, > > I presume you need the sip_trace function in the right place and that > you just toggle it on/off via the cp? > > Also, you will need the db_url if logging to mysql? > > Thanks. > >

Re: [OpenSIPS-Users] OpenSIPS-CP and cdrviewer

2009-06-12 Thread Iulia Bublea
Hi, I added the caller and callee fields into the stored procedure, for mysql. It is fixed in the trunk and also on branch 2.0. Regards, Iulia Gavin Henry wrote: > 2009/6/11 Gavin Henry : > >> 2009/6/11 Gavin Henry : >> >>> 2009/6/11 Iulia Bublea : >>> Hi, Try cha

Re: [OpenSIPS-Users] What's the best solution for national accounting?

2009-06-12 Thread Joan
2009/6/11 Adrian Georgescu : > Even better do not modify the supplied class as it will be overwritten on > upgrade. If you look in setup/global.inc.complex.sample you will see this > option per data source: >                     "E164_class"         => "E164_custom",  // define a > custom class to

Re: [OpenSIPS-Users] No RADIUS traffic

2009-06-12 Thread ASHWINI NAIDU
After editing your radiusclient.conf file have u restarted your opensips server. I was facing the same kind of issue. after restarting the opensips server it started to work properly On Fri, Jun 12, 2009 at 12:21 PM, Uwe Kastens wrote: > Hi, > > This is strange. Could you post your opensips.cfg

Re: [OpenSIPS-Users] What is this error : msg_send: ERROR: udp_sendfailed?

2009-06-12 Thread Raúl Alexis Betancor Santana
On Friday 12 June 2009 08:46:49 Tung Tran wrote: > Dear, > > I am running Openser as root, > I cannot find out what kind of permission is it, and how to solve it. > > BTW, this server has 6 NIC in total and only one of them are working > (connected), Do you think that should be problem if server ha

Re: [OpenSIPS-Users] What is this error : msg_send: ERROR: udp_sendfailed?

2009-06-12 Thread Tung Tran
Dear, I am running Openser as root, I cannot find out what kind of permission is it, and how to solve it. BTW, this server has 6 NIC in total and only one of them are working (connected), Do you think that should be problem if server has many NIC card? Anyone has experience about this problem