asterisk 1.6 and volume(TX|RX) function

solidaria

Joined
Sep 3, 2010
Messages
2
Likes
0
Points
0
#1
HI Guys i try to use this function http://www.voip-info.org/wiki/view/Asterisk+func+volume on asterisk 1.6 but I don´t know how it works with dial function and the '*' and '#' keys. I try with this example and works ok, I can see how the volume increase and decrease in the channel, but I can´t do that this work with and outgoing call. How this function work with '*' and '#' keys during a call¿?

(this work)
[ejemplito]
exten => s,1,Set(RX=0)
exten => s,2,Set(TX=0)
exten => s,3,Set(TIMEOUT(digit)=3)
exten => s,4,Set(TIMEOUT(response)=10)
exten = s,5,NOOP("RX:${RX} TX:${TX}")
exten => s,6,Background(tt-allbusy)
exten => 1,1,Set(RX=$[${RX} + 1])
exten => 1,2,Set(VOLUME(RX)=${RX})
exten => 1,3,goto(s,5)
exten => 2,1,Set(RX=$[${RX} - 1])
exten => 2,2,Set(VOLUME(RX)=${RX})
exten => 2,3,goto(s,5)
exten => 3,1,Set(TX=$[${TX} + 1])
exten => 3,2,Set(VOLUME(TX)=${TX})
exten => 3,3,goto(s,5)
exten => 4,1,Set(TX=$[${TX} - 1])
exten => 4,2,Set(VOLUME(TX)=${TX})
exten => 4,3,goto(s,5)

(in a call how¿?¿?)
[out]
exten = _0[689]XXXXXXXX!,1,Set(VOLUME(TX)=3)
exten = _0[689]XXXXXXXX!,2,Set(VOLUME(RX)=2)
exten = _0[689]XXXXXXXX!,3,Dial(SIP/{EXTEN:1}@XXXXXXXXX,30)

Thanks!
 

solidaria

Joined
Sep 3, 2010
Messages
2
Likes
0
Points
0
#2
someone¿?¿?¿¿
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,902
Messages
130,887
Members
17,566
Latest member
Fpino
Top