Uk isdn etsi

We had our ISDN upgraded from DASS to ISDNe (ETSI) yesterday and now finding that all incoming CallerID’s are missing the leading 0. For example someone calling from 04387887999 shows as 4387887999

I have been informed that this is a feature and that I have to add it on myself.

I can’t see how to add a 0 onto the incoming callerid. If i put a number into CID name prefix i get 0:987654

Any thoughts?


One way is to make a custom context as follows and send the inbound calls to it.


exten => _.,1,Set(CALLERID(number)=0${CALLERID(number)})
exten => _.,n,goto(from-pstn,${EXTEN},1)

(for international calls in the UK, you would need to add a condition to 001 not 0 to call them back, so change the _. to an explicit match and add more to suit what comes in)

Hi dicko

That’s very interesting and may come in handy for something else!

However, I was experimenting yesterday and found that putting the following into chan_dahdi.conf works a treat! (so far)