<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Dne 13.8.2015 v 21:48 Marek Červenka
napsal(a):<br>
</div>
<blockquote cite="mid:55CCF4A1.3030804@fpf.slu.cz" type="cite">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<div class="moz-cite-prefix">Dne 13.8.2015 v 17:20 Rusty Newton
napsal(a):<br>
</div>
<blockquote
cite="mid:CAGWDFcvyFuUP1Fa_9dLmCEkWp_cRJ8MMiwgEAH1CU=Qo+=FHHA@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">On Thu, Aug 13, 2015 at 3:54 AM,
Marek Červenka <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:cervajs@fpf.slu.cz" target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:cervajs@fpf.slu.cz">cervajs@fpf.slu.cz</a></a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">hello,<br>
<br>
is it possible simultaneously use chan_sip and
chan_pjsip?<br>
<br>
if yes, can you recommend settings<br>
<br>
i'm thinking about<br>
- chan_sip - for sip hardphones/softphones (sip udp
5060)<br>
- chan_pjsip - for webrtc</blockquote>
<div><br>
</div>
<div>You can use both.. you will want to make sure your
bind addresses and ports don't conflict.</div>
<div><br>
</div>
<div>Why not use chan_pjsip for all SIP connectivity?</div>
<div> </div>
</div>
</div>
</div>
</blockquote>
<br>
because it's BIG change for production environment<br>
we have own web gui for config generation and we need move to
chan_pjsip safely<br>
</blockquote>
<br>
for the record<br>
<br>
it looks like the simultaneous use is not possible<br>
<br>
with this configuration<br>
<br>
sip.conf<br>
[general]<br>
transport=udp<br>
...<br>
<br>
pjsip.conf<br>
[global]<br>
<br>
[transport-wss]<br>
type=transport<br>
protocol=wss <br>
bind=0.0.0.0<br>
...<br>
<br>
module res_pjsip_transport_websocket.so is not loaded and load fails<br>
<br>
*CLI> module load res_pjsip_transport_websocket.so<br>
[Aug 27 12:31:23] DEBUG[13977]: res_pjsip.c:1918
register_service_noref: Registered SIP service WebSocket Transport
Module (0xb51353e0)<br>
[Aug 27 12:31:23] DEBUG[13977]: res_pjsip.c:1950
unregister_service_noref: Unregistered SIP service WebSocket
Transport Module<br>
Unable to load module res_pjsip_transport_websocket.so<br>
Command 'module load res_pjsip_transport_websocket.so' failed.<br>
<br>
<br>
*CLI> module show like websoc<br>
Module
Description Use Count Status
Support Level<br>
res_http_websocket.so HTTP WebSocket
Support 2 Running extended<br>
res_pjsip_transport_websocket.so PJSIP WebSocket Transport
Support 0 Not Running core<br>
<br>
<br>
<pre class="moz-signature" cols="72">--
---------------------------------------
Marek Cervenka
=======================================
</pre>
</body>
</html>