>> But then you create phonenumbers in enum, which doesn't exist as 
>> pstn-numbers.
>>
>> Not the idea behind enum.
>>
>> On the other hand, if you owned 10 or 100 pstn-numbers in series, you 
>> could get the last one or two digits delegated to your dns-server.
>>
>Why do I create numbers in enum which doesn't exist as pstn ?
>
>A simple example:
>
>My "pstn number" is +43-1-1234567. Everybody around the world can call
>me using this number.
>Lets say, I have 3 extensions: 0=reception, 10=secretary, 20=boss.
>
>If someone calls

>ENUMLOOKUP(+4311234567) he will get a uri "sip:0...@ip.of.my.asterisk"
>ENUMLOOKUP(+43112345670) he will get a uri "sip:0...@ip.of.my.asterisk"
>ENUMLOOKUP(+431123456710) he will get a uri "sip:s...@ip.of.my.asterisk"
>or "sip:1...@ip.of.my.asterisk" (which ever you prefer)
>ENUMLOOKUP(+431123456720) he will get a uri "sip:b...@ip.of.my.asterisk"
>or "sip:2...@ip.of.my.asterisk"

>All this numbers exist because they connect to different persons. Why
>shouldn't that be the idea behind enum?

But if a pstn or cell call +431123456720 will it be connected to +4311234567 ? 
Or will the call fail?
If so, +431123456720 is an invalid number.

Leif
_______________________________________________
-- 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