### Description
Reload JavaScript KEMI Interpreter with file size > 128KB throw error:
```
app_jsdt [app_jsdt_api.c:447]: jsdt_kemi_load_script(): failed running: SyntaxError: parse error (line 1948, end of i
nput
```
### Troubleshooting
Find out in this line 1948: in this line, file size reached 128KB
Try reducing file size to lower than 128KB, it loads successfully
#### Reproduction
Alway failed when the file to load larger than 128KB
### Possible Solutions
N/A
### Additional Information
* **Kamailio Version** - output of `kamailio -v`
```
version: kamailio 5.4.3 (x86_64/linux) e19ae3
flags: USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES
ADAPTIVE_WAIT_LOOPS 1024, MAX_RECV_BUFFER_SIZE 262144, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: e19ae3
compiled on 14:01:49 Jan 8 2021 with gcc 4.4.7
```
* **Operating System**:
<!--
Details about the operating system, the type: Linux (e.g.,: Debian 8.4, Ubuntu 16.04, CentOS 7.1, ...), MacOS, xBSD, Solaris, ...;
Kernel details (output of `lsb_release -a` and `uname -a`)
-->
```
CentOS release 6.8 (Final)
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2847
commit cbcc27ef8b1674448bd8b1c45f03388e36f65f51 broke RFC2543 hold
there's no need to check for sendrecv_mode, is_on_hold is either set or not in sdp_stream and/or sdp_session
<!-- Kamailio Pull Request Template -->
<!--
IMPORTANT:
- for detailed contributing guidelines, read:
https://github.com/kamailio/kamailio/blob/master/.github/CONTRIBUTING.md
- pull requests must be done to master branch, unless they are backports
of fixes from master branch to a stable branch
- backports to stable branches must be done with 'git cherry-pick -x ...'
- code is contributed under BSD for core and main components (tm, sl, auth, tls)
- code is contributed GPLv2 or a compatible license for the other components
- GPL code is contributed with OpenSSL licensing exception
-->
#### Pre-Submission Checklist
<!-- Go over all points below, and after creating the PR, tick all the checkboxes that apply -->
<!-- All points should be verified, otherwise, read the CONTRIBUTING guidelines from above-->
<!-- If you're unsure about any of these, don't hesitate to ask on sr-dev mailing list -->
- [X] Commit message has the format required by CONTRIBUTING guide
- [X] Commits are split per component (core, individual modules, libs, utils, ...)
- [X] Each component has a single commit (if not, squash them into one commit)
- [X] No commits to README files for modules (changes must be done to docbook files
in `doc/` subfolder, the README file is autogenerated)
#### Type Of Change
- [X] Small bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds new functionality)
- [ ] Breaking change (fix or feature that would change existing functionality)
#### Checklist:
<!-- Go over all points below, and after creating the PR, tick the checkboxes that apply -->
- [X] PR should be backported to stable branches
- [X] Tested changes locally
- [ ] Related to issue #XXXX (replace XXXX with an open issue number)
#### Description
<!-- Describe your changes in detail -->
removed the check for `sendrecv_mode`
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/2844
-- Commit Summary --
* textops: RFC2543 is broken
-- File Changes --
M src/modules/textops/textops.c (3)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/2844.patchhttps://github.com/kamailio/kamailio/pull/2844.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/2844
allows pv_format specifier in prefix param
<!-- Kamailio Pull Request Template -->
<!--
IMPORTANT:
- for detailed contributing guidelines, read:
https://github.com/kamailio/kamailio/blob/master/.github/CONTRIBUTING.md
- pull requests must be done to master branch, unless they are backports
of fixes from master branch to a stable branch
- backports to stable branches must be done with 'git cherry-pick -x ...'
- code is contributed under BSD for core and main components (tm, sl, auth, tls)
- code is contributed GPLv2 or a compatible license for the other components
- GPL code is contributed with OpenSSL licensing exception
-->
#### Pre-Submission Checklist
<!-- Go over all points below, and after creating the PR, tick all the checkboxes that apply -->
<!-- All points should be verified, otherwise, read the CONTRIBUTING guidelines from above-->
<!-- If you're unsure about any of these, don't hesitate to ask on sr-dev mailing list -->
- [X] Commit message has the format required by CONTRIBUTING guide
- [X] Commits are split per component (core, individual modules, libs, utils, ...)
- [X] Each component has a single commit (if not, squash them into one commit)
- [X] No commits to README files for modules (changes must be done to docbook files
in `doc/` subfolder, the README file is autogenerated)
#### Type Of Change
- [ ] Small bug fix (non-breaking change which fixes an issue)
- [X] New feature (non-breaking change which adds new functionality)
- [ ] Breaking change (fix or feature that would change existing functionality)
#### Checklist:
<!-- Go over all points below, and after creating the PR, tick the checkboxes that apply -->
- [ ] PR should be backported to stable branches
- [X] Tested changes locally
- [ ] Related to issue #XXXX (replace XXXX with an open issue number)
#### Description
<!-- Describe your changes in detail -->
add `prefix_mode` param to xlog to optionally interpret `prefix` as a `pv_format` specifier.
`config`:
```
mod_param("xlog", "prefix", "$_s([$(cfg(file):$cfg(line)] $ci $(cfg(route){s.tolower}) )")
mod_param("xlog", "prefix_mode", 1)
...
xlog("L_INFO", "hello")
...
```
`output:`
<pre><code>
66(307) INFO: <b>[my-file.cfg:5]</b> 62795aa2-9696c27c <b>my_route</b> hello
</code>
</pre>
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/2845
-- Commit Summary --
* xlog: add prefix_mode
-- File Changes --
M src/modules/xlog/doc/xlog_admin.xml (22)
M src/modules/xlog/xlog.c (46)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/2845.patchhttps://github.com/kamailio/kamailio/pull/2845.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/2845
Hello,
to sync better on time, Kamailio World 2021 online edition is starting
in about 2 hours from now (12:50 UTC Welcome and 13:00UTC the first
session) - the agenda is available at:
 * https://kamailioworld.com/k09-online/
In short: participation is free, no registration is needed. The sessions
are live streamed to YouTube KamailioWorld channel:
 * https://www.youtube.com/c/KamailioWorld/
YouTube chat next to the live stream can be used for addressing
questions to speakers -- we will monitor it and ask the speaker inside
the video conferencing room.
For community interaction via text chatting, you can join the Matrix
room #kamailio:matrix.kamailio.dev :
 * https://riot.kamailio.dev/#/room/#kamailio:matrix.kamailio.dev
Questions for speakers can also be addressed in this chat room.
If anyone wants to participate in the live video conferencing room, the
URL is:
 * https://meet.kamailioworld.com/live
Just note that we may have to limit the number of participants in the
live session in order to ensure proper streaming quality.
See you soon online!
Cheers,
Daniel
--
Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- www.linkedin.com/in/miconda