Re: [SR-Users] Presence - How to force Kamailio to use one subscription

2014-09-01 Thread Surendra
Hi Veerabhadra, Kamailio doesn't support this. We had done this by changing the code logic. Regards surendra ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org

[SR-Users] [OT] vim auto-complete plugin for kamailio.cfg

2014-09-01 Thread Daniel-Constantin Mierla
Hello, I published a vim plugin offering basic autocomplete for kamailio configuration file. It is available via githup at: * https://github.com/miconda/vim-extensions More details about the plugin (including how to install and use) can be read at: *

Re: [SR-Users] Presence - How to force Kamailio to use one subscription

2014-09-01 Thread Daniel-Constantin Mierla
Hello, if you have a patch and want to get it in the main repository, send it and if all looks ok, we can commit it -- that will ensure the feature is there with new releases of kamailio. Cheers, Daniel On 01/09/14 10:28, Surendra wrote: Hi Veerabhadra, Kamailio doesn't support

Re: [SR-Users] Wrong ACK to Provider

2014-09-01 Thread Daniel-Constantin Mierla
How did you grab the pcap? All the variants (including the zip via http download) are not recognized by ngrep or wireshark. Anyhow, I looked with a text editor inside the and I could see that the ACK is changing the r-uri -- it comes to kamailio with the contact from 200ok, but goes out with

[SR-Users] Adding a media attribute to SDP

2014-09-01 Thread aft
Hi, I want to add this media attribute to SDP. a=ptime:packet time [1] Its not covered in SDPops module [2] its not added when i use rtpproxy_manage(zpacket size) to repacketize the rtp stream. So how should i do it? -- -Cheers -Arif ___ SIP

Re: [SR-Users] Help debugging a missing ACK (is Asterisk covering up a mistake in my Kamailio config?)

2014-09-01 Thread Daniel-Constantin Mierla
On 29/08/14 23:58, Andres wrote: On 8/29/14, 1:42 PM, Alex Villací­s Lasso wrote: Please consider the following SIP packet exchange, as seen by a tcpdump running on 201.234.196.170. Here 198.58.101.75 initiates a call to 201.234.196.170: IP 198.58.101.75.5060 201.234.196.170.5060 INVITE

Re: [SR-Users] Adding a media attribute to SDP

2014-09-01 Thread Daniel-Constantin Mierla
Hello, see textops module -- there are some functions that work on body based on regular expressions matching and substitution. Cheers, Daniel On 01/09/14 12:12, aft wrote: Hi, I want to add this media attribute to SDP. a=ptime:packet time [1] Its not covered in SDPops module [2]

Re: [SR-Users] Adding a media attribute to SDP

2014-09-01 Thread aft
On Mon, Sep 1, 2014 at 4:18 PM, Daniel-Constantin Mierla mico...@gmail.com wrote: Hello, see textops module -- there are some functions that work on body based on regular expressions matching and substitution. Problem is the original SDP does not have a a=ptime field. So what should i search

Re: [SR-Users] Adding a media attribute to SDP

2014-09-01 Thread aft
Hi, I'm trying with the following block of codes to do it... : if (is_method(INVITE) has_body()) { #search_append_body(nortpproxy, a=ptime:20\r\n); xlog(INVITE with SDP); if(search_body(a=nortpproxy:yes)) {

Re: [SR-Users] gruu within dialog

2014-09-01 Thread samuel
anoyone can provide information about how lookup function treats Req-URI with gruu? Thanks in advance, Samuel. On 27 August 2014 09:12, samuel sam...@gmail.com wrote: Here it goes, apologies for the length: The registration process is done via TLS and therefore I can not post the trace.

Re: [SR-Users] gruu within dialog

2014-09-01 Thread Daniel-Constantin Mierla
Hello, the problem is the contact coming with IP address and then used in r-uri with IP. In a multi-domain deployment, you cannot assume what is the right user id (sip address) to use in case of overlapping usernames. Think about rather common multi-tenant scenario where the location can be

Re: [SR-Users] Adding a media attribute to SDP

2014-09-01 Thread Daniel-Constantin Mierla
Hello, to understand properly how message is updated, see the details at: - http://www.kamailio.org/wiki/tutorials/faq/main#why_changes_made_to_headers_or Anyhow, I think you could try to append at the end of any a= ... line, thus matching on ^a=.+$ For long term, I think adding a function

Re: [SR-Users] Help debugging a missing ACK (is Asterisk covering up a mistake in my Kamailio config?)

2014-09-01 Thread Alex Villací­s Lasso
El 01/09/14 05:15, Daniel-Constantin Mierla escribió: On 29/08/14 23:58, Andres wrote: On 8/29/14, 1:42 PM, Alex Villací­s Lasso wrote: Please consider the following SIP packet exchange, as seen by a tcpdump running on 201.234.196.170. Here 198.58.101.75 initiates a call to 201.234.196.170:

Re: [SR-Users] Help debugging a missing ACK (is Asterisk covering up a mistake in my Kamailio config?)

2014-09-01 Thread Alex Villací­s Lasso
El 01/09/14 10:50, Alex Villací­s Lasso escribió: El 01/09/14 05:15, Daniel-Constantin Mierla escribió: On 29/08/14 23:58, Andres wrote: On 8/29/14, 1:42 PM, Alex Villací­s Lasso wrote: Please consider the following SIP packet exchange, as seen by a tcpdump running on 201.234.196.170. Here

[SR-Users] To mark user as unreachable with nathelper.

2014-09-01 Thread Igor Pavlov
Hi, colleagues. Is it possible to mark user as unreachable (ex. by setting flag in location table) with nathelper-module when it pinging user? I need something like asterisk's qualifying. - Best regards, Igor Pavlov ___ SIP Express