Re: chan_lcr change call ID
Jörg Esser <[email protected]>
| Newsgroups | gmane.linux.isdn.i4l.user |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I use the following dailplan in asterisk to change the Number in lcr. (I
also need to subscribe it at the german telekom,but I have an
Anlagenanschluss=english?)
exten => _X.,n,Set(CALLERPRES()=allowed)
;since asterisk 1.6 you can use CALLERID(ton) so you don´t need to set
the screen option in LCR ?
;type of number 0=unknown, 1=International, 2=national, 4=subsciber
;exten => _X.,n,Set(CALLERID(ton)=2)
exten => _X.,n,Set(CALLERID(num)=302114008801)
exten => _X.,n,Dial(LCR/dialout/${EXTEN}/eoslec(deftaps=256):s:t)
exten => _X.,n,Goto(Dstat,s-${DIALSTATUS},1)
Maybe you need to change it to your needs.
lcr:
[dialout]
earlyb yes
screen-in international % unknown 00%
screen-in national % unknown 0%
screen-out unknown % national %
portnum 1
nodtmf
ptp
portnum 2
nodtmf
ptp
portnum 3
nodtmf
ptp
Aristeidis Tsitras schrieb:
> some help please?
>
> ------------------------------------------------------------------------
> From: [email protected]
> To: [email protected]
> Subject: chan_lcr change call ID
> Date: Thu, 17 Jul 2014 07:49:37 +0000
>
> hello everyone.
>
> i am running asterisk and i do need to have my isdn in the box.
> i have installed lcr and all necessary dependencies. i can receive and
> route calls correctly to the appropriate extension. my ISDN has a head
> number(00302114008801) and 2 msn (00302108967542, 00302130076549). the
> problem is that all calls are made and show only the head number and
> not msn. how do i make this work?
> also, it does not work the suppression of the caller ID (*31*number).
> the mapping i would like to do is:
> -extension 500 to show 00302114008801 when place calls. That one works
> -extension 501 to show 00302108967542 when place calls. It does not
> work, it shows the head number instead.
> -extension 502 to show 00302130076549when place calls. It does not
> work, it shows the head number instead.
> -extension 503 to place calls through 00302114008801 but without
> showing a number on the outside world (*31*). It does not work, it
> shows the head number instead.
>
>
> i have done the genextension 501 1 00302108967542 without any luck.
>
>
> some help please!
>
> _______________________________________________ isdn4linux mailing
> list [email protected]
> https://www.isdn4linux.de/mailman/listinfo/isdn4linux
--
Gruss, Joerg
_______________________________________________
isdn4linux mailing list
[email protected]
https://www.isdn4linux.de/mailman/listinfo/isdn4linux