Hello all,
I installed kamailio on debian from kamailio's apt repository. Configured
it with kamdbctl, started it up properly, no issues.
I configured mysql also, worked properly.
Next i loaded up "mohqueue" and everything went to hell :)
This is my config:
loadmodule "mohqueue.so"
# ----- moh-queue -----
modparam ("mohqueue", "db_url", "mysql://user:password@localhost/kamailio")
modparam ("mohqueue", "db_qtable", "mohqueue")
modparam ("mohqueue", "db_ctable", "mohqcalls")
modparam ("mohqueue", "mohdir", "/var/kamailio/MOH")
and my db table for mohqueue is:
+----+------------+-------------------------+--------------------+---------+-------+
| id | name | uri | mohdir | mohfile
| debug |
+----+------------+-------------------------+--------------------+---------+-------+
| 1 | test_queue | sip:1234@172.16.163.130 | /var/kamailio/MOH/ | test
| 9 |
+----+------------+-------------------------+--------------------+---------+-------+
when starting, i get:
...
0(5069) DEBUG: <core> [sr_module.c:689]: find_mod_export_record():
find_export_record: found <t_relay> in module tm
[/usr/lib/x86_64-linux-gnu/kamailio/modules/tm.so]
0(5069) DEBUG: <core> [sr_module.c:689]: find_mod_export_record():
find_export_record: found <t_forward_nonack> in module tm
[/usr/lib/x86_64-linux-gnu/kamailio/modules/tm.so]
0(5069) DEBUG: <core> [sr_module.c:689]: find_mod_export_record():
find_export_record: found <t_release> in module tm
[/usr/lib/x86_64-linux-gnu/kamailio/modules/tm.so]
0(5069) DEBUG: <core> [sr_module.c:689]: find_mod_export_record():
find_export_record: found <load_rr> in module rr
[/usr/lib/x86_64-linux-gnu/kamailio/modules/rr.so]
0(5069) DEBUG: <core> [sr_module.c:695]: find_mod_export_record():
find_export_record: <rtpproxy_answer> not found
0(5069) ERROR: mohqueue [mohq.c:390]: mod_init(): Unable to load
rtpproxy_answer
0(5069) ERROR: <core> [sr_module.c:962]: init_mod(): Error while
initializing module mohqueue
(/usr/lib/x86_64-linux-gnu/kamailio/modules/mohqueue.so)
ERROR: error while initializing modules
Anyone can help?
Thanks!
--
DVG
--
Imagination is more important than knowledge
Albert Einstein
Hello Guys,
I'm new to this list.
I'm trying to setup a queue with 4.3.3 (x86_64/linux) and I see a couple of
things i'm wondering about:
- kamdbctl created the table "mohqueues" and the associated value in the
"version" tables. Whereas kamailio uses "mohqueue" (no extra "s" at the
end).
- after fixing that, it finds the table, but when searching for the moh
file, which i set as "/var/kamailio/MOH/test.8" on the mohqueue table, but
kamailio can't find it:
0(61540) ERROR: mohqueue [mohq.c:390]: mod_init(): Unable to load
rtpproxy_answer
0(61540) ERROR: <core> [sr_module.c:962]: init_mod(): Error while
initializing module mohqueue
(/usr/lib/x86_64-linux-gnu/kamailio/modules/mohqueue.so)
ERROR: error while initializing modules
ls -l /var/kamailio/MOH/test.8
-rw-rw-rw- 1 root root 166038 Jun 10 2009 /var/kamailio/MOH/test.8
Can anyone lend a hand?
Thanks!
David
--
DVG
--
Imagination is more important than knowledge
Albert Einstein
Hi,
I have started RTP with
# ./rtpproxy -F -l localhost -s udp:*:7890
and when I issue #netstat -pln | grep rtpp
I get,
udp 0 0 0.0.0.0:7890 0.0.0.0:*
8759/rtpproxy
I am using another similar instance of RTP also. Still my connection
seems to be flaky. This doesn't occur always. I am not using
dispatcher here. Simple rtpproxy with udp:rtp1 and udp:rtp2 in
kamailio.cfg file.
Is there anyway to tell if RTP is healthy other than making calls and
finding out?
Can somebody test it from your end? Or is this problem client
specific? I am using microlite and sipper on windows.
phone.infinicalls.com
u:test;p:test123
u:trial;p:trial123
5060
regards
Ganesh Kumar
Hello,
I have setup with my phone provider an IP endpoint to do IP Auth. How would I go about setting that up in Kamailio or even better can some tell me how to do that in Siremis?
Hi folk!
Have a scenario:
UA-A -> REGISTER -> kamailio
kamailio make auth, and save(location),
after this, before exit, I want to send to UA-A a custom NOTIFY with
specific event
(this should be done without SUBSCRIBE/PUBLISH/NOTIFY logic)
....
$uac_req(method) = "NOTIFY";
$uac_req(ruri) = $sel(contact.uri);
$uac_req(furi) = "sip:service@" + $rd;
$uac_req(turi) = $sel(contact.uri);
$uac_req(hdrs) = ......... here custom header is added
xlog("L_ERR", "debuginfo, NOTIFY to ru $uac_req(ruri), fu $uac_req(furi);
uac_req_send();
............
when UA-A is connected via UDP/TCP/TLS - works OK
when UA-A connected via WS/WSS", have errors:
Nov 10 14:59:29 /usr/sbin/kamailio[6260]: ERROR: <script>: debuginfo, NOTIFY
to ru sip:251@10.100.1.218:47114;transport=ws, fu sip:service@10.100.1.85,
Nov 10 14:59:29 /usr/sbin/kamailio[6260]: WARNING: <core>
[msg_translator.c:2799]: via_builder(): TCP/TLS connection (id: 0) for
WebSocket could not be found
Nov 10 14:59:29 /usr/sbin/kamailio[6260]: ERROR: tm [t_msgbuilder.c:1365]:
assemble_via(): assemble_via: via building failed
Nov 10 14:59:29 /usr/sbin/kamailio[6260]: ERROR: tm [t_msgbuilder.c:1545]:
build_uac_req(): build_uac_req(): Error while assembling Via
Nov 10 14:59:29 /usr/sbin/kamailio[6260]: ERROR: tm [uac.c:379]:
t_uac_prepare(): t_uac: Error while building message
I see no problem with ws connect (calls to/from this ws peer works OK),
immediately after registration:
root@local:/home/admin# kamctl fifo ws.dump
2: wss:127.0.0.1:40239 -> wss:127.0.0.1:5061 (state: OPEN, last used 5s
ago, sub-protocol: sip)
The difference in UDP/TCP/TLS from WS/WSS - that first connects directly to
Kamailio to port 5060/5061, but second connects to custom ports, where
listen special daemon and proxy sip to kamailio 5060/5061 via localhost
I tried also to add in script
$uac_req(sock) = "tls:127.0.0.1:5061";
but the result is the same
version: kamailio 4.2.5 (i386/linux)
any suggestion?
cheers
--
View this message in context: http://sip-router.1086192.n5.nabble.com/issue-with-uac-req-send-to-websocke…
Sent from the Users mailing list archive at Nabble.com.
Hey community,
Our current switch is being overloaded and when it does we're getting these
2 messages spammed in our logs:
WARNING: dialog [dlg_handlers.c:1127]: dlg_onroute(): unable to find dialog
for ACK with route param '35d.d2f1' [3411:7981]
ERROR: tm [t_reply.c:1341]: t_should_relay_response(): ERROR:
t_should_relay_response: status rewrite by UAS: stored: 503, received: 100
We're obviously working on not having the switch get so overloaded, but I'm
also curious to understand why it can't find the dialogs. Is it a memory
issue? Networking/dropping packets issue?
I also imagine it's not as simple as a single overall answer either, but
nevertheless I figured I'd reach out to the community and see if anyone has
an understanding of what is happening and would be willing to take a few
mins to explain.
Thanks in advance,
Ryan Brindley
Software Development Officer
Stratics Networks, Inc.
1.866.635.6918 x108
Hello. Recently I started a very simple open source project for auto
deploying an Active-Passive Kamailio cluster using Corosync and Pacemaker.
For auto deployment I used Ansible. I thought it can be useful for some
users. Link of project's repository:
https://github.com/ghrst/Kamailio-HA
Hello. I have some one provider that sends me BYE request with to_tag that
kamailio can not parse
IP my.pro.vi.der.5060 > my.ser.vi.ce.5060: UDP, length 406
E.......x...S.0X_..L......8.BYE sip:0987654321@my.ser.vi.ce SIP/2.0
Via: SIP/2.0/UDP
my.pro.vi.der:5060;branch=z9hG4bKsj7bv820c0s18k8a15q1sd000ag33.1
Call-ID: 00137fb21f65f19a3094c38b30d80f5c
CSeq: 1479 BYE
From: <sip:1234567890@my.pro.vi.der>;tag=SDi9r0899-5ci36vojn0
To: <sip:0987654321@my.pro.vi.der>;tag=as6635bbe1
Reason: Q.850;cause=16;text="Normal call clearing"
Max-Forwards: 69
Content-Length: 0
So I guess that problem in provider (may be ";" with another code)
But may be we have some instruments to get tag (without parsing strings in
a config file or something like that )