<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">Dne 25/11/2020 v 16:29 Joshua C. Colp
napsal(a):<br>
</div>
<blockquote type="cite"
cite="mid:CAM0A2Z1avWv9jGcbK1wpTvpTEmmhWeNu_O7BT7cn-dxfR8uAsQ@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr">On Wed, Nov 25, 2020 at 11:24 AM marek <<a
href="mailto:cervajs64@gmail.com" moz-do-not-send="true">cervajs64@gmail.com</a>>
wrote:<br>
</div>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">tried chan_sip/udp +
pjsip/tcp<br>
<br>
but the same problem<br>
<br>
sip.conf<br>
<br>
[general]<br>
udpbindport=5060<br>
udpbindaddr=0.0.0.0<br>
tcpenable=no<br>
tlsenable=no<br>
<br>
pjsip.conf<br>
[transport-tcp]<br>
type = transport<br>
bind = <a href="http://2.2.2.2:5070" rel="noreferrer"
target="_blank" moz-do-not-send="true">2.2.2.2:5070</a><br>
protocol = tcp<br>
<br>
Loading res_pjsip.so.<br>
[Nov 25 16:21:04] ERROR[5528]:
res_pjsip/config_transport.c:664 <br>
transport_apply: Transport 'transport-tcp' could not be
started: Cannot <br>
assign requested address<br>
[Nov 25 16:21:04] ERROR[5528]: res_sorcery_config.c:420 <br>
sorcery_config_internal_load: Could not create an object of
type <br>
'transport' with id 'transport-tcp' from configuration file
'pjsip.conf'<br>
<br>
anybody know if its possible preload pjsip before chan_sip?
(tried <br>
preload= but its complicated. a lot of dependecies)<br>
</blockquote>
<div><br>
</div>
<div>You're assuming that the problem is an interaction
between chan_sip and chan_pjsip. If you don't load chan_sip
at all, does the problem still occur? If so then chan_sip
isn't the problem but something most likely system level -
since the system stated that PJSIP could not use the
configured address. </div>
</div>
</div>
<br>
</blockquote>
<p><br>
</p>
<p>ooh. typo in ip address :( <br>
</p>
<p>thanks a lot</p>
<p>so the scenario with chan_sip/udp + pjsip/tcp is working now<br>
</p>
<p>scenario chan_sip/udp + pjsip/udp on different port works now too</p>
<p>Marek<br>
</p>
<p><br>
</p>
</body>
</html>