Re: [SR-Users] tsilo: ts_append() cannot find the ts_store() data

2020-11-24 Thread Federico Cabiddu
Hi, being $var basically static variables per process , I wanted to be sure to reset its value before processing it, but it's probably not needed there (the example is old :)). Cheers, Federico On Wed, 25 Nov 2020, 07:39 Anthony Alba, wrote: > On Wed, Nov 25, 2020 at 2:23 PM Federico Cabiddu >

[SR-Users] Kamailio Failover

2020-11-24 Thread Rolly Casuga Jr.
Hi, I am having a problem on fail overing my master kamailio server and slave kamailio server. I use kamailio as a load balancer for my asterisk servers. And it is working with calls, but when I added failover with keepalived to the slave, there is no audio during calls. Thank you, Rolly ___

Re: [SR-Users] tsilo: ts_append() cannot find the ts_store() data

2020-11-24 Thread Anthony Alba
On Wed, Nov 25, 2020 at 2:23 PM Federico Cabiddu wrote: > > Hi, > which kamailio version are you using? > Which value the "use_domain" > (http://www.kamailio.org/docs/modules/devel/modules/tsilo.html#tsilo.p.use_domain) > parameter has? > Could you please do a test at debug level 3? Face palm m

Re: [SR-Users] tsilo: ts_append() cannot find the ts_store() data

2020-11-24 Thread Federico Cabiddu
Hi, which kamailio version are you using? Which value the "use_domain" ( http://www.kamailio.org/docs/modules/devel/modules/tsilo.html#tsilo.p.use_domain) parameter has? Could you please do a test at debug level 3? Thanks. Federico On Wed, Nov 25, 2020 at 2:19 AM Anthony Alba wrote: > Hi, havin

[SR-Users] tsilo: ts_append() cannot find the ts_store() data

2020-11-24 Thread Anthony Alba
Hi, having tsilo + PUSH problem. My probIem is no matter how I ts_store() the data, ts_append() cannot find any matching uri ERROR: tsilo [ts_append.c:64]: ts_append(): failed to retrieve record for sip:da...@voice.example.com In route[LOCATION] { ts_store("sip:$t...@voice.example.com") } in ro

Re: [SR-Users] kamailio.cfg fomatter

2020-11-24 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > So, to summarize, there should be syntax highlighting (maintained at > different levels) for the editors: > >   * vim (I guess also neovim) >   * vscode >   * atom >   * mcedit Long list, but unfortunately the oldest editor is missing: emacs. -- Juha

Re: [SR-Users] ACK Relay Issue Transaction Not Found

2020-11-24 Thread me.proje...@yahoo.com
Wow great. Thanks for your help :) On Tuesday, November 24, 2020, 10:54:25 PM GMT+5, Federico Cabiddu wrote: The outgoing (relayed) e2e ACK is not captured by the sipcapture module in "transaction" capture mode (the default), because of tm module internals.You have to explicitly capt

Re: [SR-Users] ACK Relay Issue Transaction Not Found

2020-11-24 Thread me.proje...@yahoo.com
Hiddenly means without being captured in SIP_TRACE module  On Tuesday, November 24, 2020, 10:29:58 PM GMT+5, Alex Balashov wrote: Hiddenly? :-) -- Alex On 11/24/20 12:22 PM, me.proje...@yahoo.com wrote: > Thanks for your reply. > I can't see the ACK being relayed to MSTeams in networ

Re: [SR-Users] ACK Relay Issue Transaction Not Found

2020-11-24 Thread me.proje...@yahoo.com
Thanks for your reply. I can't see the ACK being relayed to MSTeams in network capture through in Relay Route if(is_method("ACK|BYE")) { sip_trace(); setflag(22); }   but call has been established successfully. is ACK is being relayed hiddenly by Kamailio ? On Tuesday, November 24, 2020, 09

Re: [SR-Users] kamailio.cfg fomatter

2020-11-24 Thread Alex Balashov
On 11/24/20 1:48 PM, Juha Heinanen wrote: Daniel-Constantin Mierla writes: So, to summarize, there should be syntax highlighting (maintained at different levels) for the editors:   * vim (I guess also neovim)   * vscode   * atom   * mcedit Long list, but unfortunately the oldest editor

Re: [SR-Users] kamailio.cfg fomatter

2020-11-24 Thread Barry Flanagan
On Tue 24 Nov 2020, 20:21 marek, wrote: > ok thanks. these things are for highlighting, but i asked about formatting > In Vim, I would type 'gg=G' to format the indentation. Bring lazy I put the below in my .vimrc so I can just hit F7 map gg=G -Barry something like > > https://code.visualstu

