Helps needed regarding FXO

Hi,

I have searched everywhere for a solution to this FXO problem I’m facing but to no avail. So far, a lot of people have discussed about FXO hangup problem with asterisk, but I have no problems with that, but in fact, I have a reverse kind of problem.

I find it is impossible to hangup incoming calls to my asterisk box. I tried every single possible method I can think of but it just doesn’t work.

Example:

exten => s,1,NoOp(Caller id is ${CALLERID(num)})
exten => s,n,System(do something with the callerid)
exten => s,n,System(query something)
exten => s,n,Hangup

And as soon as asterisk reaches the Hangup part, on the screens it show

-- Hungup 'Zap/4-1'

And then starts the whole process all over again…

– Starting simple switch on ‘Zap/4-1’
– Executing NoOp(“Zap/4-1”, Caller id is 123456) in new stack

If i don’t hangup the phone myself, this will just keep restarting itself again and again and again…

– Starting simple switch on ‘Zap/4-1’
– Executing NoOp(“Zap/4-1”, Caller id is 123456) in new stack

Is there anyway I can ask Asterisk to do a clear cut Hangup?? Please help me I seriously need help!

I even tried to let asterisk play a message, i.e,

exten => s,1,Playback(test)
exten => s,2,Hangup

the phone will just stay like that for a while until timed out!!!

I really need to get this Hangup working I hope you folks here can help me out!! Thank you so much!

zekus

please anyone? I hope you can help me out… forums.digium.com is my last hope. I have been searching and trying almost every possibilities…

I am a novice but you can try;
exten => s,1,Wait(2)
exten => s,2,Hangup()

You may want to post your extensions.conf

Hi comprookie2000,

Do you have FXO card TDM400P too? Does it work for you when you just issue the Hangup() after Wait(2) like that? I couldn’t hangup my fxo no matter what.

Please help me anyone? I really need your help!!!

Regards,
zekus