On 20/12/11 01:15 AM, John Jolly wrote:
In Leif Madsen's AstriCon 2010 talk titled "5 Things You Didn't
Know Asterisk Could Do
<https://docs.google.com/viewer?a=v&q=cache:hCDfIk4pvngJ:leifmadsen.com/sites/default/files/AstriCon%25202010%2520-%25205%2520Things%2520You%2520Didn't%2520Know%2520Asterisk%2520Could%2520Do.pdf+asterisk+dialplan+func+PITCH+SHIFT&hl=en&gl=us&pid=bl&srcid=ADGEEShzSRqJl26lEybK-TvxHL4hKQrd-mBpAapRV6eyI8ST0E5AosCEqp2bm_h5eORZFwwEZDqzEKpT9Fg244nkCgX4BDEGL6bik4Non5_fgm62fzrBxyIXjm1hnqJx2-yGyVlbdXKd&sig=AHIEtbQ2NyYajUzeJshmWKAgZEi0RprNjQ&pli=1>"
 he
mentions that the PITCH_SHIFT() function is designed to be used
dynamically and can change the pitch of a channel on the fly
using features.conf. Can someone provide me with any information of how
this would be accomplished for dynamic use? I'm familiar with the
dialplan syntax use examples such as:

exten => 1,1,Set(PITCH_SHIFT(tx)=highest); raises pitch an octave
exten => 1,1,Set(PITCH_SHIFT(rx)=higher) ; raises pitch more
exten => 1,1,Set(PITCH_SHIFT(both)=high) ; raises pitch

and so forth, but don't understand how these functions would be called
dynamically from features.conf.

You'd just create the application_map as documented in features.conf and then apply the PITCH_SHIFT() function to whichever channel you want. Untested, but should look something like:

pitch_up_them => 3*,peer/both,Set(PITCH_SHIFT(tx)=high)

--
Leif Madsen
http://www.oreilly.com/catalog/asterisk

--
_____________________________________________________________________
-- 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

Reply via email to