[OpenSIPS-Users] RTP proxy dialog impacted by async

Callum Guy callum.guy at x-on.co.uk
Fri Mar 8 09:30:09 EST 2019


Hi OpenSIPs Community,

I wanted to report an issue I discovered when attempting to use the
rtpproxy module, using the dialog backed rtpproxy_engage() function.
Finding that it was not engaging in certain scenarios I took a closer look
at the activity on the control port and discovered that OpenSIPS never sent
a request to open the session in this scenario.

To help illustrate, here is an example control port sequence of a properly
engaged call:

65098_11 *UR*8.8.8.8c9,8,0,3,101,13 *the-call-id* 192.168.153.223 10248
*from-tag*;1
65118_19 *LR*8.8.8.8c8,101 *the-call-id* 192.168.153.223 10248 *from-tag*;1
*to-tag*;1

In my scenario the *UR* (create session) request was never received.
Without claiming any expertise on the rtpproxy protocol this was clearly
not correct and the *LC* (update session) request could not locate a
session to act on.

Following a fairly lengthy investigation I traced the issue back to my
usage of the async() function where i was issuing the rtpproxy_engage()
request before calling async for another purpose. The solution was simply
to move the rtpproxy_engage() call to after the async method.

I'm happy that the issue is resolved for my requirements however I thought
I would share the experience to the list in case others found themselves
having a similar issue.

Thanks!

Callum

-- 





*0333 332 0000  |  www.x-on.co.uk <http://www.x-on.co.uk>  |   ** 
<https://www.linkedin.com/company/x-on>   <https://www.facebook.com/XonTel> 
  <https://twitter.com/xonuk> *


X-on
is a trading name of Storacall 
Technology Ltd a limited company registered in
England and Wales.


Registered Office : Avaland House, 110 London Road, Apsley, Hemel 
Hempstead,
Herts, HP3 9SD. Company Registration No. 2578478.

The 
information in this e-mail is confidential and for use by the addressee(s)

only. If you are not the intended recipient, please notify X-on immediately 
on +44(0)333 332 0000 and delete the
message from your computer. If you are 
not a named addressee you must not use,
disclose, disseminate, distribute, 
copy, print or reply to this email. Views
or opinions expressed by an 
individual
within this email may not necessarily
reflect the views of X-on 
or its associated companies. Although X-on routinely
screens for viruses, 
addressees should scan this email and any attachments
for
viruses. X-on 
makes no representation or warranty as to the absence of viruses
in this 
email or any attachments.










-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20190308/30048557/attachment.html>


More information about the Users mailing list