timeout does not work, it is always 60 secs.

30 views
Skip to first unread message

Rodrigo Moreno

unread,
Apr 12, 2013, 3:22:06 PM4/12/13
to plivo...@googlegroups.com
I'm trying to send the call after 10 sec. ringing to a voicemail application set on /url/urlAfterDial however it always wait 60 secs before call my action url. I'm sending the following xml as reponse : <Response> <Dial action="/url/urlAfterDial" callerId="+111111111" callerName="Caller Name" timeout="10"> <Number gateways="user/">User1</Number> <Number gateways="user/">User2</Number> </Dial> </Response>

What am I doing wrong here? How I set my timeout to ring only 10 secs?

Thanks,

Rodrigo Moreno

unread,
May 4, 2013, 6:08:15 PM5/4/13
to plivo...@googlegroups.com
Just to answer my own question, the timeout need to be added in the gateway...

gatewayTimeouts="10"

<Response> <Dial action="/url/urlAfterDial" callerId="+111111111" callerName="Caller Name"> <Number gateways="user/" gatewayTimeouts="10">User1</Number> <Number gateways="user/" gatewayTimeouts="10">User2</Number> </Dial> </Response>
Reply all
Reply to author
Forward
0 new messages