You need to be more specific in what you are trying to do. VPN is possible, provided the external phone registers to the own PBX. The quality of things like that varies.
I have used vpn with openvpn via raspberry in the past and it worked very well…
But customer ask specifically for external number (queue) to be able to accept calls only pressing a button to avoid cell phone voicemail to interfere with the normal call center operations
I believe that app_dial doesn’t answer the caller until things like sub-routines have been run, so I imagine you can do this in a local channel, by having a callee subroutine hang up the callee.
Perhaps i tried local channel…i had put ingoing call on Hold…then call outside number…then bridge them if accepted by callee…But i had the problem that i’m retrieving callee’s numbers from db via ODBC…And i had to call them sequentially…I was stuck in the process of passing variables as i could not inherit as, outgoing channel was a new one…
Do you think can i iterate thtough ODBC rows (obtaining calle’s number to dial), then once i’ll get variable, call subroutine with local channel ? If callee won’t press a button i could set return() …and iterate through rows results?
Can i abuse your patience and ask for a schema or diagram?
Sorry for the trouble…Normally I try to get by on my own…but i have wasted so much time in wrong tracks that I am now discouraged
Are you saying you were using Originate, as you can get variables to inherit to a Dialed channel by prefixing them with _ or __ (one level, and transitive closure, inheritance, respectively) when setting them.
I’m dialing with U option…press 1 to get connected or two to reject…all fine…
one more question…if called party hangup call prior to answer…subroutine goes on…without notice hangup… the subroutine goes timeout and then prosecute normally…