[asterisk-users] Outgoing CallerID for KPN in Belgium

2009-06-24 Thread Bart Coninckx
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


Re: [asterisk-users] Outgoing CallerID for KPN in Belgium

2009-06-24 Thread Rob Hillis
Bart Coninckx wrote:
 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?

Your best bet is to ask your telco what caller ID format you should be
presenting.  Asterisk is obviously working as expected, but for whatever
reason the telco is either not accepting the right format, or not
processing the presented caller ID correctly.


___
-- 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