Hi all,
Hve anyone seen before the following error?
*Kamailio acc [acc.c:398]: failed to insert into database*
After a Kamailio restart it is ok but it start again afetr x time.
Thank you Alex
Hi,
I have a question about kamailio-asterik interconnection. I'd like to
connect 1000 numbers with a trunk, but it would be painful to add 1000
trunks on asterisk. Do you have some idea how could I group those numbers
into one trunk connected to kamailio? asterisk and kamailio configuration
settings.
Thank you very much.
Hello,
in about two and a half week the annual open source developer conference
FOSDEM (http://fosdem.org/2011/) takes place in Brussels. As in the last two
years we would like to meet here for a social event, probably a dinner on
Saturday evening, 6th February.
This developers already confirmed their participance:
- Daniel-Constantin Mierla
- Marius Zbihlei
- Henning Westerholt
This year we'll also be present in the Open Source Telephony room on sunday
with two talks, "Scaling location services in large SIP networks with Kamailio
from Marius and myself, and "Unifying SIP and Web worlds with Lua (Kamailio)"
from Daniel. Olivier Taylor agreed helping us again in choosing a nice place
for the evening.
Participation at the event is free of charge, everybody pays for its own
expenses. In order to organize a restaurant and do a reservation please send
me a short mail if you would like to attend.
Looking forward to see you in Brussels!
Best regards,
Henning
P.S.: Photos of the 2009 event can be found on the web site:
http://www.kamailio.org/events/2009-FOSDEM/FOSDEM2009-Album/
--
Henning Westerholt - Head of IT Operations Internet Access & Communications
1&1 Internet AG, Karlsruhe, Germany
Hi,
I am using xlogl for debugging and logging the most important actions within the kamailio script. Does it take much resources if I use the pseudo variables with the xlogl statements? Example:
xlogl("L_NOTICE", "Route $rm to destination! F=$fu T=$tu IP=$si \n");
I´m planning to do this in all the xlogl statements to be able to debug / "see whats going on" on the system.
Thanks in advance.
Best regard,
Bernhard
Hi,
that was _really_ fast. Thanks. :-)
One more question: Could I somehow test with the route[NAT] for example, if the request was from the main route { ... } or from the onreply_route[] ?
Best regards,
Bernhard
----- Original Message -----
From: Alex Balashov [mailto:abalashov@evaristesys.com]
To: Bernhard Suttner [mailto:bernhard.suttner@winet.ch]
Cc: sr-users(a)lists.sip-router.org [mailto:sr-users@lists.sip-router.org]
Sent: Sat, 29 Jan 2011 21:37:34 +0100
Subject: Re: [SR-Users] onreply_route and failure_route
> Yes.
>
> --
> Alex Balashov - Principal
> Evariste Systems LLC
> 260 Peachtree Street NW
> Suite 2200
> Atlanta, GA 30303
> Tel: +1-678-954-0670
> Fax: +1-404-961-1892
> Web: http://www.evaristesys.com/
>
> On Jan 29, 2011, at 3:35 PM, "Bernhard Suttner" <bernhard.suttner(a)winet.ch
> > wrote:
>
> > Hi,
> >
> > is it possible to call a route within onreply_ and failure_route? I
> > mean, within the main route { ... } its possible to call the route
> > [NAT]. Is this also possible for this "special" routes? If this is
> > possible, is it also allowed to call a route which will normally
> > called from the main route { ... }
> >
> > Thanks in advance.
> >
> > Best regards,
> > Bernhard
> >
> > _______________________________________________
> > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
> > list
> > sr-users(a)lists.sip-router.org
> > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
Hi,
is it possible to call a route within onreply_ and failure_route? I mean, within the main route { ... } its possible to call the route[NAT]. Is this also possible for this "special" routes? If this is possible, is it also allowed to call a route which will normally called from the main route { ... }
Thanks in advance.
Best regards,
Bernhard
Hi, I am trying to run dispatcher based on the inbound number called.
This works fine for some numbers but not all. Is there a bigint string
function as this would solve my problems? The numbers I am receiving
are 14 digits long which s.int is returning as something completely
different to what it should be.
Thanks
Lee
Hi there,
I have a requirement now that for one of my GW¹s in my LCR, needs to be
sourced from another IP address (two different rate-decks with the carrier).
This ratedeck will always be at least 2nd inline ...
I was thinking something along the sorts ... Some pseudo code:
failure_route [2] {
.
.
if (next_gw()) {
if ( name = 'gw_name') {
force_send_socket(udp:ip.address.of.certain.ip:5060);
} else {
# just dummy, as we will send out our default IP for everyone
else.
}
t_on_failure("2");
route(19);
}
.
.
.
}
What variable will have the value that's in the gw_name column? I can't go
by the IP address in $ru because the destination IP is the same between the
two ratedecks.
Overall, Is that the best way to handle this requirement?
Thanks all,
-graham
Same destination IP for both rate decks, so I need to go by something else, like the gw_name.
----- Reply message -----
From: "Stagg Shelton" <stagg(a)vocalcloud.com>
Date: Sat, Jan 29, 2011 8:27 am
Subject: [SR-Users] LCR next_gw() - certain GW, source from other IP address
To: <sr-users(a)lists.sip-router.org>
Do the provider gateways have the same IP address for the different rate
plans? If the gateways are different then the following may be relevant.
if (next_gw()) {
# prepare for lcr failover
t_on_failure("2");
if($rd=="aaa.aaa.aaa.aaa")
{
xlog ("L_INFO", "This is a request for Some Rate Plan");
force_send_socket(udp:xxx.xxx.xxx.xxx:5060);
}
else
{
xlog ("L_INFO", "This is a request for another rate
plan");
force_send_socket(udp:yyy.yyy.yyy.yyy:5060);
};
route(2);
} else {
xlog("No gateways found!");
Stagg
On 1/29/11 9:10 AM, Graham Wooden wrote:
> Hi there,
>
> I have a requirement now that for one of my GW¹s in my LCR, needs to be
> sourced from another IP address (two different rate-decks with the carrier).
> This ratedeck will always be at least 2nd inline ...
>
> I was thinking something along the sorts ... Some pseudo code:
>
> failure_route [2] {
> .
> .
> if (next_gw()) {
> if ( name = 'gw_name') {
> force_send_socket(udp:ip.address.of.certain.ip:5060);
> } else {
> # just dummy, as we will send out our default IP for everyone
> else.
> }
> t_on_failure("2");
> route(19);
> }
> .
> .
> .
> }
>
> What variable will have the value that's in the gw_name column? I can't go
> by the IP address in $ru because the destination IP is the same between the
> two ratedecks.
>
> Overall, Is that the best way to handle this requirement?
>
> Thanks all,
>
> -graham
>
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users(a)lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users