Spripping incomming digits

Hello:

Just started using Asterisk (version 1.4), and I am having trouble with a sip peer who is out of my control. the peer is sending me too many digit. I am looking for a way to have the first digit they send stripped off, or ignored by asterisk. Log sample below showing the peer attempting to call ext 6000

Note the extra digit is always 4

chan_sip.c: Call from ‘nortelout1’ to extension ‘46000’ rejected because extension not found.

Try something like this:

exten=>_4XXXX,1,Goto(context,${EXTEN:1},1)

Cheers.

Marco Bruni
www.marcobruni.net

Thanks.

It worked like a charm.

seeing it is a local exten i left off the context and just used.

exten=>_4XXXX,1,Goto(${EXTEN:1},1)