標題: How to hangup an incoming PSTN call [打印本頁] 作者: 角色 時間: 2010-8-17 09:48 標題: How to hangup an incoming PSTN call
I have tried to use Hangup command to hang up an incomng PSTN call. However it does not work at all. The hangup command should come after an answer command. Does anyone know the way to hangup it?
Your help is highly appreciated.
YH作者: ckleea 時間: 2010-8-18 14:17
I don't know if this is related to the setting in FXO. Try change some of the settings for the FXO
Without answering the call, you can do nothing to tell the PSTN network operator to reject inbound calls.
YH作者: ckleea 時間: 2010-8-18 14:56
Can you post me the code you try but unsuccessful? Are you doing something based on callerid or blacklist to hangup the inbound calls?作者: 角色 時間: 2010-8-18 15:06
In the past few days, I had helped a member to let his relatives to call my Shenzhen access number such that the caller ID is received and I shall pass this information to his Asterisk server. He will follow up the rest of the callback operation. In order to let his relative know I have already received his call by hangup the line. If I have never answered the call, then the hangup() command does not work at all.
The question is very simple, whenever any inbound calls come, how can we acknowlege the PSTN network operator, I would like to take the call?