HI!
I need help to configure RTPProxy.
I have working Kamailio on Centos 6.5, On LAN everything is working fine.
Now I want my other users to connect using 3G or any other network.
Please help me with that.
Statis Public IP (DSL Modem) ----- Proxy Box with 2 Lan cards ---
192.168.2.0 and 192.168.0.0 (Lan Side)
Hello,
We need to integrate Kamailio with an exchange switch in order to have
routing decision.
Kamailio must send to the switch the list of available gateways in the
contact tag of SIP response as shown in the below example:
SIP/2.0 300 Multiple choices
Via: SIP/2.0/UDP 172.16.5.112:5060;branch=z9hG4bK1sansay9906915rdb2243
Via: SIP/2.0/UDP 216.53.4.5:5060;branch=z9hG4bK_1852370774_4741_1
To: <sip:86532917453592@69.41.186.186:5060
<http://sip:86532917453592@69.41.186.186:5060> >
From: <sip:+249964642906@216.53.4.5:5060;otg=024050>;tag=1852370774_C
Call-ID:
sbcsipuac.2_169.132.137.51_b55sb12_1_1_2015052909455960_1852370774_487698
CSeq: 1 INVITE
Contact: <sip:2917453592@036310>, <sip:2917453592@016500>,
<sip:138295#2917453592@044610>, <sip:2917453592@020100>
Server: Invoice SIP-server
Content-Length: 0
Is this can be done through drouting module , or we need to use another
module ?
Your help is highly appreciated.
Regards,
Ali
Hi,
Does Kamilio have a predefined module to support "Multiple Phone Numbers" registration with a single Registration?I am trying to register multiple numbers on behalf of IP-PBXs.
Thanks,Al
Hello,
I am trying to load a test hash table on kamailio startup but I keep
getting the following error with kamctl after i restart Kamailio and try
to list all the tables in memory:
kamcmd> htable.listTables
error: 500 - No htables
I have the following configured in kamailio.cfg:
# ---- loading the htable module
loadmodule "htable.so"
# ----- htable params -----
modparam("htable", "htable", "abc=>size=8;autoexpire=0;dbtable=htable;")
modparam("htable", "db_url", DBURL)
modparam("htable", "fetch_rows", 1000)
The DBURL is pointed to the kamailio database on the same machine.
#!ifndef DBURL
#!define DBURL "mysql://kamailio:kamailiorw@localhost/kamailio"
#!endif
I have also added the following values for testing purposes to the
kamailio.htable:
id key_name key_type value_type key_value expires
------ ---------- -------- ---------- --------- ---------
1 test 0 0 12345 0
Is there anything else that i might be missing here? Im running kamailio
v.4.2.4.
Cheers,
-- Olli
Hello;
i try to append prefix to $rU like below in Kamailio V4.2.5 . i
get error even if i set string value. it works only when i append like
that $rU="3002"+$rU;
--------- 1 test------------
$var(prefix)=$avp(s:69);
$rU=$var(prefix)+$rU;
-FAILED
---------2 test ------------
$rU=$avp(s:69)+$rU;
-FAILED
------- 3 test ------------
$rU=$avp(i:69)+$rU;
-FAILED
-------ERROR---------
May 29 12:06:57 group1-imslab11 /usr/local/sbin/kamailio[26196]: ERROR:
pv [pv_core.c:2115]: pv_set_ruri_user(): str value required to set R-URI
user
May 29 12:06:57 group1-imslab11 /usr/local/sbin/kamailio[26196]: ERROR:
<core> [lvalue.c:363]: lval_pvar_assign(): setting pvar failed
May 29 12:06:57 group1-imslab11 /usr/local/sbin/kamailio[26196]: ERROR:
<core> [lvalue.c:416]: lval_assign(): assignment failed at pos:
(790,7-790,22)
it work on Version 4.1.7 like below correctly;
$rU=$avp(i:69)+$rU;
Thanks
Yasin
Hello!
My goal is to create a mechanism for dynamic creation/deletion of SIP users
on Kamailio.
First question: is it possible to create users not via kamctl command, but
directly inserting new entries to this tables?
And the second one: if it is possible, which hash alghorythm Kamailio uses
when creating a new user on subscriber table? Becase I see 2 fields with
hashes.
Thank you
--
Alexandru Covalschi
VoIP engineer and system administrator
phone: +37367398493
<http://abs-telecom.com/>
Hi,
I would like to know how to log the value of "from_uri" and "myself" attributes on kamailio 3.3.7 ?None of the following works:
xlog("L_INFO","from_uri: $dlg(from_uri)");
$var(x) = from_uri;xlog("L_INFO","$var(x)");
Thanks,Al
Hello,
Kamailio is not receiving the BYE request when the call is ended by any of
call parties.
Noting that when the call is connected, a direct RTP session is established
between the user and the gateway , and kamailio doesn't receive since then
any message related to this call.
Is there any trick to do in order to let kamailio gets the BYE request?
Attached is the used configuration.
Appreciate your help.
Regards,
Ali
Hello Daniel,
I am implementing conference bridge using kamalio and RTP
porxy without media mixing. Since for now we are ok with this. My question
is as per the flow of RFC 4579, UA may send SUBSCRIBE to the conference URI
with event as conference. In kamalio modules presence_conference where they
mentioned such way that it will support the same what I am looking for. But
I simulated using sipP by sending subscriber with conference event. I am not
seeing any notify XML which will have the conference users list. One more
doubt where it will pick the conference users, since I am not seeing any
specific data base table for the same.
Can you please clarify what exactly for presence_conference
module.
Note: I have loaded three modules presence, presence_xml,
presence_conference, in route config I am calling handle_subscribe when
SUBCRIBE method receives.
Regards
Surendra
India: +91-8124625001