hi,
I have a Kamailio setup infront of a SIP system that do not handle cancellation of a INVITE correctly.
The system sends out a BYE request instead of a Cancel request on non connected dialogs.
I am trying to find a way to let Kamailio "translate" the BYE request to a Cancel reqeust for the ongoing INVITE dialog.
Alternative if SEMS b2bua can do it, but currently it replies: "not sip-relaying BYE in not connected dlg", and I have not found any obvious way to rewrite it there.
Any thoughts. I can not change the behavior of the remote system.
Best Regards,
Lars
Hello,
I'm trying to use xavu as described in Kamailio documentation:
https://www.kamailio.org/wiki/cookbooks/5.4.x/pseudovariables#xavu_id_-_xav…
$xavu(a=>b) = "xyz"; # <- two level naming supported
However, this does not seem to work. The second level is ignored.
When calling pv_xavu_print() it only shows the last element set, e.g.:
$xavu(cdru=>one) = "one" ;
$xavu(cdru=>two) = "two" ;
pv_xavu_print() ;
Result:
11(14989) INFO: {1 1 INVITE 7rc2rGgOYS56zDqN} <core> [core/xavp.c:592]: xavx_print_list_content(): *** (l:0 - 0x7f217c55eab8) XAVU name: cdru
11(14989) INFO: {1 1 INVITE 7rc2rGgOYS56zDqN} <core> [core/xavp.c:593]: xavx_print_list_content(): XAVU id: 1863997055
11(14989) INFO: {1 1 INVITE 7rc2rGgOYS56zDqN} <core> [core/xavp.c:594]: xavx_print_list_content(): XAVU value type: 2
11(14989) INFO: {1 1 INVITE 7rc2rGgOYS56zDqN} <core> [core/xavp.c:603]: xavx_print_list_content(): XAVU value (str): two
11(14989) INFO: {1 1 INVITE 7rc2rGgOYS56zDqN} <core> [core/xavp.c:629]: xavx_print_list_content(): *** (l:0 - 0x7f217c55eab8) end
11(14989) INFO: {1 1 INVITE 7rc2rGgOYS56zDqN} <core> [core/xavp.c:632]: xavx_print_list_content(): ----- end XAVU list: 0x7f217c55eab8 (level=0)
Am I missing something, or is this a bug ?
Regards,
Nicolas.
This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
Hello,
I'm trying to get CDR working in Kamailio by using the acc and dialog
modules. Everything seemed to be working fine - until i noticed that for
some of the calls the call duration is 0, even if that call has been
successfully established and duration was for about a few minutes. In the
Kamailio logs I'm getting such errors:
WARNING: dialog [dlg_handlers.c:1649]: dlg_ontimeout(): timeout for dlg
with CallID '304bad142b50bb3a7a117816439ea3d5' and tags 'as3adde5c7'
'7d28152f-e0e3-4bcf-9d5c-21c3723b95c5'
WARNING: acc [acc_cdr.c:230]: db_write_cdr(): fallback to dlg_only search
because of message doesn't exist.
This error I'm getting at about 2 min after the ACK message for 200 OK. I'm
not sure that this is related to the dialog timeout, but below you can see
the related configuration for the dialog module:
modparam("dialog", "default_timeout", 10800) # 3 hours
modparam("dialog", "early_timeout", 180)
modparam("dialog", "noack_timeout", 90)
Unfortunately, I'm not able to reproduce this issue, as that's happening
randomly and just a few times per day. On the SIP Level i didn't notice any
strange issues.
Any ideas why is that happening?
Thank you.
Hello Kamailians!
I'm glad to announce some updates about the Lua Kemi-test-suite which has
been presented on KamailioWorld online 2020 conference
https://github.com/ovoshlook/kemi-lua-test-suite
There are some important updates that I hope will make your life easier if
you use Lua KEMI.
- Now (finally!) it is available via LuaRocks. So it is easy to go for
now. No more manual source downloads! (this is the main reason I'm writing
this message ).
- More modules and some core functions have been mocked. It is still a lot
of jobs that have to be done but the amount of available mocks is growing.
- Added CRASH_PROTECTION functionality. So for now there is a mechanism
which is checks if you calling a function with an incorrect amount of
params ( see README ).
- Extended mocking engine: now it is possible to mock any functions of KSR
or third-party modules/libraries: for example, Redis, MySQL, or other
connectors calls.
P.S. suite still on development and changes from time to time, but
published versions are stable and ready to use.
P.P.S. Warm welcome to contributors.
Hi,
could anyone please give me some inputs on ims diameter server.. How it can
be used ?
I tried to use ims diameter server to send http request from pcscf to pcf.
But before sending http request, it is sending diameter request to pcf and
it is getting failed. I need to have only http request such that my http
api should be sent to pcf from pcscf.So I need some input on how it can be
used. I have referred the link
https://kamailio.org/docs/modules/5.4.x/modules/ims_diameter_server.html
but couldnt able to get much details .. If anybody have worked on this, It
would be helpful if you give some more details
Thanks,
Pavithra
Hi,
could anyone please give me some inputs on ims diameter server.. How it can
be used ?
I tried to use ims diameter server to send http request from pcscf to pcf.
But before sending http request, it is sending diameter request to pcf and
it is getting failed. I need to have only http request such that my http
api should be sent to pcf from pcscf.So I need some input on how it can be
used. I have referred the link
https://kamailio.org/docs/modules/5.4.x/modules/ims_diameter_server.html
but couldnt able to get much details .. If anybody have worked on this, It
would be helpful if you give some more details
Thanks,
Pavithra
Hi,
I know this is kind of a wrong forum for this question, but I have got
no answer from linphone forum so I am trying my luck here.
I have kamailio with pretty much the default config with slight
modification enabling me the push notifications for iOS (via curl) and
late forking (t_suspend, t_continue). But my linphone on iOS although
gets awaken does not present me with the call I am trying to establish.
Did anyone of you guys experimented with similar setup? If so, to what
degree were you successful and can you share some insights especially on
the format of push notification where I suspect my problem to be rooted?
Thanks in advance and once again, sorry if I am off-topic too much.
Regards, Jan
Do Module RTPENGINE Supports 'Replaces' header (RFC 3891), if yes then how to use this feature if no then will module RTPEngine will have support for 'Replaces' in the near future? I have been using Freeswitch for this functionality but facing many difficulties in it.
Regards
Hamid R. Hashmi