No account yet? Create one
Forgot your Username or Password?

Welcome to the Voxilla VoIP Forum.

Voxilla has been a trusted source for accurate, up-to-date information on the IP Communications industry since 2002. A dedicated staff of reporters and engineers produce feature articles and product reviews to keep industry watchers abreast of the people, companies, and trends driving a fast moving market.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.





Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old August 5th, 2008, 03:16 PM
CrazyPlaya CrazyPlaya is offline
Junior Member
 
Join Date: Aug 2008
Posts: 2
CrazyPlaya is on a distinguished road
Default Getting 403 from server

Hi at all,

im trying to program a softphone. After sending a regsiter to a registrar im getting the 403 Forbidden(Bad Auth).

Here is my Register header i sent after building response value with authentication infos.

Code:
REGISTER sip:registrar.ag SIP/2.0
Via: SIP/2.0/UDP 127.0.0.1:5060;rport;branch=z9hG6iKnashds7
Max-Forwards: 70
To: <sip:xxxregistrar.ag>
From: <sip:xxx@registrar>;tag=456248
Call-ID: 85881837984230
CSeq: 1829 REGISTER
Contact: <sip:424@127.0.0.1:5060>
Expires: 300
Authorization: Digest username="xxx", algorithm=MD5, realm="asterisk", nonce="25d73fe8", uri="sip:registrar.ag", response="4831004fd355d8bd887f6f6f9e58a2e4"
Content-Length: 0
Code:
SIP/2.0 403 Forbidden (Bad auth)
Via: SIP/2.0/UDP 127.0.0.1:5060;branch=z9hG6iKnashds7;received=127.0.0.1;rport=5060
From: <sip:xxx@registrar.ag>;tag=456248
To: <sip:xxx@registrar.ag>;tag=as483de353
Call-ID: 85881837984230
CSeq: 1829 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Content-Length: 0
the response id is correct. I´ve compared it with an other working programm.
where I made my error?

Greets
CrazyPlaya
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old August 6th, 2008, 12:49 PM
CrazyPlaya CrazyPlaya is offline
Junior Member
 
Join Date: Aug 2008
Posts: 2
CrazyPlaya is on a distinguished road
Default Re: Getting 403 from server

So I think I´ve fixed the problem but now I get an Options Request from Server instead of OK.

Why? And which response i have to give on it?
Here´s the Request:


OPTIONS sip:user@127.0.0.1:5060 SIP/2.0
Via: SIP/2.0/UDP 127.1.1.1:5060;branch=z9hG4bK1460c337;rport
From: "asterisk" <sip:asterisk@127.1.1.1>;tag=as336df88a
To: <sip:424@127.0.0.1:5060>
Contact: <sip:asterisk@127.1.1.1>
Call-ID: 1d3cfefd43205172362e4f36312f89e4@127.1.1.1
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX
Max-Forwards: 70
Date: Wed, 06 Aug 2008 12:45:07 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Content-Length: 0


If i do the same procedure with sipgate.de in example it works fine?
I only get this problems with Asterisk.

Last edited by CrazyPlaya : August 6th, 2008 at 12:54 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:



Similar Threads for: Getting 403 from server
Thread Thread Starter Forum Replies Last Post
Grandstream BT100 403 busy error mik3san2s Grandstream Support Forum 3 March 4th, 2008 07:00 AM
403 code on incoming calls Tsukasa Asterisk Support Forum 0 September 16th, 2007 04:51 PM
Trixbox@Home, REGISTER fails with 403 Forbidden(bad auth) jolpot Asterisk Support Forum 3 October 31st, 2006 03:50 PM
403 forbidden error on Grandstream GXP-2000 on Broadvoice mtgguy1 BroadVoice Support Forum 0 March 23rd, 2006 12:03 AM
HELP! Asterisk rejecting incoming calls, SIP debug show 403 howardtang Asterisk Support Forum 0 November 9th, 2005 08:02 AM


Advertise Here

All times are GMT. The time now is 11:31 AM.


vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd. SEO by vBSEO 3.0.0 ©2007, Crawlability, Inc. Logos and trademarks are the property of Voxilla or their respective owner. All other content © 2003-2007 by Voxilla, Inc.