Re: [OpenSIPS-Users] DRouting - routeid, prefix questions

2010-10-05 Thread Bogdan-Andrei Iancu
Hi Maciej, Maciej Bylica wrote: Hello, I am playing around with DRouting module plus my opensips 1.6.3-notls. The wiki is quite nice written, but i have some doubts here. My config is pretty simple. if ($rU=~^){ ... ... route(1) } if ($rU=~^){ ... ... route(2) }

Re: [OpenSIPS-Users] OpenSIPS hang - 1.6.3

2010-10-05 Thread Bogdan-Andrei Iancu
what revision are you running ? try opensips -V ...just to be sure you have the right code. Regards, Bogdan James Lamanna wrote: Unfortunately, I'm still getting a hang of some sort with 1.6 trunk. It doesn't happen quite as fast, but it still occurs after I try and make a call. However,

Re: [OpenSIPS-Users] Fw: Using same DNS resolved ip

2010-10-05 Thread Bogdan-Andrei Iancu
Hi Nauman, If indeed the CallCentric is doing DNS-based load-balancing, but they are not able to keep auth state between all they servers (for challenge purposes), it means (as Jody said) they are really broken. It is not your fault, or your script fault - what you can do to work around

Re: [OpenSIPS-Users] OpenSIPS Apple Push Notifications Service

2010-10-05 Thread Bogdan-Andrei Iancu
Hi Paul, Paul Wise wrote: Hi all, We would like to implement support in our server for Apple's Push Notifications Service (APNS). The way this will work is that when a call comes into OpenSIPS for one user (from another user or another domain) and that user is not registered/online, we wake

Re: [OpenSIPS-Users] opensips tm timer core dump

2010-10-05 Thread Bogdan-Andrei Iancu
Hi Kennard, The core was generated by process 22255: [22238]: INFO:core:handle_sigs: child process 22255 exited by a signal 11 and this process also reported mem problems: [22255]: ERROR:tm:new_t: out of mem Can you print the tl or ptr variables in frame 0? Regards, Bogdan

Re: [OpenSIPS-Users] Serialforking failure, with lcr:parse_phostport: too many colons in udp:: 0

2010-10-05 Thread Bogdan-Andrei Iancu
Hi Taisto, Taisto Qvist wrote: Hi Bogdan, and thanks again for the quick replies! I'll try the suggestion below. The downside of that solution(i think?) is that cant know if there was a real failure of the serializenext()- functions, and return an serialforking-specific error response if it

Re: [OpenSIPS-Users] Adding data to a request before relaying it

2010-10-05 Thread Najib Hara
Hi, Probably , the best way is to use 302 replies, but I'm still looking for a way to collect the data from these replies (or from 600 errors). Is there a function or a module who can handle it ? I also need to get my INVITEs back so I could insert the collected data in their bodies. I know

Re: [OpenSIPS-Users] DRouting - routeid, prefix questions

2010-10-05 Thread Maciej Bylica
Hi Bogdan, 3) prefix is char(64), could I use * char there? only numerical prefixes are accepted . If you want to define a rule to match all prefixes (wildcard), simpy use a an empty string prefix. I meant, how to define a star char '*'? Entry '*3 ' for dialed *3999 is not working. Thanks

Re: [OpenSIPS-Users] Components required to use it as Class4 Class5 Softswitch

2010-10-05 Thread Abid Saleem
Dear Max, Thank you for your response. What about the SBC functionality in OpenSIPS? Can it also provide Topology Hiding function? RegardAbid SaleemSr. Product ManagerTerminus Technologies Date: Mon, 4 Oct 2010 16:35:48 +0200 From: m...@42com.com To: users@lists.opensips.org

Re: [OpenSIPS-Users] Adding data to a request before relaying it

2010-10-05 Thread Anca Vamanu
Hi Najib, From failure route you can access also the reply - with the context specification in front of the variable name - http://www.opensips.org/Resources/DocsCoreVar. By default the message that you have access to in failure route is the request. To send the Invite to another destination

Re: [OpenSIPS-Users] Components required to use it as Class4 Class5 Softswitch

2010-10-05 Thread Anca Vamanu
Hi Abid, Yes, you can have topology hiding functionality with b2b_entities and b2b_logic modules - see http://www.opensips.org/Resources/B2buaTutorial#toc12 and a configuration file example http://www.opensips.org/Resources/B2bConfigExample. Regards, -- Anca Vamanu www.voice-system.ro On

Re: [OpenSIPS-Users] OpenSIPS hang - 1.6.3

2010-10-05 Thread Anca Vamanu
Hi James, Please describe the problems that you see - there is no one else reporting problems with the new version of pua module so I need to know exactly which is the behavior. Do you see the opensips process ocupying 100% cpu or what happens? Regards, -- Anca Vamanu www.voice-system.ro

Re: [OpenSIPS-Users] Serialforking failure, with lcr:pa rse_phostport: too many colons in udp:: 0

2010-10-05 Thread Taisto Qvist (WM)
Hi again, and thanks for your reply! Personally I think alternative 2 feels best. It's similar to how other functions use the returncode for status indications. But either solution works for me, even though the first solution is more specific for my requirement, and i suppose that the more

Re: [OpenSIPS-Users] Adding data to a request before relaying it

2010-10-05 Thread Najib Hara
Hi Anca, Thank you for your quick response. It would be great if you can give me your opinion on the routing logic that I made to respond to this type of scenario: --- loadmodule tm.so loadmodule textops.so ... --- route{ if(is_method(INVITE)) { t_relay(tcp:server_adress:5060);

Re: [OpenSIPS-Users] OpenSIPS hang - 1.6.3

2010-10-05 Thread James Lamanna
Ok it looks like the 1.6 trunk has an error in the build/install process: # svn up At revision 7247. # make all (or make install) . make[1]: Entering directory `/home/james/opensips_1_6/modules/xlog' make[1]: *** No targets specified and no makefile found. Stop. make[1]: Leaving directory

Re: [OpenSIPS-Users] OpenSIPS hang - 1.6.3

2010-10-05 Thread James Lamanna
I removed the modules/xlog directory and rebuilt, and now things seem to be working better. I'll let you know if I have any more issues Thanks for your help. -- James On Tue, Oct 5, 2010 at 7:12 AM, James Lamanna jlama...@gmail.com wrote: Ok it looks like the 1.6 trunk has an error in the

[OpenSIPS-Users] How to change Contact header

2010-10-05 Thread David Santiago
Hi all, I need to modify the host part of a contact header. I'm trying something like: if ( subst('/^Contact: sip:([0-9]+)@(.*)$/Contact: sip:\...@new_ip_address_here/ig') ) { xlog(contact modified!); }; but the resulting Contact header is wrong and cannot be processed.

Re: [OpenSIPS-Users] DRouting - routeid, prefix questions

2010-10-05 Thread Maciej Bylica
Bogdan, only digits are accepted. So you can:    1) remove the starting * before doing do_routing()    2) replace * with a digit (like 0) This is exactly what i am doing now. I need to find out some examples here to tune up my routeid. Thanks Bogdan for clearing this up. Maciej.

[OpenSIPS-Users] what is DROP_RATE means?...

2010-10-05 Thread Pavel Eremin
I include RATELIMIT module to my OpenSIPS installation and i have a question: What is DROP_RATE when i run rl_stat command... if DROP_RATE grows is it dangerous? -- Pavel Eremin ___ Users mailing list Users@lists.opensips.org