Hi,
I am using drouting but having issues when trying to route numbers in E164
in the prefix. Any ideas how to allow for a + in the prefix field in the DB?
Thanks
Keith
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
Hello,
On 24/04/15 11:59, Keith wrote:
Hi,
I am using drouting but having issues when trying to route numbers in
E164 in the prefix. Any ideas how to allow for a + in the prefix field
in the DB?
checking quickly, looks like drouting was designed to accept only digits
for prefix.
You can
Hello,
On 30/05/14 20:54, Pete Ashdown wrote:
I'm trying to get my head around how to do a failure loop in droute
through all possible destinations, and if all destinations are
exhausted, go to failureroute. Does anyone have an example of this?
Without the ability to do a while on (!t_relay())
Hello,
I want to decide route for incoming INVITE packet on basis of Domain
entry in Location Table, i.e domain part of the user, used for identifing
the user (along with the username part). Useful in multi domain scenarios,
which is defined by
modparam(usrloc, use_domain, 1)
As far as I have
On 4/29/2014 06:36, Keith wrote:
Hi all,
I am having trouble deciding which one of these is best. I was going to
start to use drouting but that doesn't seem to give me the probe
efficiency of dispatcher. However I need to control calls based on
destinations to different voice carriers.
I'm
Hello,
ok, I will backport.
Cheers,
Daniel
On 27/04/14 16:44, Maciej Bylica wrote:
Hi Daniel,
It works... thanks alot for your help.
Mac.
2014-04-25 0:48 GMT+02:00 Maciej Bylica mb...@gazeta.pl
mailto:mb...@gazeta.pl:
Hi Daniel,
I am about to do this on Fri and will give you
Hi Daniel,
It works... thanks alot for your help.
Mac.
2014-04-25 0:48 GMT+02:00 Maciej Bylica mb...@gazeta.pl:
Hi Daniel,
I am about to do this on Fri and will give you feedback soon.
Thanks
Mac.
Can you try the patch from commit:
-
Hi all,
So I moved away from LCR and dispatcher to use drouting but I can't see how
to use probing. In OpenSIPS I can see this is built into the module but
it's not in Kamailio.
Any ideas how I can get round this? I want to use drouting for all my
routing needs.
Cheers
Keith
Hello
Do you need any other data to verify?
Thanks.
2014-04-23 12:11 GMT+02:00 Maciej Bylica mb...@gazeta.pl:
Hi Daniel,
Here is debug you requested.
DEBUG: core [parser/msg_parser.c:623]: parse_msg(): SIP Request:
DEBUG: core [parser/msg_parser.c:625]: parse_msg(): method: INVITE
Hi Daniel,
Here is debug you requested.
DEBUG: core [parser/msg_parser.c:623]: parse_msg(): SIP Request:
DEBUG: core [parser/msg_parser.c:625]: parse_msg(): method: INVITE
DEBUG: core [parser/msg_parser.c:627]: parse_msg(): uri:
sip:43111223344@10.10.10.5
DEBUG: core
Hello,
On 22/04/14 18:26, Keith wrote:
Hi,
I am trying to use the drouting module and was wondering if there is a
wildcard character for the dr_groups table for the user?
My situation is that I want to look at any user from a certain IP
range (i.e. the carrier).
Any ideas?
Do you want
Hello,
can you set debug=3 in kamailio.cfg and then send the syslog messages
for routing a call matching the drouting rule?
Cheers,
Daniel
On 22/04/14 19:12, Maciej Bylica wrote:
Hello,
I am working on version: kamailio 4.1.2 (x86_64/linux) and heaving
troubles with drouting module.
The
Hello,
this could be also an workaround for adding some prefix based on length.
But also the length can be used, it should work like:
$rU = + $(rU{s.len}) + $rU;
(note the empty string) or
pv_printf($rU, $(rU{s.len})$rU);
Cheers,
Daniel
On 8/28/12 7:25 AM, Javi Gallart wrote:
Hi
maybe
Hello,
On 8/27/12 6:54 PM, Luis Fernando Urrea wrote:
I haven't been able to find the answer in the documentation.
It seems DROUTING does not take regex in the dr_rules table to match
routable numbers, are there any kind of wilcards that could be used.
How does one specify different rules
Yes thank you Daniel,
On my setup I terminate local calls using colocated TDM equipment, these
calls are 8 digit numbers that start with 2,4,6,7 and 8
Then I use a FreeSWITCH box as a gateway for US and international calls, so
I was hoping I could somehow route based on numbers of digits.
I
Hello,
one solution is doing following trick:
- get the length of the dialed number via transformation and prefix it
to the number
$rU = $(rU{s.len}) + $rU;
- in drouting keep rules only for prefixes 2, 4, 6, 7 and 8
- for drouting gateways set strip to 1, so the first digit (the length)
Thanks Daniel,
That got me started, however, it seems that the return value
from $(rU{s.len}) is actually an integer and therefore could not be
concatenated to $rU string ?
4(18194) ERROR: pv [pv_core.c:1798]: str value required to set R-URI user
14(18194) ERROR: core [lvalue.c:354]: setting
I see there is a transformation to return the string value of an integer
but I can't seem to find the opposite one.
{s.int}
Return integer value of a string-represented number
On Mon, Aug 27, 2012 at 6:22 PM, Luis Fernando Urrea
lfur...@simplecs.netwrote:
Thanks Daniel,
That got me started,
Hi
maybe this would work. You have a mask like (you choose
the max length and the content). From the mask you extract as many
digits as the length of your number with {s.substr,offset,length}, being
length $(rU{s.len}}. Then you prepend the result to you $rU.
Hope it helps
Hi Daniel
I've tried the patch on my 3.2.2 and it doesn't crash now!
Thanks!
Yufei
On 13/06/12 10:55, Daniel-Constantin Mierla wrote:
Hello,
can you try with the patch from commit:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=c737ff95bb2e742981d81088169baa60d4605b85
Hello,
On 6/14/12 11:36 AM, Yufei Tao wrote:
Hi Daniel
I've tried the patch on my 3.2.2 and it doesn't crash now!
thanks for feedback -- I backported the patch to 3.3 and 3.2 branches.
Cheers,
Daniel
Thanks!
Yufei
On 13/06/12 10:55, Daniel-Constantin Mierla wrote:
Hello,
can you try
Hello,
this situation seems to be caused by the fact there is no valid routing
rule at all.
Can you get the backtrace? First do:
ulimit -c unlimited
Then run again an a corefile should be generated (in / or in working
directory) - use gdb to get the backtrace:
gdb /path/to/kamailio
Hi Daniel
The version is:
version: kamailio 3.2.2 (i386/linux)
flags: STATS: Off, USE_IPV6, USE_TCP, USE_TLS, TLS_HOOKS, USE_RAW_SOCKS,
DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC,
DBG_QM_MALLOC, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE,
USE_DNS_FAILOVER,
Hello,
can you try with the patch from commit:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=c737ff95bb2e742981d81088169baa60d4605b85
It is one line of effective code that you have to change. Let me know if
goes ok now and I will backport to stable branches.
Cheers,
Hello,
On 6/1/12 4:57 PM, Yufei Tao wrote:
Hi
I'm using drouting module and seems that it only allows digit-only
prefixes. Also all the number of digits to be stripped ('strip' defined
in dr_gateways) must be all digits too. When I used non-digits in these,
Kamailio crashed.
Is there any way
Hi Daniel
Thanks for the reply!
I tried it again and the log seems to suggest it crashed when loading
the dr_rules table that contains non-digit prefix, e.g. prefix bing 'abc.':
1. First crash when doing MI command dr_reload:
Jun 12 15:19:07 myserver2 /usr/sbin/kamailio[2293]: INFO: drouting
~Vanrise Support
Subject: Re: [SR-Users] DRouting cause Kamailio 3.2 to stop
Hello,
finally I had the time to look at the documents you sent. The problem is
that you have recursive execution of do_routing(0) from do_routing(0).
This happens because you have route[4] like:
route[4
in advance,
F.Chahrour
*From:*Daniel-Constantin Mierla [mailto:mico...@gmail.com]
*Sent:* Friday, March 16, 2012 7:12 PM
*To:* SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) -
Users Mailing List
*Cc:* Fatima Chahrour~Vanrise Support
*Subject:* Re: [SR-Users] DRouting cause Kamailio
, 2012 3:44 PM
*To:* SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) -
Users Mailing List
*Cc:* Fatima Chahrour~Vanrise Support
*Subject:* Re: [SR-Users] DRouting cause Kamailio 3.2 to stop
Hello,
can you send also the full version - -the output of
'/usr/local/sbin/kamailio -V
) and SIP Express Router (SER) -
Users Mailing List
*Cc:* Fatima Chahrour~Vanrise Support;
sr-users-boun...@lists.sip-router.org
mailto:sr-users-boun...@lists.sip-router.org
*Subject:* Re: [SR-Users] DRouting cause Kamailio 3.2 to stop
Hello,
have you found the core file in /var/log/? It is a strange
~Vanrise Support
Subject: Re: [SR-Users] DRouting cause Kamailio 3.2 to stop
Hello,
that's the core file, do:
gdb /usr/local/sbin/kamailio /core
The send out the output from the gdb commands:
bt
bt full
Cheers,
Daniel
On 3/1/12 10:03 AM, Fatima Chahrour~Vanrise Support wrote:
Dear Daniel
(SER) - Users
Mailing List
Subject: Re: [SR-Users] DRouting cause Kamailio 3.2 to stop
I am working with kamailio from 3 months or so. And we use it only as
registrar and load balance. All routing is done from Asterisks which are
behind kamailio. I only route using ds_select_dst - to select
-router.org [mailto:
sr-users-boun...@lists.sip-router.org] *On Behalf Of *Stoyan Mihaylov
*Sent:* Friday, February 24, 2012 5:05 PM
*To:* SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) -
Users Mailing List
*Subject:* Re: [SR-Users] DRouting cause Kamailio 3.2 to stop
** **
I am
I suppose - kamailio crashes. You can run in console on same server:
tail -f /var/log/syslog
or you can tail file where sys logs are stored.
There - you can see some debugs, and you can check discussion about
kamailio crashes and how to get dump file.
This way you will identify problem and then
...@lists.sip-router.org
[mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Stoyan Mihaylov
Sent: Friday, February 24, 2012 2:48 PM
To: SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users
Mailing List
Subject: Re: [SR-Users] DRouting cause Kamailio 3.2 to stop
I suppose
Of *Stoyan Mihaylov
*Sent:* Friday, February 24, 2012 2:48 PM
*To:* SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) -
Users Mailing List
*Subject:* Re: [SR-Users] DRouting cause Kamailio 3.2 to stop
** **
I suppose - kamailio crashes. You can run in console on same server:
tail
://lists.sip-router.org/pipermail/sr-users/attachments/20101025/eeae5259/attachment-0001.htm
--
Message: 3
Date: Mon, 25 Oct 2010 16:51:32 +0300
From: marius zbihlei marius.zbih...@1and1.ro
Subject: Re: [SR-Users] Drouting usage
To: sr-users@lists.sip-router.org
On 10/25/2010 04:16 PM, Javier Gallart wrote:
Hello
sorry if this sounds too newbie. I'm interested in the drouting
module. The first INVITE is correctly forwarded to the gw foudn in the
drouting table:
if (is_method(INVITE) !has_totag()) {
do_routing(0);
38 matches
Mail list logo