Closed richilp closed 4 years ago
Hello again,
it's solved. I'm leaving here the info as a reference for future users:
This doesn't work:
"timeout" => '90'
This works:
"timeout" => 90
The timeout value needs to be sent as a integer otherwise it won't pass to the dialapp and then the timeout will be as default, at 30 seconds
Mystery solved thanks to @wilcarjose ;)
Hello Nir,
we've noticed that the maximum ringing time for a dial using phpari is 30 seconds. After that the call is disconnected.
We're passing the timeout from the dialplan to the stasis and the stasis send it to the dial app properly:
body: { "endpoint": "PJSIP/ricardo20", "app": "stasis-dial", "appArgs": "", "timeout": "200" }
But it doesn't matter which value we send it always hang up the ringing after 30 seconds.
If we use the Dial app in Asterisk Dialplan the timeout out is ok with the value we setup,but not if we use phpari.
Do you think we're missing smth or is this a bug?
Thanks Nir