<div dir="ltr">Hi John, <div><br></div><div>I've tested rtpengine's transcoding. I like the load balancing features. Though wish it could automatically transcode ( with out flags per call ? ) </div><div> And I would think under heavy load, hardware transcoding might scale better ? Though maybe dedicated rtpengine servers(pooled) would serve just as well ? </div><div><br></div><div>thanks</div><div>Andy</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jan 13, 2021 at 11:45 AM Johan De Clercq <<a href="mailto:johan@democon.be">johan@democon.be</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<div>
<div>
<div style="direction:ltr">Why not use rtpengine to do transcoding? <span id="gmail-m_-2838502208754029840ms-outlook-ios-cursor">
</span></div>
</div>
<div><br>
</div>
<div><a href="https://aka.ms/o0ukef" target="_blank">Outlook voor iOS</a> downloaden</div>
</div>
<hr style="display:inline-block;width:98%">
<div id="gmail-m_-2838502208754029840divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>Van:</b> Users <<a href="mailto:users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a>> namens Andy Dierlam <<a href="mailto:adierlam@ptgi-ics.com" target="_blank">adierlam@ptgi-ics.com</a>><br>
<b>Verzonden:</b> Wednesday, January 13, 2021 4:26:03 PM<br>
<b>Aan:</b> <a href="mailto:users@lists.opensips.org" target="_blank">users@lists.opensips.org</a> <<a href="mailto:users@lists.opensips.org" target="_blank">users@lists.opensips.org</a>><br>
<b>Onderwerp:</b> Re: [OpenSIPS-Users] sangoma issue ?</font>
<div> </div>
</div>
<div>
<div dir="ltr">forgot to mention this from:
<div><br>
</div>
<div>opensips -V<br>
version: opensips 3.0.4 (x86_64/linux)<br>
flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, HP_MALLOC, DBG_MALLOC, FAST_LOCK-ADAPTIVE_WAIT<br>
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535<br>
poll method support: poll, epoll, sigio_rt, select.<br>
git revision: d19b20e<br>
main.c compiled on 14:39:30 Dec 21 2020 with gcc 4.8.5<br>
<div>
<div><br>
</div>
<div>FYI get the same results from 2.4, 3.0, and 3.1 <br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
</div>
<br>
<div>
<div dir="ltr">On Tue, Jan 12, 2021 at 3:14 PM Andy Dierlam <<a href="mailto:adierlam@ptgi-ics.com" target="_blank">adierlam@ptgi-ics.com</a>> wrote:<br>
</div>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">Hello All,
<div><br>
</div>
<div>Wondering if anyone can offer some guidance on an issue seemingly with a newly setup Sangoma D-500 Transcoding card.</div>
<div><br>
</div>
<div>Issue: </div>
<div>When using transcoding, soon after 1 transcoded call completes, utimer task messages until opensips is restarted</div>
<div>seems like it happens when fetch_dlg_value: looking for <SngTc> </div>
<div><br>
</div>
<div>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,139)">
<span style="font-variant-ligatures:no-common-ligatures">Jan 12 15:05:26 [21578] DBG:tm:timer_routine: timer routine:2,tl=0x7f9ce5fd3cc0 next=(nil), timeout=16</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,139)">
<span style="font-variant-ligatures:no-common-ligatures">Jan 12 15:05:26 [21578] DBG:tm:wait_handler: removing 0x7f9ce5fd3c40 from table<span> </span></span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,139)">
<span style="font-variant-ligatures:no-common-ligatures">Jan 12 15:05:26 [21578] DBG:tm:delete_cell: delete transaction 0x7f9ce5fd3c40</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,139)">
<span style="font-variant-ligatures:no-common-ligatures">Jan 12 15:05:26 [21578] DBG:tm:run_trans_callbacks: trans=0x7f9ce5fd3c40, callback type 4096, id 3 entered</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,139)">
<span style="font-variant-ligatures:no-common-ligatures">Jan 12 15:05:26 [21578] DBG:dialog:destroy_dlg: destroying dialog 0x7f9ce5fcdc50</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,139)">
<span style="font-variant-ligatures:no-common-ligatures">Jan 12 15:05:26 [21578] DBG:dialog:destroy_dlg: dlg expired or not in list - dlg 0x7f9ce5fcdc50 [57:1450509359] with clid '3b72b48a67a1eec840e2e1db12f8b37f@x.x.x.x' and tags 'as6d2cf831' 'Yjg9IHv3tknz-KgDTUF.K-lleno6X-hI'</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,139)">
<span style="font-variant-ligatures:no-common-ligatures">Jan 12 15:05:26 [21578] DBG:dialog:run_dlg_callbacks: dialog=0x7f9ce5fcdc50, type=2048</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,139)">
<span style="font-variant-ligatures:no-common-ligatures">Jan 12 15:05:26 [21578] DBG:dialog:fetch_dlg_value: looking for <SngTc></span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,139)">
<span style="font-variant-ligatures:no-common-ligatures">Jan 12 15:05:26 [21561] WARNING:core:utimer_ticker: utimer task <tm-utimer> already scheduled 100 ms ago (now 16950 ms), delaying execution</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,139)">
<span style="font-variant-ligatures:no-common-ligatures">Jan 12 15:05:26 [21561] WARNING:core:utimer_ticker: utimer task <tm-utimer> already scheduled 200 ms ago (now 17050 ms), delaying execution</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,139)">
<span style="font-variant-ligatures:no-common-ligatures">Jan 12 15:05:26 [21561] WARNING:core:utimer_ticker: utimer task <tm-utimer> already scheduled 300 ms ago (now 17150 ms), delaying execution</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,139)">
<span style="font-variant-ligatures:no-common-ligatures">Jan 12 15:05:26 [21561] WARNING:core:utimer_ticker: utimer task <tm-utimer> already scheduled 400 ms ago (now 17250 ms), delaying execution</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,139)">
<span style="font-variant-ligatures:no-common-ligatures">Jan 12 15:05:26 [21561] WARNING:core:utimer_ticker: utimer task <tm-utimer> already scheduled 490 ms ago (now 17340 ms), delaying execution</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,139)">
<span style="font-variant-ligatures:no-common-ligatures">Jan 12 15:05:26 [21561] WARNING:core:utimer_ticker: utimer task <tm-utimer> already scheduled 590 ms ago (now 17440 ms), delaying execution</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,139)">
<span style="font-variant-ligatures:no-common-ligatures">Jan 12 15:05:27 [21561] WARNING:core:utimer_ticker: utimer task <tm-utimer> already scheduled 690 ms ago (now 17540 ms), delaying execution</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,139)">
<span style="font-variant-ligatures:no-common-ligatures">Jan 12 15:05:27 [21561] WARNING:core:utimer_ticker: utimer task <tm-utimer> already scheduled 790 ms ago (now 17640 ms), delaying execution</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,139)">
<span style="font-variant-ligatures:no-common-ligatures">Jan 12 15:05:27 [21561] WARNING:core:utimer_ticker: utimer task <tm-utimer> already scheduled 890 ms ago (now 17740 ms), delaying execution</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,139)">
<span style="font-variant-ligatures:no-common-ligatures">Jan 12 15:05:27 [21561] WARNING:core:timer_ticker: timer task <tm-timer> already scheduled 990 ms ago (now 17740 ms), delayin</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,139)">
<span style="font-variant-ligatures:no-common-ligatures"><span> </span></span></p>
</div>
<div><br>
</div>
<div>opensips-cli trap output ( not sure what am looking at here, in case helps ) </div>
<div><br>
</div>
<div>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,139)">
<span style="font-variant-ligatures:no-common-ligatures">#1<span> </span>0x00007f9cde9aee5f in sangoma_worker_loop (proc_no=<optimized out>) at sngtc_proc.c:46</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,139)">
<span style="font-variant-ligatures:no-common-ligatures"><span> </span>req = {type = REQ_FREE_SESSION, response_fd = 78, sng_req = {usr_priv = 0x7f9ce8c8f86b <asctime_r+139>, tag = 15, rtcp_enable = 5 '\005', a = {codec_</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,139)">
<span style="font-variant-ligatures:no-common-ligatures">id = 32668, ms = 20, host_ip = 0, host_netmask = 2021, host_udp_port = 0}, b = {codec_id = 9217376, ms = 0, host_ip = 3905485451, host_netmask = 32668, host_</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,139)">
<span style="font-variant-ligatures:no-common-ligatures">udp_port = 20}}, sng_reply = 0x7f9ce5fd2c78}</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,139)">
<span style="font-variant-ligatures:no-common-ligatures"><span> </span>rc = 0</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,139)">
<span style="font-variant-ligatures:no-common-ligatures"><span> </span>__FUNCTION__ = "sangoma_worker_loop"</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,139)">
<span style="font-variant-ligatures:no-common-ligatures">#2<span> </span>0x00000000005045c8 in start_module_procs () at sr_module.c:858</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,139)">
<span style="font-variant-ligatures:no-common-ligatures"><span> </span>m = 0x7f9ce7beafa8</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,139)">
<span style="font-variant-ligatures:no-common-ligatures"><span> </span>n = 0</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,139)">
<span style="font-variant-ligatures:no-common-ligatures"><span> </span>l = 0</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,139)">
<span style="font-variant-ligatures:no-common-ligatures"><span> </span>x = <optimized out></span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,139)">
<span style="font-variant-ligatures:no-common-ligatures"><span> </span>__FUNCTION__ = "start_module_procs"</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,139)">
<span style="font-variant-ligatures:no-common-ligatures">#3<span> </span>0x000000000041e3df in main_loop () at main.c:779</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,139)">
<span style="font-variant-ligatures:no-common-ligatures"><span> </span>startup_done = 0x0</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,139)">
<span style="font-variant-ligatures:no-common-ligatures"><span> </span>chd_rank = 0</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,139)">
<span style="font-variant-ligatures:no-common-ligatures"><span> </span>last_check = 0</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,139)">
<span style="font-variant-ligatures:no-common-ligatures"><span> </span>rc = <optimized out></span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,139)">
<span style="font-variant-ligatures:no-common-ligatures">#4<span> </span>main (argc=<optimized out>, argv=<optimized out>) at main.c:1479</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,139)">
<span style="font-variant-ligatures:no-common-ligatures"><span> </span>c = <optimized out></span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,139)">
<span style="font-variant-ligatures:no-common-ligatures"><span> </span>r = 0</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,139)">
<span style="font-variant-ligatures:no-common-ligatures"><span> </span>tmp = 0x1 <Address 0x1 out of bounds></span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,139)">
<span style="font-variant-ligatures:no-common-ligatures"><span> </span>tmp_len = <optimized out></span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,139)">
<span style="font-variant-ligatures:no-common-ligatures"><span> </span>port = <optimized out></span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,139)">
<span style="font-variant-ligatures:no-common-ligatures"><span> </span>proto = <optimized out></span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,139)">
<span style="font-variant-ligatures:no-common-ligatures"><span> </span>protos_no = <optimized out></span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,139)">
<span style="font-variant-ligatures:no-common-ligatures"><span> </span>options = 0x664908 "f:cCm:M:b:l:n:N:rRvdDFEVhw:t:u:g:p:P:G:W:o:a:k:s:"</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,139)">
<span style="font-variant-ligatures:no-common-ligatures"><span> </span>ret = -1</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,139)">
<span style="font-variant-ligatures:no-common-ligatures"><span> </span>seed = 4061548656</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,139)">
<span style="font-variant-ligatures:no-common-ligatures"><span> </span>rfd = <optimized out></span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;background-color:rgb(254,244,139)">
<span style="font-variant-ligatures:no-common-ligatures"><span> </span>__FUNCTION__ = "main"</span></p>
</div>
<div><br>
</div>
<div>thanks </div>
<div>Andy</div>
</div>
</blockquote>
</div>
</div>
</div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div>