Re: [SR-Users] need some help please

2015-01-19 Thread Olle E. Johansson
On 19 Jan 2015, at 21:42, m...@sathees.co.uk wrote: > kamailio passing DDI to asterisk, but its sending to wrong context. > > > If any of the sip users is registered, the calls were sending to registered > user context. If no sip user is online then calls has been send to > kamailio-trunk.

[SR-Users] need some help please

2015-01-19 Thread m...@sathees.co.uk
Hi need some help please, kamailio v-4.2.2 asterisk 13.1 ; sip.conf [general] context=incoming calls allowguest=yes bindport=5080 bindaddr=192.168.1.77 rtcachefriends=yes [kamailio] type=friend host=192.168.1.77 port=5060 context=kamailio-trunk canreinvite=no insecure=po

[SR-Users] PCSCF Installation got issues

2015-01-19 Thread Sravana R
Hi, Downloaded Kamailio-4.2.1.tar.gz file from Kamailio.org site and compiled it on RHEL 6.2 server. Configured as per setup instruction given in attached document. While start pcscf, getting the following errors: Jan 20 01:25:17 localhost pcscf: INFO: [ppcfg.c:80]: pp_subst_add(): ### ad

[SR-Users] Async module taking down our server

2015-01-19 Thread Will Ferrer
Hi All We are trying to use the async module to to delay sending a bye on from one end of the call to the other. We are using async_route(routename, seconds) to delay the WITHINDLG route. The idea is that in the future we want to be able to have our billing min duration enforced (though currently

[SR-Users] REGISTER request and save() from onreply_route

2015-01-19 Thread Dmitry Sytchev
Hi all! Seems to be an old topic but still unclean is it possible or not, please correct me if I'm wrong. There are some old threads like http://lists.sip-router.org/pipermail/users/2007-May/011278.html I use Kamailio 4.2.1 trying to create intercepting registrar proxy, which handles NAT (rewrite

Re: [SR-Users] dialog module shared memory

2015-01-19 Thread Grant Bagdasarian
Hello Charles, Yes, It’s enough. I understand the concept now. Thank you! Regards, Grant From: sr-users [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Charles Chance Sent: Monday, January 19, 2015 12:59 PM To: Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users] dialog mod

Re: [SR-Users] REGISTER request and save() from onreply_route

2015-01-19 Thread Dmitry Sytchev
BTW, is there any way to alias contacts on Kamailio side and then on INVITE use rewritten contact as base for real (original untouched) contact lookup, like using 'received' field as lookup source? And thanks for your detailed reply, I'll dig into the docs about 'received' handling. 2015-01-19 22

Re: [SR-Users] REGISTER request and save() from onreply_route

2015-01-19 Thread Dmitry Sytchev
Yes, you're right about contact matching and ATAs, this is a part of our case too. I actually use Path module to forward REGISTERs to backend servers. But there is a problem that not all backends support Path, like Asterisk 11. If I get the point right, I should forward them as is and when I recei

Re: [SR-Users] REGISTER request and save() from onreply_route

2015-01-19 Thread Alex Balashov
On 01/19/2015 12:56 PM, Dmitry Sytchev wrote: Is there a way to make save() use original request fields like T_req($ct), or some way to call save() with full set of custom params? Yes; in fact, there are many standards-based reasons why it's desirable to store the original Contact binding pro

[SR-Users] REGISTER request and save() from onreply_route

2015-01-19 Thread Dmitry Sytchev
Hi all! Seems to be an old topic but still unclean is it possible or not, please correct me if I'm wrong. There are some old threads like http://lists.sip-router.org/pipermail/users/2007-May/011278.html I use Kamailio 4.2.1 trying to create intercepting registrar proxy, which handles NAT (rewrite

Re: [SR-Users] Diameter problem on Kamailio

2015-01-19 Thread Carsten Bock
Hi Piotr, can you elaborate, what you mean by "but some users are automatically unregistered on the openIMS core"? About your questions: 1) If you get a "We need to do an UNREG server SAR assignemnt", then you receive a request for an unregistered subscriber. As the user is not registered, the S-

