$a_providers = pbx_get_providers();
$sContext = $a_providers[0]['uniqid'];
so the fast way is change the '0' with 1 or 2 (it depend by how many providers you have configured).
Other way is to write a simple configuration page to set the default provider.
Hi, All!
I think the best way is to use $sContext=<user_context>, because we (may be I:) can't dial internal numbers.
If we'll use user_context we'll know correct path to any numbers in our dialplan.
i'm not close to Askozia' variables, so, pls, Roberto help to install correct function instead <user_context>
Tnx!