Re: [SR-Users] [sr-dev] rtpproxy (k): removal of force_rtpproxy

2010-09-21 Thread Ovidiu Sas
There is no other more user friendly procedure for the 200ok/ACK SDP negotiation. The existence of SDP in the initial INVITE must be checked. Regards, Ovidiu Sas On Tue, Sep 21, 2010 at 8:16 PM, Iñaki Baz Castillo wrote: > 2010/9/21 Ovidiu Sas : >> Why? >>  - force_rtp_proxy no longer support 20

Re: [SR-Users] [sr-dev] rtpproxy (k): removal of force_rtpproxy

2010-09-21 Thread Iñaki Baz Castillo
2010/9/21 Ovidiu Sas : > Why? >  - force_rtp_proxy no longer support 200ok/ACK SDP negotiation ('s' > flag was deprecated); Hi, in case of "200/ACK SDP" rtpproxy_offer should be called in the 183/200 and rtpproxy_answer in the ACK, and for that the existance of a SDP body should be inspected in th

Re: [SR-Users] Modifying $pU

2010-09-21 Thread Daniel-Constantin Mierla
On 9/22/10 12:55 AM, Iñaki Baz Castillo wrote: 2010/9/21 dotnetdub: This substitution works fine but when I read $pU it still has the leading 0 Yes, the change is just applied when the message leaves the proxy. ... and if one needs the change to be visible in the config before sending to net

Re: [SR-Users] Modifying $pU

2010-09-21 Thread Iñaki Baz Castillo
2010/9/21 dotnetdub : > This substitution works fine but when I read $pU it still has the leading 0 Yes, the change is just applied when the message leaves the proxy. > What is the best way to achieve what I'm trying to do? I recommedn you to first delete the PPI header with hf_remove("P-Prefer

Re: [SR-Users] Modifying $pU

2010-09-21 Thread Daniel-Constantin Mierla
On 9/22/10 12:49 AM, Alex Balashov wrote: On 09/21/2010 04:47 PM, dotnetdub wrote: I also looked at using re.subst on $pU but can't get it to work. What is the best way to achieve what I'm trying to do? I would extract a substring based on length. Intermediate (first) variable 'pu_len' i

Re: [SR-Users] Modifying $pU

2010-09-21 Thread Alex Balashov
On 09/21/2010 04:47 PM, dotnetdub wrote: I also looked at using re.subst on $pU but can't get it to work. What is the best way to achieve what I'm trying to do? I would extract a substring based on length. Intermediate (first) variable 'pu_len' is required because transformations cannot be

Re: [SR-Users] [OT] Any utility to create cool SIP flows in HTML format?

2010-09-21 Thread Iñaki Baz Castillo
2010/9/22 Daniel-Constantin Mierla : >  Hello, > > sipscenario is pretty good for usage in command line, then use a browser. It > is very customizable, but you need to check the sources for parameters, it > is a perl script: > > http://www.iptel.org/~sipsc/ Thanks, I used it some time ago to rende

Re: [SR-Users] [OT] Any utility to create cool SIP flows in HTML format?

2010-09-21 Thread Alex Balashov
I have a feeling that maybe what CDRTool does is run data through ASCII SIP scenario generator and then just replace certain artifacts of its output, like ASCII art arrows, etc., into arrow images, and also split up the output into tabular form. I haven't looked at the code (não falamos Py

Re: [SR-Users] [OT] Any utility to create cool SIP flows in HTML format?

2010-09-21 Thread Daniel-Constantin Mierla
Hello, sipscenario is pretty good for usage in command line, then use a browser. It is very customizable, but you need to check the sources for parameters, it is a perl script: http://www.iptel.org/~sipsc/ Cheers, Daniel On 9/21/10 9:46 PM, Iñaki Baz Castillo wrote: Hi, I'm trying to crea

[SR-Users] Modifying $pU

