> > 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. > > 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 > > 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:[email protected]" ENUMLOOKUP(+43112345670) he will get a uri "sip:[email protected]" ENUMLOOKUP(+431123456710) he will get a uri "sip:[email protected]" or "sip:[email protected]" (which ever you prefer) ENUMLOOKUP(+431123456720) he will get a uri "sip:[email protected]" or "sip:[email protected]" All this numbers exist because they connect to different persons. Why shouldn't that be the idea behind enum? Norbert _______________________________________________ -- 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
