FAQ chan lcr
From mISDN.org
[edit] FAQ[edit] available chan_lcr optionsAsterisk CLI core show application lcr_config
-= Info about application 'lcr_config' =-
[Synopsis]
lcr_config
[Description]
lcr_config(<opt><optarg>:<opt>:...)
Sets LCR opts. and optargs
The available options are:
d - Send display text on called phone, text is the optarg.
n - Don't detect dtmf tones on called channel.
h - Force data call (HDLC).
t - Disable mISDN_dsp features (required for fax application).
q - Add queue to make fax stream seamless (required for fax app).
Use queue size in miliseconds for optarg. (try 250)
f - Adding fax detection. It it timeouts, mISDN_dsp is used.
Use time to detect for optarg.
c - Make crypted outgoing call, optarg is keyindex.
e - Perform echo cancelation on this channel.
Takes mISDN pipeline option as optarg.
s - Send Non Inband DTMF as inband.
r - re-buffer packets (160 bytes). Required for some SIP-phones and fax applications.
vr - rxgain control
vt - txgain control
Volume changes at factor 2 ^ optarg.
k - use keypad to dial this call.
set LCR_TRANSFERCAPABILITY to the numerical bearer capabilty in order to alter caller's capability
-> use 16 for fax (3.1k audio)
To send a fax, you need to set LCR_TRANSFERCAPABILITY environment to 16, also you need to set
options: "n:t:q250" for seamless audio transmission.
[Syntax]
Not available
[Arguments]
Not available
[See Also]
Not available
[edit] How do I enable the OSLEC echo cancelorUse lcr_config if on an mISDN channel exten => XYZ,1,lcr_config(eoslec) or exten => XYZ,1,lcr_config(eoslec(deftaps=128)) Use dial from other channels like SIP exten => XYZ,1,Dial(LCR/<interface>/<destination>/eoslec(deftaps=128)) [edit] How can I send DTMF to the called NumberExample to change the notification number from your TNet-Box(Germany) from your own destination exten => 08003302424,1,Dial,LCR/<interface>/08003302424/:s:t|40|D(www0wwwwwww3323#0190668668**00) Watch out ! [edit] Howto use clip no screeningasterisk dialplan:
exten => _X.,n,SetCallerPres(allowed)
exten => _X.,n,Set(CALLERID(num)=8912345678))
exten => _X.,n,Dial,LCR/ext/${EXTEN}
Watch out ! lcr interface.conf: screen-out unknown % national % [edit] Callforwarding with Keypad ElementsYou can modify the Callforwarding rules at your providers switch. To do that chan_lcr supports keypad Elements. A sample dialplan could look like: ;Enable Callforward ;Forwards the call to German T-NetBox exten => AB-an,1,Dial(LCR/dialin/*21*08003302424*7605#/k) exten => AB-an,n,Hangup ;Disable Callforward exten => aus,1,Dial(LCR/dialin/#21*7605#/k) exten => aus,n,Hangup |
