Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] simultaneous use of chan_sip/chan_pjsip


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
cervajs at fpf.slu.cz
Guest





PostPosted: Thu Aug 13, 2015 3:54 am    Post subject: [asterisk-users] simultaneous use of chan_sip/chan_pjsip Reply with quote

hello,

is it possible simultaneously use chan_sip and chan_pjsip?

if yes, can you recommend settings

i'm thinking about
- chan_sip - for sip hardphones/softphones (sip udp 5060)
- chan_pjsip - for webrtc

--
---------------------------------------
Marek Cervenka
=======================================


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
rnewton at digium.com
Guest





PostPosted: Thu Aug 13, 2015 10:20 am    Post subject: [asterisk-users] simultaneous use of chan_sip/chan_pjsip Reply with quote

On Thu, Aug 13, 2015 at 3:54 AM, Marek Červenka <cervajs@fpf.slu.cz (cervajs@fpf.slu.cz)> wrote:
Quote:
hello,

is it possible simultaneously use chan_sip and chan_pjsip?

if yes, can you recommend settings

i'm thinking about
- chan_sip - for sip hardphones/softphones  (sip udp 5060)
- chan_pjsip - for webrtc


You can use both.. you will want to make sure your bind addresses and ports don't conflict.


Why not use chan_pjsip for all SIP connectivity?
 



--
Quote:
Rusty Newton
Digium, Inc. | Community Support Manager
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
direct: +1 256 428 6200

Check us out at: http://digium.com & http://asterisk.org
Back to top
cervajs at fpf.slu.cz
Guest





PostPosted: Thu Aug 13, 2015 2:49 pm    Post subject: [asterisk-users] simultaneous use of chan_sip/chan_pjsip Reply with quote

Dne 13.8.2015 v 17:20 Rusty Newton napsal(a):

Quote:
On Thu, Aug 13, 2015 at 3:54 AM, Marek Červenka <cervajs@fpf.slu.cz (cervajs@fpf.slu.cz)> wrote:
Quote:
hello,

is it possible simultaneously use chan_sip and chan_pjsip?

if yes, can you recommend settings

i'm thinking about
- chan_sip - for sip hardphones/softphones  (sip udp 5060)
- chan_pjsip - for webrtc


You can use both.. you will want to make sure your bind addresses and ports don't conflict.


Why not use chan_pjsip for all SIP connectivity?
 




because it's BIG change for production environment
we have own web gui for config generation and we need move to chan_pjsip safely


Quote:
--
---------------------------------------
Marek Cervenka
=======================================
Back to top
cervajs at fpf.slu.cz
Guest





PostPosted: Thu Aug 27, 2015 5:33 am    Post subject: [asterisk-users] simultaneous use of chan_sip/chan_pjsip Reply with quote

Dne 13.8.2015 v 21:48 Marek Červenka napsal(a):

Quote:
Dne 13.8.2015 v 17:20 Rusty Newton napsal(a):

Quote:
On Thu, Aug 13, 2015 at 3:54 AM, Marek Červenka <[url=mailto:cervajs@fpf.slu.cz]cervajs@fpf.slu.cz (cervajs@fpf.slu.cz)[/url]> wrote:
Quote:
hello,

is it possible simultaneously use chan_sip and chan_pjsip?

if yes, can you recommend settings

i'm thinking about
- chan_sip - for sip hardphones/softphones  (sip udp 5060)
- chan_pjsip - for webrtc


You can use both.. you will want to make sure your bind addresses and ports don't conflict.


Why not use chan_pjsip for all SIP connectivity?
 




because it's BIG change for production environment
we have own web gui for config generation and we need move to chan_pjsip safely

for the record

it looks like the simultaneous use is not possible

with this configuration

sip.conf
[general]
transport=udp
...

pjsip.conf
[global]

[transport-wss]
type=transport
protocol=wss   
bind=0.0.0.0
...

