* You are viewing the archive for March, 2011

disconnecting destination channel

Dear All

I am using Asterisk 1.4.17 in a calling card application. Following
description explains the usage:

A call/request hits asterisk from an ip xxx.xxx.xxx.xxx which opens a
channel for this ip (Lets call it Channel A). Asterisk answers the call and
play IVRs first asking the PIN and then destination number in an AGI making
use of radius server for authentication/authorization. Once done with that,
Asterisk uses ‘Dial’ application to move forward sending it to ip
yyy.yyy.yyy.yyy which opens another channel to this ip (lets call it channel
B).

I want to include ‘##’ feature (for making another call), when caller
presses ## during a call, destination channel B is hanged up (i need to
hangup the destination channel to billing purposes) keeping originating
channel A alive and another AGI application is triggered for caller to enter
another destination number.

Im using feature.conf’s application map something like below:

followupcall => ##,peer/caller,Hangup

At least feature is working but hanging up both channels…….Problem!!!

If there is any other application to hang up the destination channel, what
is that? Also what is the status of originating channel? Where should the
call to second AGI be put in the dial plan?

I hope you guys understand my problem/issue. Please guide me, thanks alot in
advance.

DTMF input while waiting in queue…

Wow… completely missed that. It was right there in the text. Sorry and thanks Sherwood!

Is History-Info (RFC4244) supported ?

Hi,

Googling, I came across this document
http://www.cytek.biz/roller/designbox/entry/asterisk_diversion_and_history_info
which says History-Info header is supported in asterisk.
Unfortunately, some details are missing (aka asterisk version).

Reading latest 1.8 changelog does say much about this.

As someone met any success implementing this feature (with Polycom 3.1
enabled phones, for instance) ?

Regards

s extension not working

Hey Guys!

I have asterisk 1.8.x and somehow my ‘s’ extension not picking up any incoming calls..

Not working

[from-pstn]
exten => s,1,Answer()
same => n,Playback(hello-world)
same => n,Hangup()

Working…

[from-pstn]
exten => _XXXX,1,Answer()
same => n,Playback(hello-world)
same => n,Hangup()

-S

Variable. AMI and dialplan

this may be related with:

https://issues.asterisk.org/view.php?id=14662

El 28/03/2011 10:20, Sherwood McGowan escribió:
> Don’t know then, that’s all I’ve got far ya today mate, sorry
>
> On 3/28/2011 8:18 AM, magnus.b@inputinterior.se wrote:
>> I did use Action: Getvar when i read it back in AMI.
>>
>> On 3/28/2011 7:41 AM, magnus.b@inputinterior.se wrote:
>>> Hi!
>>>
>>> Guess I am doing something totally wrong here: Some smart person could
>>> maybe plz tell me what.
>>>
>>> From AMI, I set a variable Action: SetvarrnVariable:xrnValue:
>>> 5rnrn
>>>
>>> From dialplan i can “access” the variable “x” and see the value “5”
>>> From dialplan i modify “x” to “8”.
>>>
>>> But from AMI i still se “x” as “5” not “8”.
>>>
>>> /Magnus
>> Maybe you need to perform a GetVar to read the new value of that channel
>> variable
>>