Hi, is this expected behavior?
I have two target hosts in a dispatcher set, 10.20.20.118 (prio 5) and 10.20.20.252 (prio 10).
When I have 10.20.20.252 turned off, dispatcher still tries to send packets to that host, even when the status flags are IP.
root@vs-rs01:/etc/kamailio# kamcmd dispatcher.list
{
NRSETS: 1
RECORDS: {
SET: {
ID: 1
TARGETS: {
DEST: {
URI: sip:10.20.20.252:5060
FLAGS: IP
PRIORITY: 10
LATENCY: {
AVG: 0.000000
STD: 0.000000
EST: 0.000000
MAX: 0
TIMEOUT: 62
}
}
DEST: {
URI: sip:10.20.20.118:5060
FLAGS: AP
PRIORITY: 5
LATENCY: {
AVG: 3.876000
STD: 2.965000
EST: 5.058000
MAX: 14
TIMEOUT: 0
}
}
}
}
}
}
Hi
I am using advertise in the listen interface for our NATed setup within AWS.
Using following listen statement in kamailio: -
version: kamailio 5.5.1
listen=udp:10.0.1.4:5060 advertise 3X.1XX.1XX.2XX:5060
dispatcher.list
1 sip:10.0.4.23:5060 8 10 weight=11 #FreeSwitch 1
We are seeing that kamailio (10.0.1.4) is sending
two SIP INVITEs via dispatcher to FreeSwitch at 10.0.4.23 which seems strange or is it expected behaviour? (As seen below)
SIP INVITE Request: -
WAN Address >> Kamailio AWS NATed address >> FreeSwitch 1
1X.2X.2X.2X >> 3X.1XX.1XX.2XX
10.0.1.4 >> 10.0.4.23
10.0.1.4 >> 10.0.4.23
Many thanks
Regards
Muhammad Zaka
I am looking to configure Kamailio and RTPEngine to play a wav file for any new calls during a scheduled asterisk server maintenance. I have set up the following within route{} to send the call to a early_media route based on a variable that I can set on the server using kamcmd.
route {
...
if ($sht(config=>maint)=="1") {
if (is_method("INVITE") && !has_totag()) {
xlog ("L_INFO","Ongoing maintenance. Call-ID:$ci | Method: $rm");
route(early_media);
}
}
...
}
route[early_media] {
xlog("Maintenance: handling early_media\n");
rtpengine_manage("direction=external direction=external");
$var(body) = $(rb{re.subst,/(IP4.).*/\1##server IP redacted##/g});
set_reply_body($var(body), "application/sdp");
t_send_reply("183", "Session Progress");
sleep(2);
unblock_dtmf("all");
play_media("file=/etc/kamailio/media/maintenance.wav");
sleep(21);
rtpengine_delete();
t_reply("480","Temporarily Unavailable");
}
This mostly works as I hear the recorded message in place of the ringing tone when a call is processed by kamailio and then a busy signal is heard as part of the 480 reply at the end. The sleep's are in place to match the duration of the recorded message as otherwise the 480 is sent immediately following the start of the play_media. Feel free to let me know if there is a better solution to wait the duration of the media file and then proceed with processing instead of using sleep().
Is there a way to instead send a CANCEL or a BYE instead of a 480 after the wav file is played? I tried using t_cancel_callid("$ci", "$cs", "0") as well as a dlg_bye("all") at the end of the early_media route and neither seemed to send any headers out.
hello,
I have issue of no voice on kamailio configured for webrtc. I have
configured rtpengine with public and private interface. My kamilio has two
interface of pubic and private ip. Somebody has suggested me that there is
no ice trickling happens. I am using jssip webrtc client. Kindly suggest me
or help me with this. I have send another email for same issue to this
group and didnt get any reply. Kindly help me
I need a help on issue with rtpengine configuration and I didn't get any
repy for it. Kindly check about it and help me. If i won't get any help
kindly let me know, so I can stop waiting for your reply
On Mon, Mar 13, 2023 at 12:50 PM <sr-users-bounces(a)lists.kamailio.org>
wrote:
> Your mail to 'sr-users(a)lists.kamailio.org' with the subject
>
> webrtc audio issue
>
> Is being held until the list moderator can review it for approval.
>
> The message is being held because:
>
> The message is larger than the 150 KB maximum size
>
> Either the message will get posted to the list, or you will receive
> notification of the moderator's decision.
>
Hi All
I have setup kamailio using dispatcher to proxy registrations from the UAC to asterisk
but when asterisk sends an incoming call it does not seem to keep the path header and therefore kamailio sends 404
is there anyway around this?
Thanks
Sent with [Proton Mail](https://proton.me/) secure email.
Hi,
I have been working on setting up the database with the Kamailio server.
But facing a problem when my db user has configured with SSL required. But
I learnt that there is no support to enable the SSL in mariadb connector.
So I am thinking of using the MySQL connector instead. Is there anyway I
could configure the kamailio to use MySQL instead of Mariadb?
Thanks and regards,
Suchendra
Hi
We are using advertise in the listen interface for our NATed setup within AWS.
Using following listen statement in kamailio: -
version: kamailio 5.5.1
listen=udp:10.0.1.4:5060 advertise 3X.1XX.1XX.2XX:5060
dispatcher.list
1 sip:10.0.4.23:5060 8 10 weight=11 #FreeSwitch 1
We are seeing that kamailio (10.0.1.4) is sending two SIP INVITEs via dispatcher to FreeSwitch at 10.0.4.23 which seems strange or is it expected behaviour? (As seen below)
SIP INVITE Request: -
WAN Address --> Kamailio AWS NATed address --> FreeSwitch 1
1X.2X.2X.2X --> 3X.1XX.1XX.2XX
10.0.1.4 --> 10.0.4.23
10.0.1.4 --> 10.0.4.23
[cid:image001.png@01D955CE.9F0C2EE0]
Many Thanks
Regards
Muhammad Zaka
Muhammad Zaka
UCaaS Solutions Engineer
Tel: 03330147908
Email: Muhammad.Zaka(a)gamma.co.uk
This is an email from Gamma Telecom Ltd, trading as “Gamma”. The contents of this email are confidential to the ordinary user of the email address to which it was addressed. This email is not intended to create any legal relationship. No one else may place any reliance upon it, or copy or forward all or any of it in any form (unless otherwise notified). If you receive this email in error, please accept our apologies, we would be obliged if you would telephone our postmaster on +44 (0) 808 178 9652 or email postmaster(a)gamma.co.uk
Gamma Telecom Limited, a company incorporated in England and Wales, with limited liability, with registered number 04340834, and whose registered office is at The Scalpel, 18th Floor, 52 Lime Street, London EC3M 7AF and whose principal place of business is at Kings House, Kings Road West, Newbury, Berkshire, RG14 5BY.