pjnath with Asterisk web socket issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Prakash N wrote:
> Hi,

Hello,

> We are trying to test siphtml5 with Asterisk 12 and we are getting
> following issue

The mailing list to use for this sort of question would be 
asterisk-users. It's for user/configuration discussion.

> localhost*CLI>
>    == WebSocket connection from '192.168.1.240:49525
> <http://192.168.1.240:49525>' for protocol 'sip' accepted using version '13'
> [Dec  9 16:19:54] NOTICE[1904]: chan_sip.c:27982
> handle_request_register: Registration from '"6001"<sip:6001 at 192.168.1.21
> <mailto:sip%3A6001 at 192.168.1.21>>' failed for '192.168.1.240:49525
> <http://192.168.1.240:49525>' - Wrong password

You appear to be loading and using chan_sip, not chan_pjsip. You can 
either configure it OR if you want to use chan_pjsip then you will have 
to explicitly noload it in your modules.conf

>
> localhost*CLI> module load res_pjsip_transport_websocket.so
> Unable to load module res_pjsip_transport_websocket.so
> Command 'module load res_pjsip_transport_websocket.so' failed.
>
> localhost*CLI> module unload res_pjsip_transport_websocket.so
> Unable to unload resource res_pjsip_transport_websocket.so
> Command 'module unload res_pjsip_transport_websocket.so' failed.
> [Dec  9 16:20:59] WARNING[1902]: loader.c:636 ast_unload_resource:
> Unload failed, 'res_pjsip_transport_websocket.so' is not loaded.
>
> *Our Configuration*
>
> [6001]
> type=auth
> auth_type=userpass
> password=6001
> username=6001
> realm=192.168.1.21
>
> [6001]
> type=aor
> max_contacts=10
>
> [auth6001]
> type=auth
> auth_type=userpass
> password=1234
> username=6001

Your configuration is incomplete for chan_pjsip. An endpoint section is 
required. A wiki page is available at 
https://wiki.asterisk.org/wiki/display/AST/Configuring+res_pjsip which 
has examples.

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



[Index of Archives]     [Asterisk SS7]     [Asterisk Announcements]     [Asterisk Users]     [PJ SIP]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Linux API]

  Powered by Linux