Thank you for your reply i did it in both ways (AGI and DIALPLAN) but not working. so you mean it is because of telco ? what about digital lines such as E1 ?
Regards, Mehdi On Mon, Sep 17, 2012 at 8:57 AM, Raj Mathur (राज माथुर) <[email protected]> wrote: > On Monday 17 Sep 2012, Mehdi Rahimi wrote: >> I need to use agi to handle some issue , after finishing agi i want >> to hang up the channel , if i call from an extension there is no >> problem but i want to be the same for PSTN (outside) caller , if >> someone call asterisk show the hang up channel but the caller is not >> disconnected and if meanwhile someone inside try to call from an >> extension the outide caller can listen to DTMF and everything . . . >> . >> I would be really grateful if you share your close experience . > > If this is on Analog (FXO) lines then you may be out of luck. In India, > at least, the called party cannot hang up an incoming call on an analog > line -- the caller has to do it. > > In any case, what happens if you execute HangUp() in your dialplan > instead of in AGI? > > Regards, > > -- Raj > -- > Raj Mathur || [email protected] || GPG: > http://otheronepercent.blogspot.com || http://kandalaya.org || CC68 > It is the mind that moves || http://schizoid.in || D17F > > -- > _____________________________________________________________________ > -- 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
