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.




_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to