Register failed because of 301 - Moved Permanently

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

 



Hi

I'm trying to register with a server that requires proxy authentication. But
the initial register gives a 301 moved permanently which when encountered by
pjsip gives a register failed immediately. Are there any #defs i need to add
to get this working. Here is the log:

Here is the part of the log:

SIP/2.0 301 Moved Permanently
From: <sip:raptor1@xxxxxxxxxxxxx <sip%3Araptor1 at techtrial.com>
>;tag=fLzhpswrJoaaEhSUd04p2vuxwNUoayJo
To: <sip:raptor1 at techtrial.com <sip%3Araptor1 at techtrial.com>>;tag=173923894
Call-ID: R0iFqYB6pKbe3tZLgm4hOxMzzvcsSB6Y
CSeq: 14026 REGISTER
v: SIP/2.0/UDP 47.152.236.244:5066
;rport=5066;branch=z9hG4bKPjGjixPkNsePKNjHIvJrTJNRR7a7zbmMwG
Contact: <sip:techtrial.com:5060;maddr=47.103.142.59;transport=udp>


--end msg--
 07:13:54.584 tsx0x39ac2028 Incoming Response msg 301/REGISTER/cseq=14026
(rdata0x39ab7520) in state Proceeding
 07:13:54.584 tsx0x39ac2028 State changed from Proceeding to Completed,
event=RX_MSG
 07:13:54.589 pjsua_acc.c SIP registration failed, status=301 (Moved
Permanently)
 07:13:54.589 symbian_ua.cpp Registration failed!
 07:13:59.921 tsx0x39ac2028 Timeout timer event
 07:13:59.921 tsx0x39ac2028 State changed from Completed to Terminated,
event=TIMER
 07:13:59.937 tsx0x39ac2028 Timeout timer event
 07:13:59.937 tsx0x39ac2028 State changed from Terminated to Destroyed,
event=TIMER
 07:13:59.937 tdta0x39ac3d40 Destroying txdata Request msg
REGISTER/cseq=14026 (tdta0x39ac3d40)
 07:13:59.942 tsx0x39ac2028 Transaction destroyed!
 07:14:58.957 pjsua_acc.c Account id 1 deleted
 07:14:58.957 pjsua_acc.c Account
sip:raptor1 at 47.154.146.49<sip%3Araptor1 at 47.154.146.49>added with id 1
 07:14:58.957 endpoint Request msg REGISTER/cseq=29631 (tdta0x39acd33c)
created.
 07:14:58.957 tsx0x39ac351c Transaction created for Request msg
REGISTER/cseq=29632 (tdta0x39acd33c)
 07:14:58.957 tsx0x39ac351c Sending Request msg REGISTER/cseq=29632
(tdta0x39acd33c) in state Null
 07:14:58.957 sip_resolve.c Target '47.154.146.49:0' type=Unspecified
resolved to '47.154.146.49:5060' type=UDP (UDP transport)
 07:14:58.957 pjsua_core.c TX 397 bytes Request msg REGISTER/cseq=29632
(tdta0x39acd33c) to UDP 47.154.146.49:5060:

Regards

Deepak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20081126/3faf4e0e/attachment.html>


[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