-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Danny,
Danny Nicholas schrieb: > Here's how core show application dial says you should do it: > Change your dial to > exten => _X.,n,Dial(${DIALNUM},${ARG2},dtT,callback) I'm not sure if this is correct. core show application dial says: Dial(Technology/resource[&Tech2/resource2...][|timeout][|options][|URL]) If I configure what you wrote, then callback is passed as URL to the called party. "The optional URL will be sent to the called party if the channel supports it." I don't think that's what I want. What I want is: If A dials B and B doesn't answer, A can press 5 and place an automatic callback. If B is back and places or takes a call, the automatic callback to A should be started. I've found a possibility to do this via answering the call before the dial. But ... that's not an ideal solution. I would prefer not to answer the call in the dialplan. Does the option 'd' implies an answered channel? Or is this a Bug? Chris... > > This will execute the macro, then dial the number. You will have to take > the hangups out of callback. > > -----Original Message----- > From: asterisk-users-boun...@lists.digium.com > [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Christoph > Fürstaller > Sent: Tuesday, April 14, 2009 11:50 AM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re: [asterisk-users] Exit Dial Application > > Hi, > > Thanks for your replay. But this can only be done before or after the dial, > but I wanna do it during the dial, when user A is waiting for user B, > answering the phone. This should be possible, right? > > I hope anyone knows if this is possible. > > Chris... > > Danny Nicholas schrieb: >> I'd change callback to this >> [callback] >> Exten => s,1,Playback(press5msg) >> Exten => s,n,Waitexten(5) >> Exten => s,n,Hangup >> exten => 5,1,agi(str_concat.sh) >> exten => 5,n,Hangup > >> This will play a message, wait 5 seconds for user to press 5, then hangup > if >> they don't. > >> -----Original Message----- >> From: asterisk-users-boun...@lists.digium.com >> [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Christoph >> Fuerstaller >> Sent: Tuesday, April 14, 2009 5:04 AM >> To: Asterisk Users Mailing List >> Subject: [asterisk-users] Exit Dial Application > >> Hi, > >> I' try to implement an automatic callback mechanism, just for local SIP >> calls.. Callback >> on busy and on no answer. If the other party doen't answer, it should be >> possible to press >> 5 to place an callback. > >> Here is my dial: >> exten => _X.,1,Set(EXITCONTEXT=callback) >> exten => _X.,n,Dial(${DIALNUM},${ARG2},dtT) > >> And here the script for callback. >> [callback] >> exten => 5,1,agi(str_concat.sh) >> exten => 5,n,Hangup > >> If I call someone and press 5, nothing happens. What could be a problem? >> DTMFmode is RFC2833 for all SIP Accounts. DTMF's are transmitted > correctly, >> I can enter >> the voicmail menue. > >> I'm using Asterisk 1.4.21.1. > >> Any successions are very appreciated. > >> Chris... > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > _______________________________________________ - -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users _______________________________________________ - -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users - -- commpany dialog solutions gmbh Dipl.-Ing.(FH) Christoph Fürstaller IP-Communications Ischlerbahnstraße 14, 5301 Eugendorf Tel: +43 662 879512 Fax: +43 662 875960 IP-Tel: +43 780 commpany (26667269) Email: c.fuerstal...@commpany.at -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (GNU/Linux) iEUEARECAAYFAknl5WgACgkQR0exH8dhr/YjNACXRIjfaQsk+xSWRN9ZG6mvhlcx NgCdHpIRHNQI73p/ZTOoONPxUappwoY= =3Xz5 -----END PGP SIGNATURE----- _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users