Phil Blundell
2006-Jan-31 09:52 UTC
[Asterisk-Users] international caller id on UK (BT) PRI
When a call arrives on our PRI from a UK domestic number, the presented caller ID looks something like "1223123456". In my dialplan, I stick "90" on the front in order to turn this into a valid number for outward dialling, and everything works fine. However, when a call comes in from an international number, I need to add an extra zero -- that is, "491234123456" needs to have "900" added on the front to make it valid. Is there some Asterisk variable I can inspect to find out whether the presented CLI is using a national or international number plan? thanks p.
Steve Davies
2006-Feb-01 03:44 UTC
[Asterisk-Users] international caller id on UK (BT) PRI
Try the following in "zapata.conf" internationalprefix=900 nationalprefix=90 Which should do this for you unless your provider is not supplying the correct indicator. Regards, Steve On 1/31/06, Phil Blundell <pb@reciva.com> wrote:> When a call arrives on our PRI from a UK domestic number, the presented > caller ID looks something like "1223123456". In my dialplan, I stick > "90" on the front in order to turn this into a valid number for outward > dialling, and everything works fine. > > However, when a call comes in from an international number, I need to > add an extra zero -- that is, "491234123456" needs to have "900" added > on the front to make it valid. Is there some Asterisk variable I can > inspect to find out whether the presented CLI is using a national or > international number plan? > > thanks > > p. > > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >