Hello There,
I'm trying using the following regexp on re.subst function:
(.*)Calling-Name: ?([\W|0-9A-Za-z_]{5,500} ?[<>:@.|0-9A-Za-z_]{5,500})(.*)$
And the string used for match is the following:
#015#012Calling-Name-Status: available#015#012Calling-Name: "josé" <
sip:5555555552@10.10.10.10>#015#012Presentation-Indicator: allowed#015#012
The Kamailio re.subst function is constructed as the following:
$sht(cnam=>$ci::calling_name)=$(var(rb){re.subst,/(.*)Calling-Name:
?([\W|0-9A-Za-z_]{5,500} ?[<>:@.|0-9A-Za-z_]{5,500})(.*)$/\2/s});
The issue here is that this re.subst function doesn't match the accents, I
have tested this regex on regex101.com and it does match. My question is
how i can get the same result with re.subst?
Anyone can help?
Thank you
Regards
--
José Seabra
Hello,
I'd like to dimension shared memory to use "kamctl cr reload" without issue.
Currently, my table "carrierroute" has 204k entries and if I do "kamctl cr
reload", the reload fails.
Just after, I have thousands of these errors:
Mar 2 12:10:52 /usr/local/sbin/kamailio[28606]: ERROR: <core>
[sip_msg_clone.c:507]: sip_msg_shm_clone(): cannot allocate memory
Mar 2 12:10:52 /usr/local/sbin/kamailio[28606]: ERROR: tm
[t_lookup.c:1332]: new_t(): ERROR: new_t: out of mem:
Mar 2 12:10:52 /usr/local/sbin/kamailio[28606]: ERROR: tm
[t_lookup.c:1472]: t_newtran(): ERROR: t_newtran: new_t failed
After a reboot, Kamailio back to normal. Actually, I start Kamailio with -m
704 and -M 128.
Thank you for your advises.
Regards,
Igor.
---
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
https://www.avast.com/antivirus
Hi All.
Today I have problem with connection from 1 of the clients.
Their PBX sends KEEP-ALIVE after some time after REGISTER.
I have next error in kamailio log
Feb 28 14:26:19 sbc2 /usr/sbin/kamailio[3657]: ERROR: <core>
[tcp_read.c:1354]: tcp_read_req(): bad request, state=7, error=4
buf:#012KEEP-ALIVE sip:1.2.3.4 SIP/2.0#015#012#015#012#012parsed
:#012KEEP-ALIVE sip:1.2.3.4 SIP/2.0
After which my kamailio closes TCP session....
This connection is done with sip TLS.
Thank you in advance.
--
Best regards,
Sergey Basov e-mail: sergey.v.basov(a)gmail.com
Hello,
Two times in the last week, Kamailio reports MySQL errors like these:
/usr/local/sbin/kamailio[19225]: ERROR: db_mysql [km_dbase.c:126]:
db_mysql_submit_query(): driver error on query: Can't connect to MySQL
server on '192.168.2.6' (4) (2003)
/usr/local/sbin/kamailio[19225]: ERROR: <core> [db_query.c:235]:
db_do_insert_cmd(): error while submitting query
/usr/local/sbin/kamailio[19225]: ERROR: acc [acc.c:504]: acc_db_request():
failed to insert into database
These errors are repeated many times and cause Kamailio to hang and don't
reply to SIP requests. A reboot of Kamailio solves the issue.
Anyone has already had this issue and had solved it?
Regards,
Igor.
---
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
https://www.avast.com/antivirus
Hello,
Is there any reason the CentOS 6 RPMs don't build utils.so or
http_client.so?
Looking back to 4.3 it appears it was being built:
kamailio-utils-4.3.6-1.1.x86_64.rpm
However it is no longer available in 4.4 nor 5.0 RPMs for either CentOS
6 or 7.
Thanks,
--
Trevor Peirce
AcroVoice Solutions Inc
Hi all,
What is the quickest way to update Kamailio tables? I wanted to check out
the SIPTRACE module and I noticed the table is not there.
Thanks.
--
Andy Chen
Hello there,
Some times dns server fails and my kamailio server start replying
"Unresolvable destination (478/SL)".
The propose of my email is to know if is there any possibility to change
this reply (478) to for example one of 5XX replies.
I have modparam("sl", "default_code", 503) but in situations where dns
fails, kamailio doesn't reply 503.
Thank you for your support
Regards
José Seabra
Hello,
I'm having some trouble with topos not working well when mixed with
nathelper (and maybe other cases, too).
There is a bug that describes exactly the problem at
https://github.com/kamailio/kamailio/issues/1005
Has anyone else had trouble with this module? Anything I'm missing?
Thanks,
--
Trevor Peirce
AcroVoice Solutions Inc
Hi i have kamailio 4.2, dialog module with parametr
modparam("dialog", "dlg_flag", 5)
modparam("dialog", "enable_stats", 1)
modparam("dialog", "profiles_with_value", "caller")
modparam("dialog", "dlg_match_mode", 1)
modparam("dialog", "default_timeout", 3600)
modparam("dialog", "timeout_noreset", 1)
modparam("dialog", "send_bye", 1)
modparam("dialog", "timeout_avp", "$avp(i:4242)")
modparam("dialog", "db_url", DBURL)
modparam("dialog", "db_mode", 0)
in event_route[tm:local-request] i use
if(is_known_dlg()) {
xlog("L_INFO","DIALOG IS KNOWN $dlg(h_entry)::$dlg(h_id)) I
}
And when call drop by timeout, sometimes in log i see
/usr/local/sbin/kamailio[21144]: INFO: <script>: DIALOG IS KNOWN <null>::<null>
But usually this string in log file i see as "DIALOG IS KNOWN 3452::3334"
Why it may be? when the $dlg(h_entry)::$dlg(h_id) is not known, I can not track $DLG_lifetime.
Different between unsuccessful and successful call i dont see
Hi Guys,
I am using kamailio/rtpengine and webrtc over sip client for a/v calls and
all works fine.
Now I want to scale it to 2 or more than 2 kamailio servers. As per search
on mailing list I could:
1) Websocket Outbound/Edge Proxy
2) Each UA client to register with its
Regards,
Jade SZ