Re: [SR-Users] kamailio.cfg fomatter

2020-11-24 Thread marek
ok thanks. these things are for highlighting, but i asked about formatting something like https://code.visualstudio.com/docs/languages/typescript section "Formatting" any tips? Marek Dne 24/11/2020 v 19:42 Daniel-Constantin Mierla napsal(a): Besides the vim syntax for Kamailio that you poin

Re: [SR-Users] ACK Relay Issue Transaction Not Found

2020-11-24 Thread Sergiu Pojoga
Or use sipdump module as an alternative https://kamailio.org/docs/modules/stable/modules/sipdump.html On Tue, Nov 24, 2020 at 12:55 PM Federico Cabiddu < federico.cabi...@gmail.com> wrote: > The outgoing (relayed) e2e ACK is not captured by the sipcapture module in > "transaction" capture mode (

Re: [SR-Users] kamailio.cfg fomatter

2020-11-24 Thread Daniel-Constantin Mierla
Besides the vim syntax for Kamailio that you pointed and the one for VSCode pointed by Marek, I also wrote one for Atom editor:   * https://github.com/miconda/atom-extensions/tree/master/language-kamailio But probably is not updated with the latest core keywords. Then, even older and not updated

Re: [SR-Users] ACK Relay Issue Transaction Not Found

2020-11-24 Thread Federico Cabiddu
The outgoing (relayed) e2e ACK is not captured by the sipcapture module in "transaction" capture mode (the default), because of tm module internals. You have to explicitly capture it in the onsend_route. onsend_route { if ($rm == 'ACK') { sip_trace(); } } Cheers, Federico On Tue

Re: [SR-Users] ACK Relay Issue Transaction Not Found

2020-11-24 Thread Alex Balashov
On 11/24/20 12:35 PM, Antony Stone wrote: On Tuesday 24 November 2020 at 18:28:44, Alex Balashov wrote: Hiddenly? :-) I like the word - I can think of several contexts it would be useful in, and the standard way of expressing the concept is so much less concise. It's true; the closest and

Re: [SR-Users] ACK Relay Issue Transaction Not Found

2020-11-24 Thread Alex Balashov
Try to do a manual packet capture and test that theory. On 11/24/20 12:35 PM, me.proje...@yahoo.com wrote: Hiddenly means without being captured in SIP_TRACE module -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) Web: http://www.evarist

Re: [SR-Users] ACK Relay Issue Transaction Not Found

2020-11-24 Thread Antony Stone
On Tuesday 24 November 2020 at 18:28:44, Alex Balashov wrote: > Hiddenly? :-) I like the word - I can think of several contexts it would be useful in, and the standard way of expressing the concept is so much less concise. Antony. -- Most people have more than the average number of legs.

Re: [SR-Users] ACK Relay Issue Transaction Not Found

2020-11-24 Thread Alex Balashov
Hiddenly? :-) -- Alex On 11/24/20 12:22 PM, me.proje...@yahoo.com wrote: Thanks for your reply. I can't see the ACK being relayed to MSTeams in network capture through in Relay Route if(is_method("ACK|BYE")) { sip_trace(); setflag(22); }   but call has been established successfully. is ACK

Re: [SR-Users] kamailio.cfg fomatter

2020-11-24 Thread Sergiu Pojoga
The only other Kam syntax I know of is for vim https://github.com/kamailio/vim-kamailio-syntax Regards, --Sergiu On Tue, Nov 24, 2020 at 11:39 AM marek wrote: > hi, > > i'm using https://github.com/miconda/vscode-kamailio-syntax in VScode. > its great! > > But i need format code. Are there som

[SR-Users] kamailio.cfg fomatter

2020-11-24 Thread marek
hi, i'm using https://github.com/miconda/vscode-kamailio-syntax in VScode. its great! But i need format code. Are there some formatters for kamailio.cfg? It can be for other editors than VScode. Marek ___ Kamailio (SER) - Users Mailing List sr-u

Re: [SR-Users] ACK Relay Issue Transaction Not Found

2020-11-24 Thread Alex Balashov
Hi, If you take a look at the documentation for t_check_trans(), you'll see that it behaves in very different ways depending on the type of message it is handling, and is supposed to return a negative/false value in some scenarios or abort script execution -- context is very important: https

[SR-Users] ACK Relay Issue Transaction Not Found

2020-11-24 Thread me.proje...@yahoo.com
Hi When ACK is received on Kamailio from PBX t_check_trans() fails. 200 OK sent PBX from Teams and ACK from PBX is provided here. What could be the issue.                                                                                                           SIP/2.0 200 OK