Re: [SR-Users] Setting priority (q) for kamctl ul add

2014-06-24 Thread David Wilson
Never mind, the missing contact was being removed when a REGISTER was received. In my cfg, I was using: save("location", "0x04") The 0x04 flag, of course, causes all existing entries for the AOR to be removed. Cheers, Dave. On 25 Jun 2014, at 10:45 am, David Wilson wrote: > Thanks Dan

[SR-Users] Setting priority (q) for kamctl ul add

2014-06-24 Thread David Wilson
Thanks Daniel, Rather than changing the kamctl script, I can just run a command like: kamctl mi ul_add location 0 0 0 0 When I run this and set expires to 0 (as per the comment in kamctl, "expires 0 means persistent contact"), kamctl ul show shows expires=-1403662437 which siremis sh

[SR-Users] Passing Command-Line Arguments to Kamailio Config Script

2014-06-24 Thread AliReza Khoshgoftar Monfared
Hi, I had a simple question to which I could not find a clear answer in the documentation. How can I pass a command line argument to Kamailio config script? For example, assume that I run my kamailio daemon using script myconf.cfg: >>kamailio -f myconf.cfg Now I want to pass a value, say an I

Re: [SR-Users] Adding/manipulating headers in CANCEL

2014-06-24 Thread Örn Arnarson
Hello and thanks for your reply. I am sanitizing the To header for PSTN media gateways (removing things like *31* prefixes which are replaced by privacy headers). I found the uac_replace_to method. However, I elected to just use the submitted patch which bases the CANCEL on the INVITE that was sen

Re: [SR-Users] Only a redirect server

2014-06-24 Thread James Cloos
> "JS" == Jack Smith writes: JS> I would like to try only a redirect server. I had a look at JS> http://sourceforge.net/p/openser/code/HEAD/tree/trunk/examples/redirect.cfg JS> which was friendly, but then the default file kamailio.cfg looked JS> frightening ! The idea is to use that redire

[SR-Users] Replys though onsend_route?

2014-06-24 Thread Jöran Vinzens
Hi all, is there a possibility to pass reply and failure though onsend_route as well? We try to capture via siptrace the incoming and outgoing packet. So far this is only possible with Requests. I've found this: http://lists.sip-router.org/pipermail/sr-users/2012-May/073224.html Can anybody con

[SR-Users] Plz help: MSILO on TLS + cert based client auth enabled server

2014-06-24 Thread Marc M .
Hi, I have a SIP server with TLS + client certificate based authentication. The server is listening for SIP(UDP) on port 5060, and for SIPS(TLS) on port 5061) The client certificate based authentication is enforced on port 5061. I would like to fire up MSILO and face now a strange problem: At

Re: [SR-Users] Only a redirect server

2014-06-24 Thread Daniel Grotti
On 06/24/2014 12:18 PM, Jack Smith wrote: > Dear friends, > > Just new to this mailing list, new to Kamailio, and new to running a > sip server. > > I would like to try only a redirect server. I had a look at > http://sourceforge.net/p/openser/code/HEAD/tree/trunk/examples/redirect.cfg > which was

[SR-Users] Only a redirect server

2014-06-24 Thread Jack Smith
Dear friends, Just new to this mailing list, new to Kamailio, and new to running a sip server. I would like to try only a redirect server. I had a look at http://sourceforge.net/p/openser/code/HEAD/tree/trunk/examples/redirect.cfg which was friendly, but then the default file kamailio.cfg loo

Re: [SR-Users] How to route on whether INVITE is for MSRP

2014-06-24 Thread Daniel-Constantin Mierla
You have to search over the sdp in a way or another. sdpops has a function sdp_with_media() as well as search_body() from textops can be useful Cheers, Daniel On 24/06/14 00:47, Alex Villací­s Lasso wrote: So far, I have a kamailio.cfg that routes INVITEs between Asterisk and the external net