Hello,
I can’t find help anywhere, and I really need this.
I have Asterisk with a FXO device.
I want to read numbers from my user (in an asterisk application), I do this by using “Read” command, see:
[custom-pstn-voip]
exten => s,1,Answer
exten => s,n,Wait(1)
exten => s,n,Read(digit,vm-enter-num-to-call)
exten => s,n,Dial(SIP/${digit},1)
exten => s,n,HangUp
BUT, i can not use “Dial(SIP/…” because de number informed by the user could be an local or external call (like external IAX2 or local SIP)
How can I call a number in this application like the user is in a PSTN terminal?
Thanks in advance,