Page 1 of 1

Error in Preview Dialling

PostPosted: Tue Jul 29, 2008 9:36 pm
by cire_08
Hi everyone,

just finished my scratch installation, now its testing time. I'm testing preview dialling (local dialling, only 7 digits number) pass to my SIP gateway.

It prompted me this error everytime i made preview call:

-- Executing MeetMe("Local/8600051@default-fc3b,2", "8600051") in new stack
> Channel Local/8600051@default-fc3b,1 was answered.
-- Executing AGI("Local/8600051@default-fc3b,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-fc3b,1", "SIP/LOCALOUTBOUND/7420019||To") in new stack
-- Called LOCALOUTBOUND/7420019
Jul 30 09:19:48 WARNING[2994]: chan_sip.c:9894 handle_response_invite: Forbidden - wrong password on authentication for INVITE to '"M0730091947000000015" <sip:0000000000@192.168.0.12>;tag=as62835867'
-- SIP/LOCALOUTBOUND-081bb9a8 is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
-- Executing Hangup("Local/8600051@default-fc3b,1", "") in new stack
== Spawn extension (default, 97420019, 3) exited non-zero on 'Local/8600051@default-fc3b,1'
-- Executing DeadAGI("Local/8600051@default-fc3b,1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----21-----CONGESTION----------") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
== Spawn extension (default, 8600051, 1) exited non-zero on 'Local/8600051@default-fc3b,2'
-- Executing DeadAGI("Local/8600051@default-fc3b,2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0


With regards to my SIP gateway, kindly note that i already isolated it using VICIDIALNOW and i don't have any error. I used the same extensions.conf and sip.conf for my sratch install and vicidialnow with regards to local call.

Here is my Scratch Install, extensions.conf

[general]
static=yes
writeprotect=no

[globals]
CONSOLE=Console/dsp ; Console interface for demo
SIPtrunk1=SIP/LOCALOUTBOUND
TRUNKIAX=IAX2/ASTtest1:test@10.10.10.16:4569 ; IAX trunk interface
TRUNKIAX1=IAX2/ASTtest1:test@10.10.10.16:4569 ; IAX trunk interface
TRUNKBINFONE=IAX2/1112223333:PASSWORD@iax.binfone.com ; IAX trunk interface
SIPtrunk=SIP/1234:PASSWORD@sip.provider.net ; SIP trunk
TRUNKloop = IAX2/ASTloop:test@127.0.0.1:40569 ; used for blind monitoring
TRUNKblind = IAX2/ASTblind:test@127.0.0.1:41569 ; used for testing


[default]
; VICI-GROUP DIRECT SUPPORT LINE (VICIHELP[84244357])
exten => _84244XXX,1,Dial(IAX2/vicihelp/${EXTEN:5})

; BE SURE TO CHANGE THIS LINE FOR YOUR IP ADDRESS!

exten => _192*168*000*012*8600XXX,1,Goto(default,${EXTEN:16},1)
exten => _192*168*000*012*8600XXX*.,1,Goto(default,${EXTEN:16},1)
exten => _192*168*000*012*78600XXX,1,Goto(default,${EXTEN:16},1)
exten => _192*168*000*012*78600XXX*.,1,Goto(default,${EXTEN:16},1)
exten => _8600XXX*.,1,AGI(agi-VDADfixCXFER.agi)
exten => _78600XXX*.,1,AGI(agi-VDADfixCXFER.agi)

; Local blind monitoring
exten => _08600XXX,1,Dial(${TRUNKblind}/6${EXTEN:1},55,To)


; dial a local outbound_preview dialling number via grandstream_20
; omiting phone code 63
exten => _9NXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9NXXXXXX,2,Dial(${SIPtrunk1}/${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


[LOCALOUTBOUND]
disallow=all
allow=ulaw
allow=alaw
type=peer
host=192.168.0.20
dtmfmode=rfc2833
qualify=1000
nat = no


i highlighted this Forbidden - wrong password on authentication for INVITE to '"M0730091947000000015" <sip:0000000000@192.168.0.12>;tag=as62835867', would like to know what is the meaning of this error.Please advise..

regards,

PostPosted: Tue Jul 29, 2008 11:28 pm
by mflorell
can you place a call to that number manually?

Asterisk version for both VICIDIAL machine and your "carrier" machine?

astguiclient version?

PostPosted: Wed Jul 30, 2008 3:20 am
by cire_08
call that number manually, i got exactly the same error.(pls refer to my first posted mess.)

i used both asterisk version 1.2.27 (scratch and vicidialnow), both of them pointed to SIP grandstream gateway. My scratch install astguiclient version is 2.0.4.1rc3.

As mentioned earlier, pointing vicidialnow server to grandstream gateway works perfectly (I used it to isolate).. surely that i made some mistakes with my scratch install. . but with regards to my dialplan and sip.conf, i'm quite sure that i don't have any problem with that, still the same pls advise.

PostPosted: Wed Jul 30, 2008 9:43 am
by mflorell
Have you tried using IAX instead?

PostPosted: Wed Jul 30, 2008 10:10 pm
by codehaxor
I guess thats DMTF related or something, is your sip trunk in our sip.conf? or just in the extensions.conf?

PostPosted: Thu Jul 31, 2008 8:18 pm
by cire_08
hi Matt and codehaxor,

im using extension.conf for my sip trunk. here is my extension.conf:

[general]
static=yes
writeprotect=no

[globals]
CONSOLE=Console/dsp ; Console interface for demo
SIPtrunk1=SIP/192.168.0.20
TRUNKBINFONE=IAX2/1112223333:PASSWORD@iax.binfone.com ; IAX trunk interface
SIPtrunk=SIP/1234:PASSWORD@sip.provider.net ; SIP trunk
TRUNKloop = IAX2/ASTloop:test@127.0.0.1:40569 ; used for blind monitoring
TRUNKblind = IAX2/ASTblind:test@127.0.0.1:41569 ; used for testing

[default]

; BE SURE TO CHANGE THIS LINE FOR YOUR IP ADDRESS!
exten => _192*168*000*012*.,1,Goto(default,${EXTEN:16},1)
exten => _8600XXX*.,1,AGI(agi-VDADfixCXFER.agi)
exten => _7600XXX*.,1,AGI(agi-VDADfixCXFER.agi)

; Local blind monitoring
exten => _08600XXX,1,Dial(${TRUNKblind}/6${EXTEN:1},55,To)

exten => _192*168*000*012*8600XXX,1,Goto(default,${EXTEN:16},1)
exten => _192*168*000*012*8600XXX*.,1,Goto(default,${EXTEN:16},1)
exten => _192*168*000*012*78600XXX,1,Goto(default,${EXTEN:16},1)
exten => _192*168*000*012*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
; omiting phone code
exten => _9NXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9NXXXXXX,2,Dial(${SIPtrunk1}/${EXTEN:1},,To)
exten => _9NXXXXXX,3,Hangup


Hi Matt, as per your advice, i used already an IAX account but then i still got the error. Pls find below:

-- Executing MeetMe("Local/8600051@default-a95c,2", "8600051|F") in new stack
> Channel Local/8600051@default-a95c,1 was answered.
-- Executing AGI("Local/8600051@default-a95c,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-a95c,1", "SIP/192.168.0.20/8265075||To") in new stack
-- Called 192.168.0.20/8265075
Aug 1 09:05:51 WARNING[2907]: chan_sip.c:9894 handle_response_invite: Forbidden - wrong password on authentication for INVITE to '"M0801090550000000013" <sip:0000000000@192.168.0.12>;tag=as6197c027'
-- SIP/192.168.0.20-0826a6b8 is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
-- Executing Hangup("Local/8600051@default-a95c,1", "") in new stack
== Spawn extension (default, 98265075, 3) exited non-zero on 'Local/8600051@default-a95c,1'
-- Executing DeadAGI("Local/8600051@default-a95c,1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----21-----CONGESTION----------") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
== Spawn extension (default, 8600051, 1) exited non-zero on 'Local/8600051@default-a95c,2'
-- Executing DeadAGI("Local/8600051@default-a95c,2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0

Please advise how can solve this problem.

PostPosted: Thu Jul 31, 2008 8:41 pm
by cire_08
in addition to my last post, here was my error when i dialled manually.

-- Executing AGI("IAX2/cc301-4", "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("IAX2/cc301-4", "SIP/192.168.0.20/8154162||To") in new stack
-- Called 192.168.0.20/8134162
Aug 1 09:26:17 WARNING[2907]: chan_sip.c:9894 handle_response_invite: Forbidden - wrong password on authentication for INVITE to '"Unknown" <sip:Unknown@192.168.0.12>;tag=as5bb6080c'
-- SIP/192.168.0.20-082142f0 is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
-- Executing Hangup("IAX2/cc301-4", "") in new stack
== Spawn extension (default, 98134162, 3) exited non-zero on 'IAX2/cc301-4'
-- Executing DeadAGI("IAX2/cc301-4", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----21-----CONGESTION----------") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
-- Hungup 'IAX2/cc301-4'

PostPosted: Sun Aug 03, 2008 7:42 am
by cire_08
hello guys,

Anybody has experienced this problem that i had encountered? any advice is highly appreciated.

thanks.