[OpenSIPS-Users] codec_exists_re
Liviu Chircu
liviu at opensips.org
Wed Aug 23 08:14:14 EDT 2017
Hi Denis,
Thanks for the report - managed to replicate this 100% and opened up a
GitHub issue for it [1]. Let's move the discussion over there.
Best regards,
[1]: https://github.com/OpenSIPS/opensips/issues/1181
Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com
On 23.08.2017 14:10, Denis via Users wrote:
> Hello!
> I have upgraded Opensips from 2.2 to
> version: opensips 2.3.1 (x86_64/linux)
> flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC,
> QM_MALLOC, DBG_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
> ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
> MAX_URI_SIZE 1024, BUF_SIZE 65535
> poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
> git revision: 62e4fdf
> main.c compiled on 08:07:33 Aug 22 2017 with gcc 5.4.0
> In main route i have such logic for INVITE request (without tag)
> "
> if (codec_exists_re("PCMA|PCMU|G729")) {
> codec_delete_except_re("PCMA|PCMU|G729");
> } else {
> xlog("L_INFO", "main route: No codec");
> send_reply("403", "No_codec_supported");
> exit;
> }
> "
> This logic worked in 2.2 but not working in 2.3. In syslog i can see
> "No codec" message (call fails).
> For making a call i use the X-lite softphone (has been using for
> testing 2.2.) with PCMA or PCMU codec.
> Thank you for any help.
> --
> С уважением, Денис.
> Best regards, Denis
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20170823/db226c0b/attachment-0001.html>
More information about the Users
mailing list