返回列表 發帖

READ command problem - User disconnected

I'm using my asterisk as the gateway to route calls to China.

Here is the flow:

Cell phone (PSTN) > Asterisk (SIP Trunk) > China PSTN (mobile phone or land line)

So, I dial into my asterisk, using the READ command to capture the China phone number and dial to China:
  1. Read(input_no,privacy-prompt,15)
複製代碼
My problem is, ASTERISK cut my line (cli shown: "User disconnected") while I'm still keying the China phone number. How to fix it?

本帖最後由 ttmuskie 於 2013-10-29 09:57 編輯

waitexten() only support single digit?

And, it seems can't use the goto() to route to other context?

TOP

返回列表