Re: chan_lcr change call ID
aris tsitras <[email protected]>
| Newsgroups | gmane.linux.isdn.i4l.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, thanks for the reply.
i have tried it but i think i got it messed up.
-first of all do i need to have the setup in genextension 501 1
00302108967542 for each extension and msn?
-the extensions.conf
exten => _X.,n,Set(CALLERPRES()=allowed)
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)
if i do that all extensions go out with *302114008801. *how do i
separate each extension to have its own msn on the outgoing call?
-the 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
is that for the extensions.conf? also my isdn is in ptmp not ptp.
-the exten => _X.,n,Set(CALLERPRES()=prohib) how do you set it up for a
particular extension eg 504?
sorry but i have lost it
On 12/8/2014 12:57, Jörg Esser wrote:
>
> Aristeidis Tsitras schrieb:
>> it seems really good. i will give it a try tonight and let you know.
>> what if i want to stop sending my caller ID on demand?
> exten => _X.,n,Set(CALLERPRES()=prohib)
>>
>> > Date: Tue, 12 Aug 2014 08:51:47 +0200
>> > From: [email protected]
>> > To: [email protected]
>> > Subject: Re: chan_lcr change call ID
>> >
>> > 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
>
>
_______________________________________________
isdn4linux mailing list
[email protected]
https://www.isdn4linux.de/mailman/listinfo/isdn4linux