pjsip demo v2.0.1 can't delete sip account

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

 



This also is not a PJSIP issue. It?s a server side issue. You are getting
responses from the server saying the account does not have authorization.

Check the user name /password and make sure they both match.







From: pjsip-bounces@xxxxxxxxxxxxxxx [mailto:pjsip-bounces at lists.pjsip.org]
On Behalf Of ligen
Sent: Monday, September 03, 2012 10:24 PM
To: pjsip
Subject: pjsip demo v2.0.1 can't delete sip account














Dear All:

I received follow message when exec '-a' in pjsua-i386-Win32-vc8-Debug.exe









10:59:57.781    pjsua_acc.c  ....SIP outbound status for acc 2 is not active

10:59:57.781    pjsua_acc.c  ....sip:8077 at 192.168.10.116: registration
success,

status=200 (OK), will re-register in 300 seconds

10:59:57.781    pjsua_acc.c  ....Keep-alive timer started for acc 2,
destination

:192.168.10.116:5060, interval:15s

-a

Enter account ID to delete (empty to cancel): 2

11:00:12.843    pjsua_acc.c !Deleting account 2..

11:00:12.843    pjsua_acc.c  .Acc 2: setting unregistration..

11:00:12.843   pjsua_core.c  ...TX 443 bytes Request msg REGISTER/cseq=22557
(td

ta00E6AF70) to UDP 192.168.10.116:5060:

REGISTER sip:192.168.10.116 SIP/2.0

Via: SIP/2.0/UDP
192.168.40.247:5060;rport;branch=z9hG4bKPj5d42f173d9f24cb597b63

32d8282c3c1

Max-Forwards: 70

From: <sip:8077@192.168.10.116>;tag=e3b85dde28b14b448f9e56ec2d63e2b1

To: <sip:8077 at 192.168.10.116>

Call-ID: ce2c3aeb17fe4f32839e6725c1c09f06

CSeq: 22557 REGISTER

User-Agent: PJSUA v2.0.1 win32-5.1/i386/msvc-15.0

Contact: <sip:8077 at 192.168.40.247:5060;ob>

Expires: 0

Content-Length:  0

--end msg--

11:00:12.843    pjsua_acc.c  ..Acc 2: Unregistration sent

11:00:12.843    pjsua_acc.c  .Account id 2 deleted

Account 2 deleted

>>> 11:00:12.843   pjsua_core.c  .RX 572 bytes Response msg
401/REGISTER/cseq=22

557 (rdata00E67964) from UDP 192.168.10.116:5060:

SIP/2.0 401 Unauthorized

Via: SIP/2.0/UDP
192.168.40.247:5060;branch=z9hG4bKPj5d42f173d9f24cb597b6332d828

2c3c1;received=192.168.40.247;rport=5060

From: <sip:8077@192.168.10.116>;tag=e3b85dde28b14b448f9e56ec2d63e2b1

To: <sip:8077 at 192.168.10.116>;tag=as558be70a

Call-ID: ce2c3aeb17fe4f32839e6725c1c09f06

CSeq: 22557 REGISTER

Server: Asterisk PBX 1.8.13.0-rc1

Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO,
PUBLIS

H

Supported: replaces, timer

WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="333e65e0"

Content-Length: 0

--end msg--

11:00:12.843   pjsua_core.c  ....TX 604 bytes Request msg
REGISTER/cseq=22558 (t

dta00E6AF70) to UDP 192.168.10.116:5060:

REGISTER sip:192.168.10.116 SIP/2.0

Via: SIP/2.0/UDP ??????
?:5060;rport;branch=z9hG4bKPj4845c961f2934034aceb7

5d659e571ae

Max-Forwards: 70

From: <sip:8077@192.168.10.116>;tag=e3b85dde28b14b448f9e56ec2d63e2b1

To: <sip:8077 at 192.168.10.116>

Call-ID: ce2c3aeb17fe4f32839e6725c1c09f06

CSeq: 22558 REGISTER

User-Agent: PJSUA v2.0.1 win32-5.1/i386/msvc-15.0

Contact: <sip:8077 at 192.168.40.247:5060;ob>

Expires: 0

Authorization: Digest username="8077", realm="asterisk", nonce="333e65e0",
uri="

sip:192.168.10.116", response="8fabf967d9c7736ed9fe95cc6054b640",
algorithm=MD5

Content-Length:  0



2012-09-04

  _____

ligen





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20120904/c41ceb5d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 168 bytes
Desc: not available
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20120904/c41ceb5d/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 2038 bytes
Desc: not available
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20120904/c41ceb5d/attachment-0001.jpg>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux