[asterisk-users] Outgoing CallerID for KPN in Belgium

Bart Coninckx bart.coninckx at telenet.be
Wed Jun 24 06:01:01 CDT 2009


Hi, 

I'm using a ISDN-30 E1 line from KPN Belgium.

The challenge is to get a correct CallerID on outgoing lines.

When I put this in my dialplan:

exten => _0.,1,Set(TEMPVAR=${CALLERID(num):1})
exten => _0.,2,Set(CALLERID(num)=144622${TEMPVAR})
exten => _0.,3,NoOp(${CALLERID(num)})
exten => _0.,4,Dial(Zap/g1/${EXTEN:1},,)

The resulting CallerID is accepted by the telco, but on phones it shows for instance as:
+14462241, whereas it should be +3214462241. So it seems the telco adds a "+". I've tried to then use:

exten => _0.,2,Set(CALLERID(num)=32144622${TEMPVAR})

but the telco seems not to accept this since it sends the general CallerID out. 

Any clues on what I need to change to get this working? Is it something in zapata.conf? Is it related to nationalprefix and internationalprefix?


Thank you!

B.






More information about the asterisk-users mailing list