2010-09-21 Thread dotnetdub
Hi All I am receiving a Preferred-Identity from a customer which I need to modify (strip the first character a 0) and then send it as Remote Party ID Sending the RPID is no problem, my issue is stripping the character. I have tried a few things to do this. subst('/^P-Preferred-Identity:(.*)(.*)

Re: [SR-Users] [OT] Any utility to create cool SIP flows in HTML format?

2010-09-21 Thread Iñaki Baz Castillo
2010/9/21 Alex Balashov : > Whatever method CDRTool uses to draw them from 'siptrace' data is quite > good.  But I am not sure if it is its own or if it's a library/package of > some kind. Yes, that could inspire me. I will take a look to it. Thanks. -- Iñaki Baz Castillo

Re: [SR-Users] [OT] Any utility to create cool SIP flows in HTML format?

2010-09-21 Thread Alex Balashov
Whatever method CDRTool uses to draw them from 'siptrace' data is quite good. But I am not sure if it is its own or if it's a library/package of some kind. On 09/21/2010 03:46 PM, Iñaki Baz Castillo wrote: Hi, I'm trying to create cool SIP flows to be displayed in a HTML. What I'm looking fo

[SR-Users] [OT] Any utility to create cool SIP flows in HTML format?

2010-09-21 Thread Iñaki Baz Castillo
Hi, I'm trying to create cool SIP flows to be displayed in a HTML. What I'm looking for is something like (or exactly) this: http://www.tech-invite.com/Ti-sip-dialog.html There you can click into messages to show the complete headers/body and so on. Does somebody know a tool to create such flow

Re: [SR-Users] mi ul_dump 'buffer too small'

2010-09-21 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > >ERROR: reply too big > > > > how to get rid of that? > this seems to come from sercmd tool. Quickly grepping its sources, the > internal limit is 4K for rpc replies. You can try to recompile sercmd > after setting bigger value for MAX_*_SIZE defines. ok.

Re: [SR-Users] [sr-dev] rtpproxy (k): removal of force_rtpproxy

2010-09-21 Thread Ovidiu Sas
Long time ago I did a brief description on how bridging can be achieved. It was for openser but it is still valid: http://www.mail-archive.com/us...@openser.org/msg04806.html Probably we should add this to the rtpproxy module documentation. Regards, Ovidiu Sas On Tue, Sep 21, 2010 at 12:32 PM, D

Re: [SR-Users] mi ul_dump 'buffer too small'

2010-09-21 Thread Daniel-Constantin Mierla
Hello, On 9/21/10 6:43 PM, Juha Heinanen wrote: Daniel-Constantin Mierla writes: you can increase the buffer size via mod param: http://kamailio.org/docs/modules/stable/modules/ctl.html#binrpc_max_body_size daniel, after increasing binrpc_struct_max_body_size to 30: modparam("ctl", "binrpc

Re: [SR-Users] mi ul_dump 'buffer too small'

2010-09-21 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > you can increase the buffer size via mod param: > http://kamailio.org/docs/modules/stable/modules/ctl.html#binrpc_max_body_size daniel, after increasing binrpc_struct_max_body_size to 30: modparam("ctl", "binrpc_max_body_size", 30) error message: error: 50

Re: [SR-Users] [sr-dev] rtpproxy (k): removal of force_rtpproxy

2010-09-21 Thread Daniel-Constantin Mierla
On 9/21/10 6:23 PM, César Pinto Magán wrote: I mean for a more detailed functionality and capabilities. ok, understand. Probably we should open a wiki page for it. There are one or two configs (perhaps pretty old now) in nathelper module to show bridging mode. Cheers, Daniel The bridge

Re: [SR-Users] missing rtpproxy documentatio from kamailio website

2010-09-21 Thread Daniel-Constantin Mierla
will be fixed soon, meanwhile, the raw-from-git generation of all docbooks is available at: http://sip-router.org/docbook/sip-router/branch/master/ Thanks, Daniel On 9/21/10 6:25 PM, Ovidiu Sas wrote: The kamailio doc website doesn't have the new rtpproxy module documentation: http://www.kama

[SR-Users] missing rtpproxy documentatio from kamailio website

2010-09-21 Thread Ovidiu Sas
The kamailio doc website doesn't have the new rtpproxy module documentation: http://www.kamailio.org/docs/modules/devel/ Also, ratelimit module is listed as being k and in fact it is generic now. Regards, Ovidiu Sas ___ SIP Express Router (SER) and Ka

Re: [SR-Users] [sr-dev] rtpproxy (k): removal of force_rtpproxy

2010-09-21 Thread César Pinto Magán
I mean for a more detailed functionality and capabilities. The bridge mode appears in http://www.voip-info.org/wiki/view/SER+example+outboundproxy and it is talked about in this list (I had to search deep int the list records to find some about). It is supposed to be used in a multihomed site, b

Re: [SR-Users] [sr-dev] rtpproxy (k): removal of force_rtpproxy

2010-09-21 Thread Daniel-Constantin Mierla
Hi Cesar, are you looking for rtpproxy protocol format or for a more detailed functionality of rtpproxy capabilities (e.g., what means bridge mode)? Cheers, Daniel On 9/21/10 5:52 PM, César Pinto Magán wrote: Hello, I'm actually using rtpproxy_offer/answer(), and it works fine for us. I ha

Re: [SR-Users] [sr-dev] rtpproxy (k): removal of force_rtpproxy

2010-09-21 Thread César Pinto Magán
Hello, I'm actually using rtpproxy_offer/answer(), and it works fine for us. I had to move from force_rtp_rpoxy() because it had several rare behaviors and the use of the offer/answer model solved them. It is very simple to implement. By the way, is there any type of documentation about rtpproxy

Re: [SR-Users] [sr-dev] rtpproxy (k): removal of force_rtpproxy

2010-09-21 Thread Daniel-Constantin Mierla
On 9/21/10 5:42 PM, Ovidiu Sas wrote: force_rtp_proxy does not handle properly 200ok/ACK renegotiation (the s flag is obsolete). I am using offer/answer (the new rtpproxy module) in bridging mode without any issues. Migrating from force_rtp_proxy to offer/answer model is quite straight forward.

Re: [SR-Users] [sr-dev] rtpproxy (k): removal of force_rtpproxy

2010-09-21 Thread Ovidiu Sas
force_rtp_proxy does not handle properly 200ok/ACK renegotiation (the s flag is obsolete). I am using offer/answer (the new rtpproxy module) in bridging mode without any issues. Migrating from force_rtp_proxy to offer/answer model is quite straight forward. Maintaing both force rtp and ofer/answer

Re: [SR-Users] [sr-dev] rtpproxy (k): removal of force_rtpproxy

2010-09-21 Thread Alex Balashov
On 09/21/2010 11:27 AM, Daniel-Constantin Mierla wrote: personally I haven't tested much those functions. Maybe is better for now to mark it obsolete and add a warning message at startup (via fixup), then remove it with next release, allowing some maturity tests for new ones. I am saying that al

Re: [SR-Users] [sr-dev] rtpproxy (k): removal of force_rtpproxy

2010-09-21 Thread Daniel-Constantin Mierla
Hello, On 9/21/10 5:12 PM, Ovidiu Sas wrote: Hello all, I would like to propose the removal of force_rtp_proxy function from the rtpproxy (k) module. Instead, the rtpproxy_offer/rtpproxy_answer should be used. Why? - force_rtp_proxy no longer support 200ok/ACK SDP negotiation ('s' flag was

Re: [SR-Users] rtpproxy (k): removal of force_rtpproxy

2010-09-21 Thread Alex Balashov
On 09/21/2010 11:23 AM, Alex Balashov wrote: On 09/21/2010 11:12 AM, Ovidiu Sas wrote: Hello all, I would like to propose the removal of force_rtp_proxy function from the rtpproxy (k) module. Instead, the rtpproxy_offer/rtpproxy_answer should be used. Why? - force_rtp_proxy no longer support

Re: [SR-Users] rtpproxy (k): removal of force_rtpproxy

2010-09-21 Thread Alex Balashov
On 09/21/2010 11:12 AM, Ovidiu Sas wrote: Hello all, I would like to propose the removal of force_rtp_proxy function from the rtpproxy (k) module. Instead, the rtpproxy_offer/rtpproxy_answer should be used. Why? - force_rtp_proxy no longer support 200ok/ACK SDP negotiation ('s' flag was depre

[SR-Users] rtpproxy (k): removal of force_rtpproxy

2010-09-21 Thread Ovidiu Sas
Hello all, I would like to propose the removal of force_rtp_proxy function from the rtpproxy (k) module. Instead, the rtpproxy_offer/rtpproxy_answer should be used. Why? - force_rtp_proxy no longer support 200ok/ACK SDP negotiation ('s' flag was deprecated); - all functionality of force_rtp_pro

Re: [SR-Users] Memory leak

2010-09-21 Thread marius zbihlei
On 09/21/2010 05:41 PM, Santiago Soares wrote: Thanks for the answers. Here are the config file and the memory status right now. I didn't change the memory pool. I don't know how to interpret the memory log. Can you help me? Hello Yes sure. But you still haven't answer my question. Is it priva

Re: [SR-Users] Kamailio 1.5.4 - Pike module ignoring remove_latancy parameter

2010-09-21 Thread Miguel Baptista
Hi Daniel, Here goes the log with debug=4: Sep 20 16:19:56 sip /home/kamailio/sbin/kamailio[16384]: DBG:sanity:sanity_check: all sanity checks passed Sep 20 16:19:56 sip /home/kamailio/sbin/kamailio[16382]: DBG:core:get_hdr_field: [44]; uri=[sip:myu...@test.com] Sep 20 16:19

Re: [SR-Users] Memory leak

2010-09-21 Thread Daniel-Constantin Mierla
Hello, is it compile with memory debug on? The status shows it is still fast malloc. Cheers, Daniel On 9/21/10 4:41 PM, Santiago Soares wrote: Thanks for the answers. Here are the config file and the memory status right now. I didn't change the memory pool. I don't know how to interpret the

Re: [SR-Users] Memory leak

2010-09-21 Thread Santiago Soares
Thanks for the answers. Here are the config file and the memory status right now. I didn't change the memory pool. I don't know how to interpret the memory log. Can you help me? Config file # --- global configuration parameters # vim:bg=dark check_via=no #

Re: [SR-Users] Memory leak

2010-09-21 Thread Daniel-Constantin Mierla
For a shorter version of memory status you can set memory_summary=2 or 3: http://www.kamailio.org/dokuwiki/doku.php/core-cookbook:3.0.x#mem_summary This will show quickly if there is a leak. Cheers, Daniel On 9/21/10 9:57 AM, marius zbihlei wrote: On 09/21/2010 09:18 AM, Marius Zbihlei wrote:

Re: [SR-Users] Memory leak

2010-09-21 Thread marius zbihlei
On 09/21/2010 09:18 AM, Marius Zbihlei wrote: Hello Can you give us more information on the modules you are loading/ your specific config ? Marius Also, is it shared memory or private memory? If you have a dump of the memory distribution, can you spot anything out of the ordinary. As a