[SR-Users] app_python module load error in 5.6

2022-08-25 Thread Stefan-Cristian Mititelu
Hello, I am trying to load app_python.so module in kamailio 5.6 and I am getting the following error, under debian bullseye: ERROR: [core/sr_module.c:573]: load_module(): could not open module : /usr/lib/x86_64-linux-gnu/kamailio/modules/app_python.so: undefined symbol: LOG_ The app_python

[SR-Users] Intermittent delays relaying BYE (up to 1s)

2022-08-25 Thread Lewis Hutchinson
I have a situation where I am seeing intermittently Kamailio having delays when relaying the BYE received from an external party This is only affecting the BYE We have 6 Kamailios stood up 3 linked to the SIP Providers (SBC) 3 for Registration (REG) Language KEMI | Python version: kamailio 5.5

Re: [SR-Users] Intermittent delays relaying BYE (up to 1s)

2022-08-25 Thread Kaufman
The `benchmark` module allows you to create points can be used to generate comparative timestamps for desired parts of your code. I'm not sure if using it on a production server adds much overhead or not, though. Look to set points before and after things like database calls that are blocking

Re: [SR-Users] Intermittent delays relaying BYE (up to 1s)

2022-08-25 Thread Alex Balashov
Hi, While you have not said much about how your BYEs are processed, I would speculate that the operation in your config script does not consist purely of relaying these on the network, but also some sort of blocking database operation that is delaying execution of the config script. — Alex >

Re: [SR-Users] Disabling video rtp proxing

2022-08-25 Thread mayamatakeshi
Hi, Yes, I tried. I had this code in my cfg file: sdp_remove_media("video"); append_hf("P-hint: video removed\r\n"); rtpengine_offer("symetric direction=pub direction=priv codec-transcode=PCMU codec-transcode=PCMA codec-transcode=GSM codec-transcode=G729"); But when I check the INVITE

Re: [SR-Users] Disabling video rtp proxing

2022-08-25 Thread Yuriy Gorlichenko
The easiest way I see is: Set up mod parameters for rtpengine Read_avp and write_avp During the request processing get $rb and put it into read_avp Change/remove needed lines from the sdp in avp using regexp or lua/js/python (do not use sdpos as it works with initial sdp, so it won't affect the da