Hello community
I'm trying to run kamailio with oracle 11g database and applying the needed querys by using Sqlops modules after applying the needed configuration i didn't find any Syntex to execute Oracle function from kamailio sqlops module .
So is there any way to execute oracle function from kamailio ??
Best regards
Hello,
I have trouble with REFER method that has to-tag and Route header , more than one.
When it pass loose_route() method , loose_route function remove all route headar then sets RURI with top most Route.
Is there a function that removing own route header and sets destination uri ($du) with top most uri.
Best Regards.
Yasin CANER
https://tools.ietf.org/html/rfc3515
2.6<https://tools.ietf.org/html/rfc3515#section-2.6> Behavior of SIP Proxies
SIP proxies do not require modification to support the REFER method.
Specifically, as required by [1<https://tools.ietf.org/html/rfc3515#ref-1>], a proxy should process a REFER
request the same way it processes an OPTIONS request.
For example,
---------->mykamailio(a)test2.test----------->>nextroute(a)test3.test------>
1
--
REFER : sip:alice@test.test ...
Route:<sip:mykamailio-local@test2.test;lr>,<sip:nextroute@test3.test;lr>,<sip:nextroute2@test4.test>
To: <>;tag=asdads
From:<>;tag=asd123
---
2 - After Kamailio Process
---
REFER : sip:alice@test.test ...
<sip:nextroute@test3.test>,<sip:nextroute2@test4.test>
To: <>;tag=asdads
From:<>;tag=asd123
Greetings,
If I do a query using sql_query() method I can see the number of rows
returned with $dbr(ra=>rows). Is there a return with this info using
sql_xquery ?
Best Regards,
Duarte Rocha
Current kamailio package (checked via RPM) is contains lot of modules. Some
of this is not important to include in every kamailio installation. May be
create own packages for this modules and other in next 5.3 branch?
Modules examples:
benchmark.so
db_cluster.so
db_text.so
rtpengine.so
rtpproxy.so
sipcapture.so
siptrace.so
sipt.so
sms.so
smsops.so
ss7ops.so
https://github.com/kamailio/kamailio/issues/1862
Before DMQ there were other ways to do similar things. Is DMQ now
considered the best way? Assuming I am using recent stable?
Are there any good guides on clustering Kamailio? I am not finding a
lot of good info on that subject. Specifically, for multi datacenter
active active where things like floating IP's and keepalived are not
really an option.
hi,
I have setup everything in kamailio and i also added dispatcher in my
kamailio config.
When i try to login via SIP Client(zoiper) i am getting the following error.
Feb 21 11:20:26 ip-10-0-0-121 /usr/local/sbin/kamailio[21131]: INFO:
<core> [core/parser/parse_fline.c:144]: parse_first_line():
ERROR:parse_first_line: method not followed by SP
Feb 21 11:20:26 ip-10-0-0-121 /usr/local/sbin/kamailio[21131]: ERROR:
<core> [core/parser/parse_fline.c:257]: parse_first_line():
parse_first_line: bad message (offset: 0)
Feb 21 11:20:26 ip-10-0-0-121 /usr/local/sbin/kamailio[21131]: ERROR:
<core> [core/parser/msg_parser.c:675]: parse_msg(): ERROR: parse_msg:
message=<�#007�>
Feb 21 11:20:26 ip-10-0-0-121 /usr/local/sbin/kamailio[21131]: ERROR:
<core> [core/receive.c:199]: receive_msg(): core parsing of SIP
message failed (114.241.140.68:4569/1)
How can i fix this problem?
Thanks.
Prabhat
Hello,
I would like to get parallel forking working on my Kamailio installation, but I have trouble to accomplish that.
I am running Kamailio 5.1.4 and follow the example in the tm-module as given in https://www.kamailio.org/docs/modules/5.1.x/modules/tm.html#tm.serial_forki… <https://www.kamailio.org/docs/modules/5.1.x/modules/tm.html#tm.serial_forki…>
If I run this example nothing is happening, except that I can see that the „t_on_branch“ is executed when stated, but no calls are routed to the destinations appended.
(No phones are actually ringing ...)
What am I missing / should do to get actual calls routed?
(I am getting the seturi- phone to ring, if I remove the break statement, so that the call can get routed „all the way“.)
Is there any working Kamailio example-config, where I can actual see the parallel forking working?
Regards
Jan-Hendrik
I am getting the following error while installing websocket modules in
kamailio.
make -C src/ install-modules-all
make[1]: Entering directory '/usr/local/src/kamailio-5.1/kamailio/src'
CC (gcc) [M websocket.so] ws_frame.o
ws_frame.c:32:10: fatal error: unistr.h: No such file or directory
#include <unistr.h>
^~~~~~~~~~
compilation terminated.
../../Makefile.rules:100: recipe for target 'ws_frame.o' failed
make[2]: *** [ws_frame.o] Error 1
Makefile:511: recipe for target 'install-modules' failed
make[1]: *** [install-modules] Error 1
make[1]: Leaving directory '/usr/local/src/kamailio-5.1/kamailio/src'
Makefile:27: recipe for target 'install-modules-all' failed
make: *** [install-modules-all] Error 2
*Is this a bug?? How can i fix this problem?*
Thanks,
Hi, in a sdp i need to rewrite a a=sendrecv to a=sendonly
but onyl for the for the video stream. I made a regex like this:
(?<=m=video)(?s)(.*)(a=sendrecv)
Full version here: https://regex101.com/r/rovecJ/1
But if have problems to translate this into kamailio config via
subst_body function. I always end with ERROR: fix_actions(): fixing
failed (code=-3)
Somebody sees the mistake?
Kristijan