Re: [SR-Users] Kamailio 3.3.x is crashing frequently...

2013-05-15 Thread Daniel-Constantin Mierla
Hello, is it crashing On 5/14/13 10:42 PM, Krishna Kurapati wrote: Hi, When the Server is running it is crashing occasionally. is it crashing occasionally or frequently? For the second it might worth increasing the debug level to 3 and latest messages printed. (gdb) bac #0

Re: [SR-Users] Kamailio crash

2013-05-15 Thread Daniel-Constantin Mierla
Hello, On 5/15/13 6:43 AM, kiran bhosale wrote: Hi we have developed the custom module where in we have created shared memory area which is not used by any other module or process and we locked it using locks as recommended. but because of locks the kamailio is getting crashed

Re: [SR-Users] event_route

2013-05-15 Thread Daniel-Constantin Mierla
Hello, On 5/14/13 7:15 PM, Bruno Bresciani wrote: Thank's Daniel, I need process cancel requests to delete sessions on rtp proxy... In a call forking, when I need forking to multiple destinations on different network segments, requiring different rtpproxy parameters, I use the “extra_id_pv”

Re: [SR-Users] Kamailio crash

2013-05-15 Thread kiran bhosale
On 05/15/2013 12:14 PM, Daniel-Constantin Mierla wrote: Hello, On 5/15/13 6:43 AM, kiran bhosale wrote: Hi we have developed the custom module where in we have created shared memory area which is not used by any other module or process and we locked it using locks as recommended.

Re: [SR-Users] HELP! I can't install siremis 3.0 for kaimailio after install kamailio, It take a long long time to wait for and no end.

2013-05-15 Thread Elena-Ramona Modroiu
Have you done: make prepare and set the right owner for the files inside siremis? Check: http://kb.asipto.com/siremis:install40x:main#local_configuration Regards, Ramona On 5/15/13 3:01 AM, Future Lian wrote: I can't install siremis 3.0 for kaimailio after install kamailio, It take a long

Re: [SR-Users] event_route

2013-05-15 Thread Bruno Bresciani
Hi Daniel, Sure Daniel, I can process 487 on onreply route... I was trying to handle 487 in failure_route block, I didn't know it can be processed in onreply_route! I know that rtpproxy destroys the session by itself in short time it is not confirmed, but I'm trying to force it the most amount

[SR-Users] misc_radius false error

2013-05-15 Thread Victor V. Kustov
Hello! Radius pairs has two similar types: integer and ipaddr. generate_avps In modules/misc_radius/functions.c, function generate_avps() we see that attribute checked for PW_TYPE_INTEGER (integer) type. That incorrect: when rad attribute has PW_TYPE_IPADDR (for example Framed-IP-Addr) then we

[SR-Users] ERROR messages in DEBUG level

2013-05-15 Thread Alex Solt
Hi, After changing log level from INFO to DEBUG level, I am seeing bunch of ERROR messages which are unknown to me: May 15 10:26:44 ERROR: *** cfgtrace: c=[/etc/kamailio/kamailio.cfg] l=505 a=17 n=ifMay 15 10:26:44 ERROR: *** cfgtrace: c=[/etc/kamailio/kamailio.cfg] l=498 a=26 n=is_methodMay

[SR-Users] Freepbx 2.11.0rc1 with Asterisk 11.3.0 and Kamailio 4.0.1

2013-05-15 Thread Trevor Burt
Dear All, using the following link:- http://kb.asipto.com/asterisk:realtime:kamailio-4.0.x-asterisk-11.3.0-astdb I have successfully integrated Asterisk and Kamailio on the same box for testing, but am now facing the problem of getting Freepbx to use the same MySQL database tables. My

[SR-Users] log reply message number

2013-05-15 Thread Robert R
Hi, I am trying to add a log when receiving 1xx or 2xx reply message: # manage incoming replies onreply_route[MANAGE_REPLY] { xdbg(incoming reply\n); if(status=~[12][0-9][0-9]) { xlog(L_INFO,reply message: $T_reply_code ci:$ci); route(NATMANAGE); } } Adding the above

Re: [SR-Users] log reply message number

2013-05-15 Thread Brandon Armstead
Are you firing t_on_reply? Is it being called? Sent from my iPhone On May 15, 2013, at 11:04 AM, Robert R rob1...@gmail.com wrote: Hi, I am trying to add a log when receiving 1xx or 2xx reply message: # manage incoming replies onreply_route[MANAGE_REPLY] { xdbg(incoming reply\n);

Re: [SR-Users] log reply message number

2013-05-15 Thread Robert R
t_on_reply is being used only in the following block: route[RELAY] { # enable additional event routes for forwarded requests # - serial forking, RTP relaying handling, a.s.o. if (is_method(INVITE|SUBSCRIBE)) { t_on_branch(MANAGE_BRANCH); t_on_reply(MANAGE_REPLY); } if

[SR-Users] log reply message number

2013-05-15 Thread Juha Heinanen
Robert R writes: Adding the above line does not log the reply message number (180 or 183 or 200, ...). perhaps you don't activate the on_reply route by calling t_on_reply on it. -- juha ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users

Re: [SR-Users] home pbx server experience

2013-05-15 Thread Moacir Ferreira
Same problem here... I like Kamailio for the same reasons you posted. However, the UAC module is not for dummies like I am and also CSeq does not increased during authentication (http://kamailio.org/docs/modules/1.5.x/uac.html), so the response may be rejected. I did

Re: [SR-Users] Radius - new style AVP's (misc_radius patch)

2013-05-15 Thread Daniel-Constantin Mierla
Hello, I just applied it along with a new one for the readme and docbook files. Don't forget to update the documentation located in doc/ subfolder of the module when you send a patch that adds a module parameter or function for config file. This time I did it. Cheers, Daniel On 5/10/13

Re: [SR-Users] misc_radius false error

2013-05-15 Thread Daniel-Constantin Mierla
Hello, send a separate patch attached as file. Being the same as integer, I assume PW_TYPE_IPADDR is only of IPv4. Is an equivalent for IPv6? Cheers, Daniel On 5/15/13 3:41 PM, Victor V. Kustov wrote: Hello! Radius pairs has two similar types: integer and ipaddr. generate_avps In

[SR-Users] Delay in 100 Trying reply message

2013-05-15 Thread Robert R
Hi, There is a big delay in our Kamailio server when repling 100 Trying after incoming INVITE messages (more than 500 ms). It seems my perl script (and database query) is executed before 100 Trying being send out. I was wondering if sending 100 Trying is configurable so I can send it right

Re: [SR-Users] home pbx server experience

2013-05-15 Thread Ovidiu Sas
The biggest issue with using a SIP proxy as a PBX is performing authentication on outgoing calls to carriers. I use asterisk front-end-ed by the proxy. Like this, I can provision authentication credentials on asterisk and route the call from asterisk to carrier through the proxy. I don't like the

Re: [SR-Users] I need you help-----about Kamailio 3.3.x and Asterisk 10.7.0 Realtime Integration

2013-05-15 Thread zhengyw
thank you very much. but I don't know What is the cause of the problem*( Unresolvable destination (478/SL) *)? 1.I was very confused, don't know what to do. can you give more hints ? 2.When have you done that *Asterisk and Kamailio Realtime Integration using Asterisk Database*? zhengyw --