Hi, I use simple_pjsip.c to Asterisk SIP Server. i use "cfg.cred_info[0].realm = pj_str("*");" and login to Asterisk , it say pjsua_core.c RX 481 bytes Response msg 401/REGISTER/cseq=6193 (rdata0x86a7d6c) from UDP 10.0.1.114:5060: SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP 10.3.7.65:5060 ;branch=z9hG4bKPj190900034f5b0e6b7e0e;received=10.3.7.65;rport=5060 From: <sip:90014@SIPSERVER>;tag=190900024f5b0e6b7e0e To: <sip:90014 at SIPSERVER>;tag=as2588b594 Call-ID: 190900014f5b0e6b7e0e CSeq: 6193 REGISTER User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="33b84e74" Content-Length: 0 --end msg-- 10:49:10.556 sip_auth_clien Unable to set auth for tdta0x870b6e4: can not find credential for asterisk/Digest 10:49:10.556 pjsua_acc.c SIP registration error: No suitable credential (PJSIP_ENOCREDENTIAL) [status=171101] so i change cfg.cred_info[0].realm = pj_str("*") to cfg.cred_info[0].realm = pj_str("asterisk"); it say 10:57:54.840 pjsua_core.c RX 414 bytes Response msg 403/REGISTER/cseq=36003 (rdata0x86a5e34) from UDP 10.0.1.114:5060: SIP/2.0 403 Forbidden (Bad auth) Via: SIP/2.0/UDP 10.3.7.65:5060 ;branch=z9hG4bKPj191a0004d2d14511da75;received=10.3.7.65;rport=5060 From: <sip:90014@xxxxxxxxxxxxxxxxx>;tag=191a0002d2d14511da75 To: <sip:90014 at sipcm.rmutl.ac.th>;tag=as3e018a9a Call-ID: 191a0001d2d14511da75 CSeq: 36003 REGISTER User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY Content-Length: 0 --end msg-- 10:57:54.840 pjsua_acc.c SIP registration failed, status=403 (Forbidden (Bad auth)) (This Error i know i use password with plain text but SIP Server need password with MD5) Is pjsip not support Asterisk Server with REALM="*" ? or How to use pjsip to support Asterisk Server with REALM="*"? Thank You Very Much Watchara Kangkun -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20071109/cb84fe3e/attachment.html