Hi team, I am trying to find solution to hangup b-party call after 1 min with out disconnecting the call of a-party but following dial plan which is disconnect both the calls. Please suggest me the solution. [TB] exten => _X.,1,Wait(${INCOMING_WAIT}) exten =>_X.,2,Verbose(TB) exten =>_X.,3,Answer() exten => _X.,4,Set(mainLoop=0) exten => _X.,5,Set(TIMEOUT(absolute)=10)??????? ; set time in? milliseconds exten => _X.,6,Playback(/var/callagent/prompts/monitor/thanks) exten => _X.,7,Dial(DAHDI/7/ 09501032209,10,S(60)) exten => _X.,8,Noop(${DIALEDTIME}) exten =>_X.,9,Goto(TB,_X.,1) exten =>_X.,n,Hangup() Thanks Vinod Dharashive Sent from BlackBerry? on Airtel
See absolute timeout. I think yours' a complex thing to achieve I guess absolute timeout may be the thing that can help. In older versions absoluteTimeoute(n) could take you to exten T when time n elapsed. now I guess funtion Timeout() is used as replacement. here's an excerpt from somewhere: ; limit calls to ex-girlfriend to 300 seconds exten => 123,1,Set(TIMEOUT(absolute)=300) exten => 123,2,Dial(${EX-GIRLFRIEND}) exten => T,1,Playback(im-sorry) exten => T,2,Playback(vm-goodbye) exten => T,3,Hangup( ) Also see if Dial() command options L(x:y:z), or S(x) work out for you when combined with option g. On Wed, Sep 7, 2011 at 7:42 AM, Vinod Dharashive <vdharashive at gmail.com>wrote:> Hi team, > > I am trying to find solution to hangup b-party call after 1 min with out > disconnecting the call of a-party but following dial plan which is > disconnect both the calls. > > > Please suggest me the solution. > > [TB] > > > > exten => _X.,1,Wait(${INCOMING_WAIT}) > > exten =>_X.,2,Verbose(TB) > > exten =>_X.,3,Answer() > > exten => _X.,4,Set(mainLoop=0) > > exten => _X.,5,Set(TIMEOUT(absolute)=10) ; set time in milliseconds > > exten => _X.,6,Playback(/var/callagent/prompts/monitor/thanks) > > exten => _X.,7,Dial(DAHDI/7/ > > 09501032209,10,S(60)) > > > > exten => _X.,8,Noop(${DIALEDTIME}) > > exten =>_X.,9,Goto(TB,_X.,1) > > exten =>_X.,n,Hangup() > > Thanks > Vinod Dharashive > Sent from BlackBerry? on Airtel > -- > _____________________________________________________________________ > -- 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 >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110907/1c3bdd01/attachment.htm>
Hi sam, Have solved the problem with your advice. Call drop in 10 seconds without disconnecting a-party call. Thank you very much. [TB] exten =>_X.,1,Wait(${INCOMING_WAIT}) exten =>_X.,2,Verbose(TB) exten =>_X.,3,Answer() exten =>_X.,4,Set(mainLoop=0) ;exten =>_X.,5,Set(TIMEOUT(absolute)=50000) exten =>_X.,5,Playback(/var/callagent/prompts/monitor/thanks) exten => _X.,6,Dial(DAHDI/7/ 09501032209,100,L(30000[:10000][:3000])g) exten =>_X.,7,Noop(${DIALEDTIME}) exten =>_X.,8,Goto(TB,_X.,1) exten =>_X.,n,Hangup() Cheers Vinod Dharashive Sent from BlackBerry? on Airtel -----Original Message----- From: Sam Govind <govoiper at gmail.com> Sender: asterisk-users-bounces at lists.digium.com Date: Wed, 7 Sep 2011 11:53:33 To: Asterisk Users Mailing List - Non-Commercial Discussion<asterisk-users at lists.digium.com> Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users at lists.digium.com> Subject: Re: [asterisk-users] (no subject) -- _____________________________________________________________________ -- 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
Ishfaq Malik
2011-Sep-09 09:16 UTC
[asterisk-users] Call drop in 10 seconds without disconnecting a-party call
Hi Can you please provide an excerpt of your logs when this happens? Regards Ish On Fri, 2011-09-09 at 09:05 +0000, Vinod Dharashive wrote:> Hi sam, > > Have solved the problem with your advice. Call drop in 10 seconds without disconnecting a-party call. Thank you very much. > > [TB] > > exten =>_X.,1,Wait(${INCOMING_WAIT}) > > exten =>_X.,2,Verbose(TB) > > exten =>_X.,3,Answer() > > exten =>_X.,4,Set(mainLoop=0) > > ;exten =>_X.,5,Set(TIMEOUT(absolute)=50000) > > exten =>_X.,5,Playback(/var/callagent/prompts/monitor/thanks) > > exten => _X.,6,Dial(DAHDI/7/ > > 09501032209,100,L(30000[:10000][:3000])g) > > exten =>_X.,7,Noop(${DIALEDTIME}) > > exten =>_X.,8,Goto(TB,_X.,1) > > exten =>_X.,n,Hangup() > > Cheers > Vinod Dharashive > Sent from BlackBerry? on Airtel > > -----Original Message----- > From: Sam Govind <govoiper at gmail.com> > Sender: asterisk-users-bounces at lists.digium.com > Date: Wed, 7 Sep 2011 11:53:33 > To: Asterisk Users Mailing List - Non-Commercial Discussion<asterisk-users at lists.digium.com> > Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion > <asterisk-users at lists.digium.com> > Subject: Re: [asterisk-users] (no subject) > > -- > _____________________________________________________________________ > -- 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 > -- > _____________________________________________________________________ > -- 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-- Ishfaq Malik Software Developer PackNet Ltd Office: 0161 660 3062
Sam Govind
2011-Sep-09 10:04 UTC
[asterisk-users] Call drop in 10 seconds without disconnecting a-party call
Thats goood ! :) thanks for updating. On Fri, Sep 9, 2011 at 2:16 PM, Ishfaq Malik <ish at pack-net.co.uk> wrote:> Hi > > Can you please provide an excerpt of your logs when this happens? > > Regards > > Ish > > On Fri, 2011-09-09 at 09:05 +0000, Vinod Dharashive wrote: > > Hi sam, > > > > Have solved the problem with your advice. Call drop in 10 seconds without > disconnecting a-party call. Thank you very much. > > > > [TB] > > > > exten =>_X.,1,Wait(${INCOMING_WAIT}) > > > > exten =>_X.,2,Verbose(TB) > > > > exten =>_X.,3,Answer() > > > > exten =>_X.,4,Set(mainLoop=0) > > > > ;exten =>_X.,5,Set(TIMEOUT(absolute)=50000) > > > > exten =>_X.,5,Playback(/var/callagent/prompts/monitor/thanks) > > > > exten => _X.,6,Dial(DAHDI/7/ > > > > 09501032209,100,L(30000[:10000][:3000])g) > > > > exten =>_X.,7,Noop(${DIALEDTIME}) > > > > exten =>_X.,8,Goto(TB,_X.,1) > > > > exten =>_X.,n,Hangup() > > > > Cheers > > Vinod Dharashive > > Sent from BlackBerry? on Airtel > > > > -----Original Message----- > > From: Sam Govind <govoiper at gmail.com> > > Sender: asterisk-users-bounces at lists.digium.com > > Date: Wed, 7 Sep 2011 11:53:33 > > To: Asterisk Users Mailing List - Non-Commercial Discussion< > asterisk-users at lists.digium.com> > > Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion > > <asterisk-users at lists.digium.com> > > Subject: Re: [asterisk-users] (no subject) > > > > -- > > _____________________________________________________________________ > > -- 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 > > -- > > _____________________________________________________________________ > > -- 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 > > -- > Ishfaq Malik > Software Developer > PackNet Ltd > > Office: 0161 660 3062 > > > -- > _____________________________________________________________________ > -- 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-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110909/8f7d8561/attachment.htm>