[SR-Users] Re: Setting kamailio to use another DB

2024-01-09 Thread Jurijs Ivolga via sr-users
Hi Samuel, I think this is what you are looking for: https://kamailio.org/docs/modules/devel/modules/db_cluster.html Jurijs On Tue, Jan 9, 2024 at 6:36 PM SAMUEL MOYA TINOCO via sr-users < sr-users@lists.kamailio.org> wrote: > Good evening everyone, > > > > I’m trying to configure my Kamailio

Re: [SR-Users] Siptrace and Kamailio "stress" test

2022-11-02 Thread Jurijs Ivolga
Hi, And I think Kamailio supports only UDP for sending out HEP traffic... Jurijs On Wed, Nov 2, 2022 at 7:14 PM Jurijs Ivolga wrote: > How did you configure force_send_sock? > > it should be something like this: > > modparam("siptrace", "force_send_sock"

Re: [SR-Users] Siptrace and Kamailio "stress" test

2022-11-02 Thread Jurijs Ivolga
> That's what I tried first and got: > > ERROR: siptrace [siptrace.c:392]: mod_init(): bad send sock address > > Le mer. 2 nov. 2022 à 15:58, Jurijs Ivolga a > écrit : > >> Hi, >> >> For only UDP, you can try force_send_sock with UDP socket there

Re: [SR-Users] Siptrace and Kamailio "stress" test

2022-11-02 Thread Jurijs Ivolga
Hi, For only UDP, you can try force_send_sock with UDP socket there. Jurijs On Wed, Nov 2, 2022 at 5:31 PM Igor Olhovskiy wrote: > Hello, > > Found an interesting scenario, maybe something could be done here. > I have a siptrace module configured like > > modparam("siptrace", "duplicate_uri",

Re: [SR-Users] Let's Encrypt DST Root CA X3 cert CA expiration 30th/Sept - Any issues?

2021-10-01 Thread Jurijs Ivolga
Hi, I had some issues with docker containers running debian 9, I was not able to connect to services that were using Lets Encrypt certs from those containers, strange enough update-ca-certificates --fresh from inside container didn't help. Deleting docker images and recreating from scratch made ev

Re: [SR-Users] Can Kamailio help with this?

2021-05-21 Thread Jurijs Ivolga
Hi, If your remote PBX support path header, then easiest way would be to use Path module of Kamailio: https://www.kamailio.org/docs/modules/devel/modules/path.html Jurijs On Fri, May 21, 2021 at 5:09 PM Antony Stone < antony.st...@kamailio.open.source.it> wrote: > Hi. > > I think maybe I aske

Re: [SR-Users] Comparing if header has 0 value in body

2021-03-11 Thread Jurijs Ivolga
On 11.03.21 12:53, Jurijs Ivolga wrote: > > Hi, > > This seems to work for me: > > if ($(hdr(X-myheader){s.trim})==0) { > .. > }; > > Seems in the body I got "0 " and maybe because of this automatic string > to int conversion didn't work. >

Re: [SR-Users] Comparing if header has 0 value in body

2021-03-11 Thread Jurijs Ivolga
Hi, This seems to work for me: if ($(hdr(X-myheader){s.trim})==0) { .. }; Seems in the body I got "0 " and maybe because of this automatic string to int conversion didn't work. Jurijs On Thu, Mar 11, 2021 at 1:33 PM Jurijs Ivolga wrote: > Hi, > > I'm runn

[SR-Users] Comparing if header has 0 value in body

2021-03-11 Thread Jurijs Ivolga
Hi, I'm running Kamailio 5.3.5 I have following header "X-myheader: 0" Nevertheless it seems this is not working for me: if ($hdr(X-myheader)==0) { . }; What I'm doing wrong? Jurijs ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamaili

Re: [SR-Users] iOS CallKit and tsilo

2021-03-10 Thread Jurijs Ivolga
r the network connection you > established between it and your server. > > > Regards, > Igor > > On 10.03.2021 15:18, Jurijs Ivolga wrote: > > Hi, > > My point is that you're referring to documentation where it is assumed > that there is always connection between iOS app a

Re: [SR-Users] iOS CallKit and tsilo

2021-03-10 Thread Jurijs Ivolga
html) > but maybe there is more efficient way, like "storing" dead transactions. > > Regards, > Igor > > On 10.03.2021 15:07, Jurijs Ivolga wrote: > > Hi, > > So if there is no connection between iOS app and Kamailio, what should we > do? Lets imagine scenar

Re: [SR-Users] iOS CallKit and tsilo

2021-03-10 Thread Jurijs Ivolga
Hi, So if there is no connection between iOS app and Kamailio, what should we do? Lets imagine scenario: call arrives, app receives push notifications and then call is cancelled, even before connection is established. Jurijs On Wed, Mar 10, 2021 at 4:04 PM Igor Olhovskiy wrote: > Hello, > > A

Re: [SR-Users] TSILO - transaction is not suspended

2021-01-07 Thread Jurijs Ivolga
Hi, What happens in the route[RELAY]? Maybe code after "route(RELAY)" is not executed? When there is only 1 device what value is inside $var(hstored) when the register hits Kamailio? Jurijs On Wed, Jan 6, 2021 at 4:27 AM Jeremy McNamara wrote: > Hi Folks - I am attempting to set up a mobile

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

2020-11-25 Thread Jurijs Ivolga
Hi, I do see this in logs and this seems normal, cause we do store that $sht and in a case if call is cancelled or ended we do not clean that $sht until it resets in 120 seconds, so if any register arrives without call during that 120 seconds, this is what you will see. Let assume somebody calls a

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

2020-11-25 Thread Jurijs Ivolga
Hi, Just my 50 santīmi. If you look into whole PUSHJOIN, then it is: route[PUSHJOIN] { > $var(hjoin) = 0; > lock("$tU"); > $var(hjoin) = $sht(vtp=>join::$tU); > $var(hstored) = $sht(vtp=>stored::$tU); > $sht(vtp=>join::$tU) = $null; > unlock("$tU"); > if ($var(hjoin)==0) > { > if ($var(hstored))

Re: [SR-Users] tsilo - failure to add branches (-1)

2020-11-05 Thread Jurijs Ivolga
Nov 5, 2020 at 12:51 PM Federico Cabiddu wrote: > Good to know that you solved it :) > Why did you have to set "append_branches" to 0? Which was the behaviour > when enabling it? > > Cheers, > > Federico > > On Tue, Nov 3, 2020 at 6:51 PM Jurijs Ivolga > w

Re: [SR-Users] tsilo - failure to add branches (-1)

2020-11-03 Thread Jurijs Ivolga
pend. > Then could you please retry the scenario being sure that there is only one > transaction stored? > Thank you, > > Federico > > > > > On Sat, Oct 31, 2020 at 5:16 PM Jurijs Ivolga > wrote: > >> Hi, >> >> Any ideas regarding "t_append_branc

Re: [SR-Users] tsilo - failure to add branches (-1)

2020-10-31 Thread Jurijs Ivolga
might fail. Jurijs On Thu, Oct 29, 2020 at 8:38 AM Jurijs Ivolga wrote: > Hi Federico, > > Indeed I had a messed up config at that point. I cleaned it up, but still > had the same problem. > > Full log in attachment. > > Here is some part of it: > > 45(51) DEBUG: {1 21 RE

Re: [SR-Users] tsilo - failure to add branches (-1)

2020-10-28 Thread Jurijs Ivolga
Hi Federico, Indeed I had a messed up config at that point. I cleaned it up, but still had the same problem. Full log in attachment. Here is some part of it: 45(51) DEBUG: {1 21 REGISTER 6z~FzexPro} tsilo [ts_append.c:72]: > ts_append(): transaction 16864:783220347 found for > sip:144345218710

Re: [SR-Users] tsilo - failure to add branches (-1)

2020-10-27 Thread Jurijs Ivolga
Hi Daniel-Constantin, Debug log is intachment. Do you see any hints? I think this is relative part: 2020-10-27T08:24:36.198Z,"79(85) DEBUG: {1 21 REGISTER G~qt15Oz7~} tsilo > [ts_append.c:72]: ts_append(): transaction 21280:984985415 found for > sip:1443452187102-0af7c6035717-0...@voipstaging.my

[SR-Users] tsilo - failure to add branches (-1)

2020-10-27 Thread Jurijs Ivolga
Hi, I have several Kamailio proxies - loadbalancer which is used as TLS offload and Authorization server and behind registrar servers. In this case I can't make tsilo work on the registrar server. I'm always getting: "tm [t_append_branches.c:172]: t_append_branches(): failure to add branches (-1

Re: [SR-Users] multi netwotk interface kamailio stops processing packets in one of it's network interfaces although keeps processing in the others

2020-09-16 Thread Jurijs Ivolga
On Wed, 16. Sep 2020 at 21:19, Nuno Miguel Reis wrote: > Hello everyone. > > I've started to have an issue with a kamailio 4.4 instance listening on > multiple network interfaces where it stops processing SIP on one of it's > network interfaces but still continues to work fine on the others. If I

Re: [SR-Users] Kamailio routing incoming phone call ranges to different dispatch groups

2020-08-24 Thread Jurijs Ivolga
Hi Patrik, It would help if you will include your config and some logs. But something like this should work: if($rU=~"^(0201316)[0-1][0-9]$") { ds_select_dst("1", "4") } else { ds_select_dst("2", "4") } I never tried this code, so it might have some errors, but you should understand the o

Re: [SR-Users] Dispatcher does not go to 2nd server

2020-07-21 Thread Jurijs Ivolga
Authenticate: Digest algorithm=MD5, realm="asterisk", > nonce="73fd892f", stale=true Content-Length: 0* > > > > On the other hand if i change the priority to 0 & 1 the servers > respectively, then no errors in asterisk console and they can call between >

Re: [SR-Users] Dispatcher does not go to 2nd server

2020-07-21 Thread Jurijs Ivolga
Ah, I see the problem, just change list file in following way: 1 sip:192.168.0.100:5080 0 0 maxload=20 1 sip:192.168.0.101:5080 0 0 maxload=20 Jurijs On Tue, Jul 21, 2020 at 3:28 PM Jurijs Ivolga wrote: > Hi Aristedis, > > Sorry, indeed you have module parameters. > > When

Re: [SR-Users] Dispatcher does not go to 2nd server

2020-07-21 Thread Jurijs Ivolga
or the modparam settings that Mr Jurijs Ivolga is proposing, I > already had them. it is the kamailio.cfg that I originally attached. > > Unfortunately I did not manage to find anything in the parameters that > will solve the problem as proposed by Villasmil and Semenov. I have given a &g

Re: [SR-Users] Dispatcher does not go to 2nd server

2020-07-21 Thread Jurijs Ivolga
Hi Aristeidis, In your case Dispatcher module is misconfigured and it missing crutials parts like: modparam("dispatcher", "flags", 2) # without this flag no failover will happen, as you experiencing modparam("dispatcher", "xavp_dst", "_dsdst_") # this xavps will hold the list with addresses an

Re: [SR-Users] Kamailio stop responding to AWS R53 health check

2019-11-13 Thread Jurijs Ivolga
Hi Andrew, I'm pretty sure this is bug what you are talking about: https://github.com/kamailio/kamailio/issues/1860 It should be fixed in 5.3.0 I believe, or you can always downgrade openssl to 1.0 as described here: https://www.kamailio.org/wiki/tutorials/tls/howto-openssl-1-0 Jurijs On Wed

Re: [SR-Users] Changing $fU or $fn in branch_route

2019-10-18 Thread Jurijs Ivolga
gt; By doing two changes to the same content (without an intermediate msg > apply changes), practically you insert two new values where the old value > started. The result being that the two new values appear one after the > other. > > Cheers, > Daniel > On 17.10.19 22:11, Jurij

Re: [SR-Users] Changing $fU or $fn in branch_route

2019-10-17 Thread Jurijs Ivolga
mailio.org/wiki/tutorials/faq/main#why_changes_made_to_headers_or > > In your case, try to do those changes only in branch_route. > > Cheers, > Daniel > On 17.10.19 20:59, Jurijs Ivolga wrote: > > Hi, > > Just to add one more point that $fU & $fn I'm checking not in script but &

Re: [SR-Users] Changing $fU or $fn in branch_route

2019-10-17 Thread Jurijs Ivolga
Hi, Just to add one more point that $fU & $fn I'm checking not in script but in SIP packet. So using sngrep i see in SIP packet from header where $fU and $fn are "1234567+123456". Jurijs On Thu, Oct 17, 2019 at 1:06 PM Jurijs Ivolga wrote: > Hi! > > I have small p

[SR-Users] Changing $fU or $fn in branch_route

2019-10-17 Thread Jurijs Ivolga
Hi! I have small problem. When I assign $fU or $fn in request-route and then one more time I make new assignment in branch_route. Instead of rewriting it is just concatenate needed value at the end. lets assume $avp(cli)=1234567 and $avp(cliplus)=+1234567. So if in request_route I do $fU=$avp(cli

Re: [SR-Users] Kamailio stop to process incoming SIP traffic via TCP.

2019-10-03 Thread Jurijs Ivolga
Hi Daniel, I hope you are well. Do you have any updates on this issue? Did you get any response on openssl mailing list? Thank you! With kind regards, Jurijs On Mon, Apr 1, 2019 at 11:55 AM Daniel-Constantin Mierla wrote: > Hello, > > an update on this issue -- I spent a bit of time looking

Re: [SR-Users] Kamailio stop to process incoming SIP traffic via TCP.

2019-02-27 Thread Jurijs Ivolga
Hi, Just to add that in my case I had a problem when after some period of time with a lot of TLS clients(100k+) I got a lot of TCP connections in CLOSE_WAIT state. When connections in CLOSE_WAIT state hit more then 1k, then kamailio stopped to receive traffic via TLS, nevertheless UDP at same time

Re: [SR-Users] Kamailio stop to process incoming SIP traffic via TCP.

2019-02-27 Thread Jurijs Ivolga
Hi, I experienced something similar on Debian Stretch, nevertheless on Debian Jessie it worked fine. We use TLS and I was thinking that it is something to do with SSL libraries, but never had chance to find out. But maybe my problem was nothing to do with what you just described. Jurijs On Wed,

Re: [SR-Users] invalid version 8 for table aliases found, expected 9

2018-08-21 Thread Jurijs Ivolga
Hi, I'm pretty sure that you just forgot to update table named - version. Just try to dump it and see what it contains. It should contain record version:9, but not 8 as it claims in error message. With kind regards, Jurijs On Tue, Aug 21, 2018 at 2:32 PM Abdulaziz Alghosh wrote: > Hi everyon

Re: [SR-Users] Memory leak in tm with push notifications

2018-06-14 Thread Jurijs Ivolga
Hi Henning, Thank you a lot! With kind regards, Jurijs On Thu, Jun 14, 2018 at 5:02 PM, Henning Westerholt wrote: > Am Donnerstag, 14. Juni 2018, 08:31:58 CEST schrieb Jurijs Ivolga: > > Thank you a lot for your input. > > > > But I was asking if there is a point to cre

Re: [SR-Users] Memory leak in tm with push notifications

2018-06-13 Thread Jurijs Ivolga
m bit afraid to create patch and apply it to our production servers, especially if I don't have a clue what it affects. :) With kind regards, Jurijs On Wed, Jun 13, 2018 at 11:02 PM, Henning Westerholt wrote: > Am Mittwoch, 13. Juni 2018, 09:51:45 CEST schrieb Jurijs Ivolga: > >

Re: [SR-Users] Memory leak in tm with push notifications

2018-06-13 Thread Jurijs Ivolga
Hi, I think I have this issue and I'm using 4.4 and I can't use master for now. I tried to cherry pick this 2 commits, but unfortunately it do not work. For example commit 5fe2a1a1c67b550431dcae3c98701073f7edd953 make changes in function t_continue_helper, but 4.4 do not has such function, it has

Re: [SR-Users] Kamailio ​ds_ping_interval Performance

2018-04-10 Thread Jurijs Ivolga
Hi, Please check how SIP works, but as far as I remember if Kamailio gets 200 from Freeswitch #2, it will send cancell to all other branches. With kind regards, Jurijs On Tue, Apr 10, 2018 at 9:01 AM, Atul Thosar wrote: > Any pointers, suggestions. > > -- > ​Thanks, > Atul Thosar > > > > On 8

Re: [SR-Users] Need useful graphics ideas

2017-12-06 Thread Jurijs Ivolga
Hi, You can trigger kamctl and collect necessary data and then push this data to grafana. Check this script which collects data for zabbix, but logic should be same: https://gist.github.com/crashdump/7751564 With kind regards, Jurijs On Wed, Dec 6, 2017 at 10:29 AM, Loic Chabert wrote: > Hi

Re: [SR-Users] Kamailio new install, unable to create users

2017-11-23 Thread Jurijs Ivolga
user for this is not recommended. With kind regards, Jurijs On Thu, Nov 23, 2017 at 12:07 PM, Atux Atux wrote: > May i have an example please? > the ip of my kamailio is on 192.168.124.6/24 > the same machine has the mysql with user root and passwd abc123 > > On Thu, Nov 23, 2017

Re: [SR-Users] Kamailio new install, unable to create users

2017-11-23 Thread Jurijs Ivolga
Hi, Make sure that you have proper mysql ip-address, username and password configured in */etc/kamailio/kamctlrc* With kind regards, Jurijs On Thu, Nov 23, 2017 at 11:37 AM, Atux Atux wrote: > Hi. New to the area and trying to find my way around with kamailio. > In one of my debian servers i

Re: [SR-Users] DBURL password in clear

2017-11-16 Thread Jurijs Ivolga
Hi Robert, I'm not security expert and I'm quite new in docker, but I think password in Docker container which will be in clear text saved somewhere should not be a problem, as far as you do not save this password to image or git and etc... I think best way for you is to use docker secret and gen

Re: [SR-Users] DBURL password in clear

2017-11-16 Thread Jurijs Ivolga
Hi, Not sure that this helps, but below is how I solved similar issue by generating include file inside Docker file using env variables, but this is not a good approach for sensitive data. echo "\modparam(\"http_client\", \"httpcon\", \"apiserver=>https://$apiurl\";); \" >> /kamailio.apiurl I be

Re: [SR-Users] Debian Stretch

2017-09-28 Thread Jurijs Ivolga
gt; But with the Kamailio 4.4 integrated in Debian repository, it seems OK for > now. > > Regards. > > -- > Ludovic Gasc (GMLudo) > Lead Developer Architect at ALLOcloud > https://be.linkedin.com/in/ludovicgasc > > 2017-09-28 10:51 GMT+02:00 Jurijs Ivolga : > >> Hi,

Re: [SR-Users] Debian Stretch

2017-09-28 Thread Jurijs Ivolga
sktop.org/software/systemd/man/systemd.exec.html> unit > If this will help then create ticker and i will create PR > Example > <https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/debian/freeswitch-systemd.freeswitch.service> > > чт, 28 сент. 2017 г. в 8:51, Juri

Re: [SR-Users] Debian Stretch

2017-09-28 Thread Jurijs Ivolga
://www.kamailio.org/wiki/cookbooks/5.0.x/core#tcp_max_connections > > Cheers, > Daniel > > > On 28.09.17 07:51, Jurijs Ivolga wrote: > > Hi Guys, > > I recently tried to use Debian Stretch in production and it didn't went > well. On load(500k-700k SIP messages per day) I get a

[SR-Users] Debian Stretch

2017-09-27 Thread Jurijs Ivolga
Hi Guys, I recently tried to use Debian Stretch in production and it didn't went well. On load(500k-700k SIP messages per day) I get a problem that at some point there was a pike of CLOSE_WAIT connections(up to 2k of CLOSE_WAIT connections) and no new connections was possible, I tried to figure ou

Re: [SR-Users] How to change SDP in 200 Ok reply

2017-09-26 Thread Jurijs Ivolga
lies, not requests. > > Are you sure it is executed against the INVITE request? You can add an > xlog at the top of the block and see in the logs if it is reply or request > (there are functions or variables for it). > > Cheers, > Daniel > > On 26.09.17 09:17, Jurijs Ivolga

[SR-Users] How to change SDP in 200 Ok reply

2017-09-26 Thread Jurijs Ivolga
Hi, I have difficult times to edit SDP in 200 ok replies, I need to change RTP/SAVPF to UDP/TLS/RTP/SAVPF in all 200 Ok. Here is code snippet: onreply_route { if ( $rm == "INVITE" && status=="200") { if (search_body("a=fingerprint")) {

Re: [SR-Users] how to play ring tune when callee declines

2017-09-22 Thread Jurijs Ivolga
how do i turn > it off? > > > At 2017-09-22 16:32:10, "Jurijs Ivolga" wrote: > > Hi, > > 1) You need to change default password > *"Open /usr/local/freeswitch/conf/**vars.xml and change the > default_password."* > > 2) You are cal

Re: [SR-Users] how to play ring tune when callee declines

2017-09-22 Thread Jurijs Ivolga
Hi, Please check this: http://lists.freeswitch.org/pipermail/freeswitch-dev/2013-November/006889.html Probably you need to set rtp_allow_crypto_in_avp=true in vars.xml With kind regards, Jurijs On Fri, Sep 22, 2017 at 11:32 AM, Jurijs Ivolga wrote: > Hi, > > 1) You need to chang

Re: [SR-Users] how to play ring tune when callee declines

2017-09-22 Thread Jurijs Ivolga
0.240.0.90]:5060 at 08:23:29.859597: >--- > ----- >ACK sip:prompt-1000@10.240.0.90:5095 SIP/2.0 >Via: SIP/2.0/UDP 35.202.167.70:5060;branch=z9hG4bK04d4. > 2c5c86a459371d838623651e8f5b6984.0;i=1 >Max-Forwards: 69 >From: ;tag= > M

Re: [SR-Users] how to play ring tune when callee declines

2017-09-22 Thread Jurijs Ivolga
:00 AM, Jurijs Ivolga wrote: > Hi, > > You probably don't need record route and you need to remove " application="bridge" data="user/$1@${domain_name}"/>" > > Try in this way: > > *In kamailio.cfg* I added

Re: [SR-Users] how to play ring tune when callee declines

2017-09-22 Thread Jurijs Ivolga
te outgoing channel of > type [user] cause: [USER_NOT_REGISTERED] >--- > - >SIP/2.0 480 Temporarily Unavailable >.. >Reason: SIP;cause=606;text="USER_NOT_REGISTERED" > > -

Re: [SR-Users] how to play ring tune when callee declines

2017-09-22 Thread Jurijs Ivolga
Hi, You need to add: to conf/dialplan/default.xml in your code, you had extra line what was sending a call to 1000 extension. With kind regards, Jurijs On Fri, Sep 22, 2017 at 10:29 AM, Jurijs Ivolga wrote: > Hi, > > So, problem is not related to rec

Re: [SR-Users] how to play ring tune when callee declines

2017-09-22 Thread Jurijs Ivolga
/directory/default. Where did i > miss? > > Thanks > > > > > > At 2017-09-22 14:53:06, "Jurijs Ivolga" wrote: > > Hi, > > Sip trace from Freeswitch will help, but I think you need to insert > Record-Route, try in following way: > > if ($rU==&quo

Re: [SR-Users] how to play ring tune when callee declines

2017-09-21 Thread Jurijs Ivolga
Hi, Sip trace from Freeswitch will help, but I think you need to insert Record-Route, try in following way: if ($rU=="12345") { if(is_method("INVITE")) { record_route(); $ru = "sip:" + "offline" + "@" + $sel(cfg_get.voicemail.srv_ip)

Re: [SR-Users] Kamailio example configuration: auth section incomplete?

2017-08-02 Thread Jurijs Ivolga
I could read your second post. > > Ah, I can see now where this is going, although it's completely unfit for > the use of kamailio I'm investigating. Thanks! > > On 2 August 2017 at 22:11, Jurijs Ivolga wrote: > >> Hi George, >> >> I misread your emai

Re: [SR-Users] Kamailio example configuration: auth section incomplete?

2017-08-02 Thread Jurijs Ivolga
Hi George, I misread your email, sorry. In your case scenario is when somebody from outside tries to call user registered in kamailio, by default it is allowed. We do not need to challenge such request, because it is user from outside, not our subscriber and by default kamailio allows such calls

Re: [SR-Users] Kamailio example configuration: auth section incomplete?

2017-08-02 Thread Jurijs Ivolga
Hi George, If you are asking about this part: if (from_uri!=myself && uri!=myself) { sl_send_reply("403","Not relaying"); exit; } Then this mean that we do not want to deal with sip requests which not send to us or not by us. So any request which is not related to us we will

Re: [SR-Users] kamailio 5.0 with asterisks

2017-07-20 Thread Jurijs Ivolga
Hi Aidar, Your approach should work. So basically calls from Asterisk should be routed to destination what is found in location table and calls not from Asterisk to Asterisk servers. Try update your config following way: change "route(DISPATCH);" line with flowing code: if(!ds_is_from_list()) {