hello list...

i have configured my asterisk in such a way that it
first screens an incomming call and the caller has to
enter his/her pin number so that he is connected to
the system. i am writing a prepaid application to
incorporate into the asterisk PBX.

however, after searching the database for the user's
pin number, the dial application on my dialplan does
not work properly. 

it gives me the error saying... 

Sep 20 15:47:29 WARNING[1184048960]: channel.c:1404
ast_indicate: Unable to handle indication 3 for
'SIP/3307-8a8f'
    -- SIP/3308-05d9 answered SIP/3307-8a8f
    -- Attempting native bridge of SIP/3307-8a8f and
SIP/3308-05d9

can anyone tell me what i'm doing wrong?

here's a piece of my extensions.conf file that does
the pin number varification

[test]
exten => s,1,Answer
exten => s,2,Background(welcome2short)
#exten => s,2,ResponseTimeout(3)

exten => _XXXXXXXXXXXX,1,Agi,step2|${EXTEN}
exten => _XXXXXXXXXXXX,2,Goto(allowcall,s,1)
exten => _XXXXXXXXXXXX,3,Hangup

exten => _XXXXXXXXXXXX,102,Background(vm-last)

exten => 0,1,Goto(s,1)

exten => i,1,Playback(pbx-invalid)

[allowcall]
exten => s,1,Answer
exten => s,2,Background(welcome2short)

exten => _XXXX,1,Playback(transfer)
exten => _XXXX,2,Dial(SIP/${EXTEN})


step2 id my AGI script that varifies the pin number.
if the pin is in the database then the 
exten => _XXXXXXXXXXXX,2,Goto(allowcall,s,1)

line is executed, else the 
exten => i,1,Playback(pbx-invalid) 

line is executed...the dial in allowcall context gives
an error 

Sep 20 15:47:29 WARNING[1184048960]: channel.c:1404
ast_indicate: Unable to handle indication 3 for
'SIP/3307-8a8f'
    -- SIP/3308-05d9 answered SIP/3307-8a8f
    -- Attempting native bridge of SIP/3307-8a8f and
SIP/3308-05d9


any help will be appreciated


                
__________________________________
Do you Yahoo!?
Y! Messenger - Communicate in real time. Download now. 
http://messenger.yahoo.com
_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to