module res_pjsip_transport_websocket.so is not loaded and load fails

*CLI> module load res_pjsip_transport_websocket.so
[Aug 27 12:31:23] DEBUG[13977]: res_pjsip.c:1918 register_service_noref: Registered SIP service WebSocket Transport Module (0xb51353e0)
[Aug 27 12:31:23] DEBUG[13977]: res_pjsip.c:1950 unregister_service_noref: Unregistered SIP service WebSocket Transport Module
Unable to load module res_pjsip_transport_websocket.so
Command 'module load res_pjsip_transport_websocket.so' failed.


*CLI> module show like websoc
Module                         Description                              Use Count  Status      Support Level
res_http_websocket.so          HTTP WebSocket Support                   2          Running          extended
res_pjsip_transport_websocket.so PJSIP WebSocket Transport Support        0          Not Running          core


Quote:
--
---------------------------------------
Marek Cervenka
=======================================
Back to top
jcolp at digium.com
Guest





PostPosted: Thu Aug 27, 2015 5:38 am    Post subject: [asterisk-users] simultaneous use of chan_sip/chan_pjsip Reply with quote

On 15-08-27 07:33 AM, Marek Červenka wrote:
Quote:
Dne 13.8.2015 v 21:48 Marek Červenka napsal(a):
Quote:
Dne 13.8.2015 v 17:20 Rusty Newton napsal(a):
Quote:
On Thu, Aug 13, 2015 at 3:54 AM, Marek Červenka
<<mailto:cervajs@fpf.slu.cz>cervajs@fpf.slu.cz> wrote:

hello,

is it possible simultaneously use chan_sip and chan_pjsip?

if yes, can you recommend settings

i'm thinking about
- chan_sip - for sip hardphones/softphones (sip udp 5060)
- chan_pjsip - for webrtc


You can use both.. you will want to make sure your bind addresses and
ports don't conflict.

Why not use chan_pjsip for all SIP connectivity?

because it's BIG change for production environment
we have own web gui for config generation and we need move to
chan_pjsip safely

for the record

it looks like the simultaneous use is not possible

Simultaneous use of everything but the websocket support is possible.
There is an issue open[1] to make that configurable but noone has done
it as of this time.

[1] https://issues.asterisk.org/jira/browse/ASTERISK-24106

--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
cervajs at fpf.slu.cz
Guest





PostPosted: Thu Aug 27, 2015 6:43 am    Post subject: [asterisk-users] simultaneous use of chan_sip/chan_pjsip Reply with quote

Dne 27.8.2015 v 12:37 Joshua Colp napsal(a):
Quote:
On 15-08-27 07:33 AM, Marek Červenka wrote:
Quote:
Dne 13.8.2015 v 21:48 Marek Červenka napsal(a):
Quote:
Dne 13.8.2015 v 17:20 Rusty Newton napsal(a):
Quote:
On Thu, Aug 13, 2015 at 3:54 AM, Marek Červenka
<<mailto:cervajs@fpf.slu.cz>cervajs@fpf.slu.cz> wrote:

hello,

is it possible simultaneously use chan_sip and chan_pjsip?

if yes, can you recommend settings

i'm thinking about
- chan_sip - for sip hardphones/softphones (sip udp 5060)
- chan_pjsip - for webrtc


You can use both.. you will want to make sure your bind addresses and
ports don't conflict.

Why not use chan_pjsip for all SIP connectivity?

because it's BIG change for production environment
we have own web gui for config generation and we need move to
chan_pjsip safely

for the record

it looks like the simultaneous use is not possible

Simultaneous use of everything but the websocket support is possible.
There is an issue open[1] to make that configurable but noone has done
it as of this time.

[1] https://issues.asterisk.org/jira/browse/ASTERISK-24106


with patch from ticket(disable ws in chan_sip) it works ok
thanks!

--
---------------------------------------
Marek Cervenka
=======================================


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services