Title: Asterisk Server gives 403 forbidden

Hi

I am a new Asterisk user, I am trying to make a call between 2 Windows messenger clients.

At present I am trying to get one client to register with the Asterisk Server. I get a 403 forbidden

Could anyone tell me what I am doing wrong?

A snippet from my sip.conf file is below.

679@172.16.4.40 is the client.

Asterisk is running on 172.16.4.79

Thanks

Preeti

[general]

context=default

port=5060                       ; UDP Port to bind to (SIP standard port is 5060)

bindaddr=0.0.0.0                ; IP address to bind to (0.0.0.0 binds to all)

srvlookup=yes


[EMAIL PROTECTED]

type=user                       ; either "friend" (peer+user), "peer" or "user"

context=default

[EMAIL PROTECTED]                        ; usually matches the section title

host=172.16.4.79             ; we have a static but private IP address

nat=no                        ; there is not NAT between phone and Asterisk

canreinvite=no               ; allow RTP voice traffic to bypass Asterisk







[EMAIL PROTECTED].

\346\215\254\334P^D\276\263^N^HE^B \323\343\200^Q^DR\254^P^D(\254^P^DO^O\326^S\304^B^L\262FREGISTER sip:172.16.

4.79 SIP/2.0^M

Via: SIP/2.0/UDP 172.16.4.40:8366^M

Max-Forwards: 70^M

From: <sip:[EMAIL PROTECTED]>;tag=2ee98db6-0fbe-43ef-8ae9-566dbf3a8e8e;epid=78e68a104b^M

To: <sip:[EMAIL PROTECTED]>^M

Call-ID: [EMAIL PROTECTED]

CSeq: 1 REGISTER^M

Contact: <sip:172.16.4.40:8366>;methods="INVITE, MESSAGE, INFO, SUBSCRIBE, OPTIONS, BYE, CANCEL, NOTIFY, ACK, R

EFER"^M

User-Agent: Windows RTC/1.2.4805 (Messenger 5.0.0149)^M

Event: registration^M

Allow-Events: presence^M

Content-Length: 0^M

^M

 [EMAIL PROTECTED]

\346\215\254\334^HE^A\243@@^Q\330\262\254^P^DO\254^P^D(^S\304 \256^A\217\321^LSIP/2.0 403 Forbidden^M

Via: SIP/2.0/UDP 172.16.4.40:8366^M

From: <sip:[EMAIL PROTECTED]>;tag=2ee98db6-0fbe-43ef-8ae9-566dbf3a8e8e;epid=78e68a104b^M

To: <sip:[EMAIL PROTECTED]>;tag=as6d33fdbb^M

Call-ID: [EMAIL PROTECTED]

CSeq: 1 REGISTER^M

User-Agent: Asterisk PBX^M

Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER^M

Contact: <sip:[EMAIL PROTECTED]>^M

Content-Length: 0^M

^M

[EMAIL PROTECTED]

\346\215\254\334P^D\276\263^N^HE^B \324^M\200^Q^D(\254^P^D(\254^P^DO^O\333^S\304^B^L87REGISTER sip:172.16.4.79

SIP/2.0^M

Via: SIP/2.0/UDP 172.16.4.40:8366^M

Max-Forwards: 70^M

From: <sip:[EMAIL PROTECTED]>;tag=2ba5bf3e-a921-47d0-9333-55dacd5e3a6e;epid=9834c1caf0^M

To: <sip:[EMAIL PROTECTED]>^M

Call-ID: [EMAIL PROTECTED]

CSeq: 1 REGISTER^M

Contact: <sip:172.16.4.40:8366>;methods="INVITE, MESSAGE, INFO, SUBSCRIBE, OPTIONS, BYE, CANCEL, NOTIFY, ACK, R

EFER"^M

User-Agent: Windows RTC/1.2.4805 (Messenger 5.0.0149)^M

Event: registration^M

Allow-Events: presence^M

Content-Length: 0^M

^M

[EMAIL PROTECTED](\260P^D\276\263^N

\346\215\254\334^HE^A\243@@^Q\330\262\254^P^DO\254^P^D(^S\304 \256^A\217+\272SIP/2.0 403 Forbidden^M

Via: SIP/2.0/UDP 172.16.4.40:8366^M

From: <sip:[EMAIL PROTECTED]>;tag=2ba5bf3e-a921-47d0-9333-55dacd5e3a6e;epid=9834c1caf0^M

To: <sip:[EMAIL PROTECTED]>;tag=as1196e43e^M

Call-ID: [EMAIL PROTECTED]

CSeq: 1 REGISTER^M

User-Agent: Asterisk PBX^M

Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER^M

Contact: <sip:[EMAIL PROTECTED]>^M

Content-Length: 0^M

^M

[EMAIL PROTECTED]

\346\215\254\334P^D\276\263^N^HE^B \324"\200^Q^D^S\254^P^D(\254^P^DO^O\336^S\304^B^L^L.REGISTER sip:172.16.4.79

 SIP/2.0^M

Via: SIP/2.0/UDP 172.16.4.40:8366^M

Max-Forwards: 70^M

From: <sip:[EMAIL PROTECTED]>;tag=16f4c47f-64e2-42df-9fb0-6c71d75e7142;epid=ab45f42642^M

To: <sip:[EMAIL PROTECTED]>^M

Call-ID: [EMAIL PROTECTED]

CSeq: 1 REGISTER^M

Contact: <sip:172.16.4.40:8366>;methods="INVITE, MESSAGE, INFO, SUBSCRIBE, OPTIONS, BYE, CANCEL, NOTIFY, ACK, R

EFER"^M

User-Agent: Windows RTC/1.2.4805 (Messenger 5.0.0149)^M

Event: registration^M

Allow-Events: presence^M

Content-Length: 0^M

^M

[EMAIL PROTECTED]

\346\215\254\334^HE^A\243@@^Q\330\262\254^P^DO\254^P^D(^S\304 \256^A\217O\340SIP/2.0 403 Forbidden^M

Via: SIP/2.0/UDP 172.16.4.40:8366^M

From: <sip:[EMAIL PROTECTED]>;tag=16f4c47f-64e2-42df-9fb0-6c71d75e7142;epid=ab45f42642^M

To: <sip:[EMAIL PROTECTED]>;tag=as04d1cccc^M

Call-ID: [EMAIL PROTECTED]

CSeq: 1 REGISTER^M

User-Agent: Asterisk PBX^M

Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER^M

Contact: <sip:[EMAIL PROTECTED]>^M

Content-Length: 0^M

Preeti Gopalan

404-526-6056

Reply via email to