Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] JABBER_RECEIVE timeout don't work


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
annusfictus at gmail.com
Guest





PostPosted: Mon May 16, 2016 4:03 pm    Post subject: [asterisk-users] JABBER_RECEIVE timeout don't work Reply with quote

Hello,

I'm trying to use JABBER_RECEIVE function on my dialplan but the timeout
function don't work.

This is my dialplan:

[google-in]
exten => s,1,NoOp( Call from Gtalk )
same => n,SendText(Hola,Como te llamas?)
same => n,Set(nombre=${JABBER_RECEIVE(google,${CALLERID(name)},30)})
same => n,SendText(Hola ${nombre}, bienvenido en XYZ)
same => n,Set(CALLERID(name)=${nombre})
same => n,Wait(2)
same => n,SendText(Espera un momento mientras te comunicamos)
same => n,Dial(PJSIP/1000,30)
same => n,Hangup()

In theory the function have to wait a answer for 30 seconds but don't.
Asterisk execute next dialplan line immediately.



--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services