FAQ chan lcr

From mISDN.org

Jump to: navigation, search

Contents

FAQ

How do I enable the OSLEC echo cancelor

Use 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))

How can I send DTMF to the called Number

Example 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 !
1. Also using the n Option won´t work e.g. s:n because Asterisk sends DTMF and chan_lcr ignores them and won´t let them go to the mISDN channel.
2. Timing for the TNet-Box is critical so make use from w for waits of 0,5 sec.

Howto use clip no screening

asterisk dialplan:

exten => _X.,n,SetCallerPres(allowed)
exten => _X.,n,Set(CALLERID(num)=8912345678))
exten => _X.,n,Dial,LCR/ext/${EXTEN}

Watch out !
For Germany leave out the 0 in front of the number. To send 08912345678 CALLERID(num) should be the above.

lcr interface.conf:

screen-out unknown % national %

Callforwarding with Keypad Elements

You can modify the Callforwarding rules at your providers switch. To do that chan_lcr supports keypad Elements.
This is right now tested on German Telekom Switches.
Here are some info about keypad and what you can do with it.
To use keypad with chan_lcr use the k Option from chan_lcr.

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
Personal tools