Hi Ronald, * chopping after 10 digits is fine - our number is 1234567<3 digit ext> though so there's a total of 9 digits.
On 7/4/05, Ronald_Wiplinger <[EMAIL PROTECTED]> wrote: > Bernie Ott wrote: > > >There's a tiny bit of new info available: > > > >asterisk only strips off the trailing digit of calls coming from > >ANALOG lines; calling from e.g. a (fully digital) gsm mobile, I get > >the 3 digit extension as it should be. > > > > > > Try an extension with four digits and one with two. You may see, that * > chops all after 10 digits!!! > > > bye > > Ronald > > > >does this ring a bell for anyone? > > > >On 7/3/05, no name <[EMAIL PROTECTED]> wrote: > > > > > >>so here it is, the problem that's been nagging me for the past 2 days: > >> > >>connected a box to my telco's NTBA <-> zap/asterisk. which works: > >> > >>box:/etc/asterisk# cat /proc/zaptel/1 > >>Span 1: ZTHFC1 "HFC-S PCI A ISDN card 0 [TE] layer 1 ACTIVATED (F7)" > >>HDB3/CCS > >> > >> 1 ZTHFC1/0/1 Clear (In use) > >> 2 ZTHFC1/0/2 Clear (In use) > >> 3 ZTHFC1/0/3 HDLCFCS (In use) > >> > >>so then I instructed asterisk to treat this as zap interface: > >> > >>box:/etc/asterisk# egrep -v '(^;|^$)' zapata.conf > >>[channels] > >>switchtype=euroisdn > >>signalling=bri_cpe > >>pridialplan=unknown > >>prilocaldialplan=unknown > >>immediate=no > >>priindication=outofband > >>overlapdial=no > >>usecallerid=yes > >>rxgain=0.0 > >>txgain=0.0 > >>context=inbound > >>callerid=asreceived > >>group=1 > >>channel=1-2 > >> > >> > >>defined this in the dialplan: > >> > >>office:/etc/asterisk# tail -21 extensions.conf| egrep -v '(^;|^$)' > >>[inbound] > >>; my main number is "1234567", > >>; I am using 3-digit internal extensions > >>exten => _11234567XXX,1,Goto(internal-phones,$EXTEN:8,1) > >>exten => _XXX,1,Goto(internal-phones,${EXTEN},1) > >>; this acts as catch-all so dialling just the main number goes to x200 > >>exten => s,1,Answer > >>exten => s,2,Goto(internal-phones,200,1) > >> > >> > >>now when I call e.g. "1234567200" from the outside, asterisk sees this as: > >> > >>-- Extension '20' in context 'inbound' from '1<some other number>' > >>does not exist. Rejecting call on channel 0/1, span 1 > >> > >> > >>why does asterisk INSIST on chopping the trailing digit off the > >>dialled number? I don't get it. > >> > >>please help! > >> > >>Bernie > >> > >> > >> > > > > > > > > > > > -- best, Bernie _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users