Hi All,
I just want to know how I can use append_branch() function for register
requests. What I want to do is register all users on all asterisk servers by
forwarding the register requests (to all asterisk servers) and then if the
sip proxy throws call to any of the server the asterisk server, the call
should be successful. If its possible then please let me know.
Cheers
--
Best Regards
Rizwan Qureshi
On Mon, Nov 15, 2010 at 8:04 AM, Torbjörn Abrahamsson
<torbjorn.abrahamsson(a)gmail.com> wrote:
> Hello.
>
>
> We are trying to use Kamailio 3.0.3 behind a NAT. After reading the cookbook
> we added the advertised_address parameter set to the public IP in our cfg.
> This works for the via-header but the record-route-header still uses the
> internal IP. Shouldn’t this be changed as well? The documentation says that
> advertised_address should apply to RR.
advertised_address parameter works for Via headers.
> We have also tried to use record_route_preset, but still ends up with the
> internal IP in the record-route-header.
record_route_preset and record_route are exclusive - use one or the
other but not both for the same message
Regards,
Ovidiu Sas
Hello.
We are trying to use Kamailio 3.0.3 behind a NAT. After reading the cookbook
we added the advertised_address parameter set to the public IP in our cfg.
This works for the via-header but the record-route-header still uses the
internal IP. Shouldnt this be changed as well? The documentation says that
advertised_address should apply to RR.
We have also tried to use record_route_preset, but still ends up with the
internal IP in the record-route-header.
We found some discussions about this when googleing, dating back to 2005. We
also found an open-ser-bugreport regarding this. Neither of these resources
provided an insight in what we have missed.
BR,
Torbjörn Abrahamsson
Hi all,
I was wondering if Im the only one getting this error (in siremis 2.0.0 with
kamailio 3.1). i.e. I have activated the accounting modules & all but still
when I click the "CDR list" in "Accounting Services" it errors on me saying
that CDRS table is missing, which ofcourse is missing from the "openser"
mysql DB.
Why is CDRS table missing ? Is it okay (advisable) to create a CDRS table
mentioned in siremis 1.0 docs (http://siremis.asipto.com/install-accounting/
)
Cheers
---
X
[2010-11-12 14:01:08 (GMT)] An exception occurred while executing this
script:
Error message: #0, Error in query:: SELECT T0.cdr_id, T0.src_username,
T0.src_domain, T0.dst_username, T0.dst_domain, T0.call_start_time,
T0.duration, T0.sip_call_id, T0.sip_from_tag, T0.sip_to_tag, T0.src_ip,
T0.cost, T0.created FROM `cdrs` T0 LIMIT 10. SQLSTATE[42S02]: Base table or
view not found: 1146 Table 'openser.cdrs' doesn't exist
Script name and line number of error:
/var/www/siremis-2.0.0/openbiz/bin/data/BizDataObj_Lite.php:447
function: _run_search ( Array(2) ) @
/var/www/siremis-2.0.0/openbiz/bin/data/BizDataObj_Lite.php 243
function: fetch ( ) @ /var/www/siremis-2.0.0/openbiz/bin/easy/EasyForm.php
690
function: fetchDataSet ( ) @
/var/www/siremis-2.0.0/openbiz/bin/easy/FormRenderer.php 69
function: renderSmarty ( Object(EasyForm),
"/var/www/siremis-2.0.0/siremis/modules/ser/template/grid.tpl" ) @
/var/www/siremis-2.0.0/openbiz/bin/easy/FormRenderer.php 45
function: render ( Object(EasyForm) ) @
/var/www/siremis-2.0.0/openbiz/bin/easy/EasyForm.php 1648
function: renderHTML ( ) @
/var/www/siremis-2.0.0/openbiz/bin/easy/EasyForm.php 1538
function: render ( ) @
/var/www/siremis-2.0.0/openbiz/bin/easy/ViewRenderer.php 83
function: renderSmarty ( Object(EasyView),
"/var/www/siremis-2.0.0/siremis/modules/ser/template/view.tpl" ) @
/var/www/siremis-2.0.0/openbiz/bin/easy/ViewRenderer.php 40
function: render ( Object(EasyView) ) @
/var/www/siremis-2.0.0/openbiz/bin/easy/EasyView.php 274
function: _render ( ) @ /var/www/siremis-2.0.0/openbiz/bin/easy/EasyView.php
237
function: render ( ) @ /var/www/siremis-2.0.0/openbiz/bin/BizController.php
221
function: renderView ( "ser.view.CdrsListView", "", "", Null, "" ) @
/var/www/siremis-2.0.0/openbiz/bin/BizController.php 107
function: dispatchRequest ( ) @
/var/www/siremis-2.0.0/openbiz/bin/BizController.php 32
function: include_once (
"/var/www/siremis-2.0.0/openbiz/bin/BizController.php" ) @
/var/www/siremis-2.0.0/siremis/bin/controller.php 6
function: include ( "/var/www/siremis-2.0.0/siremis/bin/controller.php" ) @
/var/www/siremis-2.0.0/siremis/bin/_forward.php 90
function: include ( "/var/www/siremis-2.0.0/siremis/bin/_forward.php" ) @
/var/www/siremis-2.0.0/siremis/index.php 3
Please ask system administrator for help...
Hello list,
has anybody else tried using SIREMIS 2.0 for administrating LCR tables in
kamailio 3.1.0?
I am not happy with the form / input boxes that are presented in the web
browser, because some fields are not as expected.....
Following points are - from my point of view - incorrect:
1) table "LCR_Gateway_List": the fields 'URI-scheme', 'Transport' and
'Strip' are represented by checkboxes. However, in reality these fields
are defined with smallint(3) types and e.g. transport is representing
values from NULL...4 - not boolean!
2) table "LCR_Target_List": the field priority is represented by a
checkbox, too. However, also this field is not boolean. Priorities are
represented by numbers, starting with '0' = highest priority a.s.o.
Can anybody check if this "problem" is a real one, or only present on my
PC? I have tested with IE and Firefox - the result is still the same.
regards,
Klaus
OK, and how do you usually deal with this? I was thinking of putting the
Q-value into the "Display Name" field, so when the device registers, I could
get it using $fn (reference to display name of 'From' header) and put it
directly to the location table in the database...
i want to instal tunnel server in kamailio .
i want to ask if there is any opensource voip tunnel server .
and if there is an tutorial to configure kamailio with tunnel server
thanks for help
hala
> Hi All,
>
> I'm still getting these errors and I'm struggling to resolve the
> problem. I think I'm missing an append_branch or something simple in
> my config, a little guiedance will be appriciated.
>
> The error:
>
> Nov 11 10:23:26 sip-router1 /usr/local/sbin/kamailio[23739]: ERROR: tm
> [t_fwd.c:1379]: ERROR: t_forward_nonack: no branches for forwarding
> Nov 11 10:23:26 sip-router1 /usr/local/sbin/kamailio[23739]: ERROR: tm
> [tm.c:1300]: ERROR: w_t_relay_to: t_relay_to failed
>
> The sip graph causing the error:
>
> http://pastebin.com/VHhQ1sJY
>
> My config:
>
> http://pastebin.com/BYn4g5ur
>
> Do I need to have a mechanism to deal with a 486 form the carrier?
>
> Thanks.
>
> JR
> --
> JR Richardson
> Engineering for the Masses
>
>
>
> ------------------------------
>
> Message: 4
> Date: Thu, 11 Nov 2010 11:52:21 -0500
> From: Alex Balashov <abalashov(a)evaristesys.com>
> Subject: Re: [SR-Users] noack and t_relay erros errors
> To: sr-users(a)lists.sip-router.org
> Message-ID: <4CDC1F45.1000704(a)evaristesys.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> 1. One problem may be that you are calling route[RELAY] from your
> failure route and using sl_send_reply(). The route[RELAY] is still
> being invoked in a failure route execution context, even if you have
> managed to contextually invoke another route, or subroutine if you will.
> Stateless replies (sl_reply_error()) cannot be sent from within a
> failure route.
>
> 2. Yes. throw an append_branch() into your failure route.
>
> --
> Alex Balashov - Principal
> Evariste Systems LLC
> 1170 Peachtree Street NE
> 12th Floor, Suite 1200
> Atlanta, GA 30309
> Tel: +1-678-954-0670
> Fax: +1-404-961-1892
> Web: http://www.evaristesys.com/
>
Well, that seemed to help greatly, so far no more errors after
changing my failure route to:
failure_route[FAIL_ONE] {
if (t_is_canceled()) {
exit;
}
ds_mark_dst("P");
ds_next_dst();
append_branch();
t_relay();
}
Thanks Alex, right on target again.
JR
--
JR Richardson
Engineering for the Masses
Hi, can anyone answer this?
Regards
Lee
From: sr-users-bounces(a)lists.sip-router.org
[mailto:sr-users-bounces@lists.sip-router.org] On Behalf Of Lee Archer
Sent: 10 November 2010 10:25
To: sr-users(a)lists.sip-router.org
Subject: [SR-Users] Variable substitution with Dispatcher
Hi, I am trying to compare 3.0.4 and 3.1 and the following works in 3.1
but not 3.0.4. Should this work in 3.0 or was it only fixed for 3.1?
ds_select_dst($tU,"4");
Regards
Lee