[OpenSIPS-Users] tls -> udp

johan de clercq johan at democon.be
Tue Feb 12 15:29:34 EST 2019


Hello

Using opensips 2.4.4, 

 

Phone -> tls and srtp -> opensips -> udp -> provider

 

I have a socket on 5061 tls and a socket on 5060 udp and mhomed is one, 

 

 

 

Call arrives in opensips but is not correctly routed to the provider. 

 

Feb 12 21:20:47 ns3012072 /usr/local/opensips/sbin/opensips[7140]:
DBG:tm:run_trans_callbacks: trans=0x7ff70a24dc68, callback type 4, id 1
entered

Feb 12 21:20:47 ns3012072 /usr/local/opensips/sbin/opensips[7140]:
DBG:dialog:dlg_update_contact: Using the same contact
<sip:321234 at 94.226.231.242:5493;transport=tls> for dialog 0x7ff70a24bdd8 on
leg 0

Feb 12 21:20:47 ns3012072 /usr/local/opensips/sbin/opensips[7140]:
DBG:core:mk_proxy: doing DNS lookup...

Feb 12 21:20:47 ns3012072 /usr/local/opensips/sbin/opensips[7140]:
DBG:core:sip_resolvehost: no port, has proto -> do SRV lookup!

Feb 12 21:20:47 ns3012072 /usr/local/opensips/sbin/opensips[7140]:
DBG:core:get_record: lookup(_sips._tcp. 

 

That is logic as the provider doesn't listen on tcp. 

 

How can I force opensips to relay from tls on the phone to udp at the
provider ? 

 

Small homer trace in attachment. 

 

 

 



Johan De Clercq, Managing Director
Democon bvba - Ooigemstraat 41 - 8780 Oostrozebeke

Tel +3256980990 - GSM +32478720104

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20190212/a88aa6f8/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 15602 bytes
Desc: not available
URL: <http://lists.opensips.org/pipermail/users/attachments/20190212/a88aa6f8/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: HOMER5-5.135.140.139-003215666666-2_12_2019 21_14_39.pcap
Type: application/octet-stream
Size: 2740 bytes
Desc: not available
URL: <http://lists.opensips.org/pipermail/users/attachments/20190212/a88aa6f8/attachment-0001.obj>


More information about the Users mailing list