I also asked the telecom provider but they were not very helpful and couldn't (or didn't wish to) give me any information as to the technical details.
I'll hunt on...
P
Robinson Tim-W10277 wrote:
You just need to do something like
exten => _9.,1,Dial(Zap/g1/1666$CALLERIDNUM${EXTEN:1})
You can also do some useful translations like
exten => _9[2-8]XXXXXX,1,Dial(Zap/g1/1666$CALLERIDNUM0113${EXTEN:1})
This will look for 9, then a local number beginning 2,3,4,5,6,7,8 , and dial out the extension number, followed by the 0113 area code.
You will need to make sure that 999 and 112 go direct to BT by using another line in the extensions file. E.g. exten => 9999,1,Dial(Zap/g1/999) exten => 9112,1,Dial(Zap/g1/112)
And probably
exten => 999,1,Dial(Zap/g1/999)
Just to be on the safe side!
You could also write a little macro to kick another user off their call to allow the emergency call to get priority.
There is just so much cool stuff you can do. But do test well!
Rgds Tim
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter Hoppe Sent: 25 November 2004 13:34 To: [EMAIL PROTECTED] Subject: [Asterisk-Users] Billing (itemized) in the UK
If the protocol is correct, I could construct a dial command such as
exten => _9.,1,Dial(Zap/g1/1666<ID>${EXTEN:1})
or so - I would just need a way to construct <id> - and then any caller
from an inside device would just prepend a '9' before the real number. I probably would also bar
simple '9' dialling to get an outside line... lets see.
_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
-- There are 10 kinds of people in the world, those who understand binary, and those who don't.
_______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
