Hi Mahim,
Can you please post your inbound context from extensions.conf ?
You should be able to adjust the number before passing it to the a2billing AGI script eg:
Code:
[did-eire-inbound]
exten => _353X.,1,NoOp(Inbound call from ${CALLERID(num)} to ${EXTEN})
same => n,GoTo(did-inbound,0${EXTEN:3},1)
same => n,Hangup()
[did-inbound]
exten => _X.,1,NoOp(Inbound call from ${CALLERID(num)} to ${EXTEN})
same => _X.,n,Agi(/usr/share/asterisk/agi-bin/a2billing.php,1,did)
same => h,1,Hangup()
Ireland DID's should match the _353X dialplan before the _X. catch all, the second line will then pass these calls through to the standard did-inbound context prefixed with a 0 and with the first 3 digits of the extension removed (Reference The second argument in the Goto)
http://www.voip-info.org/wiki/view/Asterisk+cmd+Goto