Page 1 of 1

Forbidden - wrong password on authentication

PostPosted: Thu Aug 07, 2008 1:53 am
by cire_08
Hello Expert!!!

I'd been trying to solve this problem for almost 3 days now but still no find any luck. I searched and googled many times but can't find any solutions for the same. I'm pretty sure that i don't have any prob with my password. Here is my config:

asterisk 1.2.24
astguiclient_2.0.4.1rc2
Slackware 12.1

Pls help me to solve this problem..many thanks to all of you!!

-- Executing MeetMe("Local/8600051@default-4d87,2", "8600051") in new stack
> Channel Local/8600051@default-4d87,1 was answered.
-- Executing AGI("Local/8600051@default-4d87,1", "agi://127.0.0.1:4577/call_log") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing Dial("Local/8600051@default-4d87,1", "SIP/192.168.0.20/5240091||To") in new stack
-- Called 192.168.0.20/5240091
Aug 7 06:40:08 WARNING[2951]: chan_sip.c:9870 handle_response_invite: Forbidden - wrong password on authentication for INVITE to '"M0807064008000000019" <sip:0000000000@192.168.0.30>;tag=as75351740'
-- SIP/192.168.0.20-0820c008 is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
-- Executing Hangup("Local/8600051@default-4d87,1", "") in new stack

PostPosted: Thu Aug 07, 2008 2:21 am
by cire_08
Here is my extensions.conf:

[general]
static=yes
writeprotect=no

[globals]
CONSOLE=Console/dsp ; Console interface for demo
SIPTRUNK=SIP/192.168.0.20

[default]

; BE SURE TO CHANGE THESE FOR YOUR IP ADDRESS!
exten => _192*168*000*015*8600XXX,1,Goto(default,${EXTEN:16},1)
exten => _192*168*000*015*8600XXX*.,1,Goto(default,${EXTEN:16},1)
exten => _192*168*000*015*78600XXX,1,Goto(default,${EXTEN:16},1)
exten => _192*168*000*015*78600XXX*.,1,Goto(default,${EXTEN:16},1)
exten => _8600XXX*.,1,AGI(agi-VDADfixCXFER.agi)
exten => _78600XXX*.,1,AGI(agi-VDADfixCXFER.agi)

; dial a local outbound_preview dialling number via grandstream_20
exten => _9NXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9NXXXXXX,2,Dial(${SIPTRUNK}/${EXTEN:1},,To)
exten => _9NXXXXXX,3,Hangup

My sip.conf:

[general]
port = 5060
bindaddr = 0.0.0.0
context = default
disallow = all
allow = ulaw
allow = alaw
allow = gsm

[cc101]
disallow=all
allow=ulaw
allow=alaw
type=friend
username=cc101
secret=test
host=dynamic
dtmfmode=inband
qualify=1000
mailbox=101


I used iax account as well but still prompted me the same error.

I hope somebody will help me on this!!

PostPosted: Thu Aug 07, 2008 3:46 am
by cire_08
As far as my vicidial scratch installation is concern, it seems that my problem was in my grand stream gateway here in my local network calling local number. Because when i passed my call to International VoIP termination, my call was successful. (calling US#)

However, the weird thing here is that my Vicidialnow server doesn't have any problem pointing to local grand stream(calling local number) but in scratch installed then problem occurred..(considering that my sip.conf and extensions.conf are the same.)

What can you say guys?