Re: [SR-Users] Search Un-Register Expires header

2015-01-19 Thread Emilio Soler Muñoz
Nice! There are always solutions. Thank you very much 2015-01-19 15:01 GMT+01:00 Olle E. Johansson : > > On 19 Jan 2015, at 14:01, Julia Boudniatsky wrote: > > For header Contact : > > if($sel(contact.expires) == "0") { > > +1 for using selects. I missed that. Cool! > > Thank you Julia. > /O >

Re: [SR-Users] Search Un-Register Expires header

2015-01-19 Thread Olle E. Johansson
On 19 Jan 2015, at 14:01, Julia Boudniatsky wrote: > For header Contact : > > if($sel(contact.expires) == "0") { +1 for using selects. I missed that. Cool! Thank you Julia. /O > > also may be used. > > BR, > > Julia > > On Mon, Jan 19, 2015 at 2:56 PM, Emilio Soler Muñoz > wrote: > Than

Re: [SR-Users] RTPengine

2015-01-19 Thread Richard Fuchs
On 01/19/15 08:11, Kalala Alexander wrote: > Is there a replacement of this flag "/force/"? Rtpengine is always in "force" mode. It always tries to proxy the media through itself when instructed to. If you need to prevent the media from being proxies twice, you need to find some other way to detec

[SR-Users] TCP connectivity issue

2015-01-19 Thread Mickael Marrache
Hi, I use Kamailio as a stateless proxy with UDP + TCP. When TCP is used, I get the following TCP errors: WARNING: [receive.c:265]: receive_msg(): error while trying onreply script ERROR: [tcp_main.c:4338]: tcpconn_main_timeout(): connect x failed (timeout) WARNING: [receiv

Re: [SR-Users] RTPengine

2015-01-19 Thread Kalala Alexander
Is there a replacement of this flag "force"? 19.01.2015, 16:06, "Alex Balashov" :Rtpengine and rtpproxy-ng are one and the same. The latter was renamed to the former at some point.  --Sent from my BlackBerry. Please excuse errors and brevity.From: Kalala AlexanderSent: Monday, January 19, 2015 8:04

Re: [SR-Users] RTPengine

2015-01-19 Thread Alex Balashov
Rtpengine and rtpproxy-ng are one and the same. The latter was renamed to the former at some point.

Re: [SR-Users] RTPengine

2015-01-19 Thread Kalala Alexander
In rtpproxy-ng also this flag does not work? And something did not find this module in the new version 4.3 Kamailio ... 19.01.2015, 16:00, "Alex Balashov" :Because the history of this module is with the userspace rtpproxy and because it aims to be (mostly) compatible with the rtpproxy module in ter

Re: [SR-Users] RTPengine

2015-01-19 Thread Kalala Alexander
But it is interesting to me because it rtpengine support WebRTC ... 19.01.2015, 16:00, "Olle E. Johansson" :On 19 Jan 2015, at 13:57, Kalala Alexander wrote:Why, then, documentation writing about this flag "force"?Look at the RTPproxy module, which supports another RTP proxy. B

Re: [SR-Users] Search Un-Register Expires header

2015-01-19 Thread Julia Boudniatsky
For header Contact : if($sel(contact.expires) == "0") { also may be used. BR, Julia On Mon, Jan 19, 2015 at 2:56 PM, Emilio Soler Muñoz wrote: > Thank you all for the help. > Finally, considering that according to the RFC in Contact header can only > come expires = 0 > I set this in my conf

Re: [SR-Users] RTPengine

2015-01-19 Thread Olle E. Johansson
On 19 Jan 2015, at 13:57, Kalala Alexander wrote: > Why, then, documentation writing about this flag "force"? Look at the RTPproxy module, which supports another RTP proxy. Both modules share a history and a protocol. /O > > 19.01.2015, 15:54, "Alex Balashov" : >> Correct. Not supported. >>

Re: [SR-Users] RTPengine

2015-01-19 Thread Alex Balashov
Because the history of this module is with the userspace rtpproxy and because it aims to be (mostly) compatible with the rtpproxy module in terms of how it's engaged.

Re: [SR-Users] RTPengine

2015-01-19 Thread Kalala Alexander
Why, then, documentation writing about this flag "force"? 19.01.2015, 15:54, "Alex Balashov" :Correct. Not supported.  --Sent from my BlackBerry. Please excuse errors and brevity.From: Kalala AlexanderSent: Monday, January 19, 2015 7:45 AMTo: Kamailio (SER) - Users Mailing ListReply To: Kamailio (S

Re: [SR-Users] Search Un-Register Expires header

2015-01-19 Thread Emilio Soler Muñoz
Thank you all for the help. Finally, considering that according to the RFC in Contact header can only come expires = 0 I set this in my config file: ... if (($ hdr (Expires) == "0") || ($ hdr (Contact) = ~ "expires = 0") ... 2015-01-19 13:16 GMT+01:00 Olle E. Johansson : > Try > > if ($hd

Re: [SR-Users] RTPengine

2015-01-19 Thread Alex Balashov
Correct. Not supported.

Re: [SR-Users] RTPengine

2015-01-19 Thread Kalala Alexander
Is there any other  RTPproxys  who work with the module rtpengine ? 19.01.2015, 15:48, "Olle E. Johansson" :On 19 Jan 2015, at 13:45, Kalala Alexander wrote:Hey there!Have a question modulo rtpengine. Function rtpengine_offer ([flags]):force - instructs the RTP proxy to ignore

Re: [SR-Users] RTPengine

2015-01-19 Thread Olle E. Johansson
On 19 Jan 2015, at 13:45, Kalala Alexander wrote: > Hey there! > > Have a question modulo rtpengine. > > Function rtpengine_offer ([flags]): > force - instructs the RTP proxy to ignore marks inserted by another RTP proxy > in transit to indicate that the session is already goes through anoth

[SR-Users] RTPengine

2015-01-19 Thread Kalala Alexander
Hey there!Have a question modulo rtpengine. Function rtpengine_offer ([flags]):force - instructs the RTP proxy to ignore marks inserted by another RTP proxy in transit to indicate that the session is already goes through another proxy. Allows creating a chain of proxies. Not supported and ignored b

Re: [SR-Users] Search Un-Register Expires header

2015-01-19 Thread Olle E. Johansson
Try if ($hdr(Expires) == "0") Note that expires can also be a contact parameter. /O On 19 Jan 2015, at 12:44, Emilio Soler Muñoz wrote: > Hi, > I find a problem when I try to search the header "Expires" with value 0. > > At my kamailio.cfg the configuration is: > if ( search_hf("Expires", ":

Re: [SR-Users] Search Un-Register Expires header

2015-01-19 Thread Julia Boudniatsky
Hello Emilio, I use if( $hdr(Expires)=="0") { Best regards, Julia On Mon, Jan 19, 2015 at 1:44 PM, Emilio Soler Muñoz wrote: > Hi, > I find a problem when I try to search the header "Expires" with value 0. > > At my kamailio.cfg the configuration is: > if ( search_hf("Expires", ":0@", "a") )

Re: [SR-Users] dialog module shared memory

2015-01-19 Thread Charles Chance
Hi Grant, There is no integration with the dialog module directly - that is coming soon - but for now you can track call profiles across the cluster by doing something like: loadmodule "dmq" loadmodule "htable" ... modparam("dmq", "server_address", "sip:MY_IP_ADDR:5080") # <--- make sure you list

[SR-Users] Search Un-Register Expires header

2015-01-19 Thread Emilio Soler Muñoz
Hi, I find a problem when I try to search the header "Expires" with value 0. At my kamailio.cfg the configuration is: if ( search_hf("Expires", ":0@", "a") ) { xlog("L_INFO", "Encontrado expires 0 ($rm)"); } This way find nothing. I test with 0 (no wildcards regular expression), but this make m