# Registering PJSIP endpoint via sipML5

**URL:** <https://community.asterisk.org/t/registering-pjsip-endpoint-via-sipml5/46797>\
**Category:** Asterisk Support\
**Created:** [August 4, 2014, 6:29am UTC](https://community.asterisk.org/t/registering-pjsip-endpoint-via-sipml5/46797 "2014-08-04T06:29:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ankit\_mani23](https://avatars.discourse-cdn.com/v4/letter/a/65b543/32.png) [@ankit\_mani23](https://community.asterisk.org/u/ankit_mani23)\
**Post date:** [August 4, 2014, 6:29am UTC](https://community.asterisk.org/t/registering-pjsip-endpoint-via-sipml5/46797/1 "2014-08-04T06:29:52Z")

</div>

Hello,

I am new to asterisk and having problem registering pjsip endpoint via sipML5.  
asterisk console:-  
== WebSocket connection from ‘192.168.1.190:34091’ for protocol ‘sip’ accepted using version ‘13’  
[Aug 4 11:18:22] NOTICE[6485]: chan\_sip.c:28117 handle\_request\_register: Registration from ‘"101"sip:101@192.168.1.190’ failed for ‘192.168.1.190:34091’ - Wrong password

however i had successfully registered a sip user, means no problem with http.conf and rtp.conf…

pjsip.conf

[transport-ws]  
type=transport  
protocol=ws  
bind=0.0.0.0

[101]  
type=aor  
max\_contacts=2  
remove\_existing=yes

[101]  
type=auth  
auth\_type=userpass  
password=101  
username=101

[101]  
type=endpoint  
disallow=all  
allow=ulaw  
context=default  
auth=101  
aors=101  
media\_encryption=sdes  
;dtls\_verify=fingerprint  
;dtls\_cert\_file=/etc/asterisk/keys/asterisk.pem  
;dtls\_ca\_file=/etc/asterisk/keys/ca.crt  
;dtls\_setup=actpass  
use\_avpf=yes  
ice\_support=yes

does i need to do configure anything else… Please guide me  
thanks in advance

[Edit1]---------------\> module show suggests that  
module res\_pjsip\_transport\_websocket.so is not running  
and, module load res\_pjsip\_transport\_websocket.so failed  
Unable to load module res\_pjsip\_transport\_websocket.so  
Command 'module load res\_pjsip\_transport\_websocket.so ’ failed.

[Edit2]---------------\> on unloading chan\_sip.so  
it was running
