Re: [Asterisk-Users] working with big blocks of msn's

2004-12-16 Thread Martin List-Petersen
On Thu, 2004-12-16 at 19:04, Sebastian Buntin wrote:
 Hi!
 
 I have to Set up an asterisk Server with a Diva Server PRI E1-30M.
 Capi, asterisk, etc. everythink works.
 my problem is the handling of the MSN's.
 say, we have the block (without area-code..) 4321-0 to 4321-4999
 between this numbers (including em) every MSN is possible.
 do I have to add all MSN's i need (several hundrets) to the capi.conf?

No, you add the following lines instead: 
incomingmsg=*
msn=4321
isdnmode=ptp

incomingmsn or msn in capi.conf would not work with more than 5 or 6
numbers. Anyhow this is actually in the common sample of capi.conf.
Please check that again.

 then the routing to SIP-Phones shall be based on the MSN-Configuration.
 
 means, if someone dials 4321-1000 the call shall go to SIP/boss
 and 4321-1001 to SIP/secretary
 and so on.
 
 is this just by adding an
 exten = 1000,1,Dial(SIP/boss)
 to the context set in the /etc/asterisk/capi.conf?

context in capi.conf only points to a context in extensions.conf
The exten = line goes into the context in extensions.conf

 and what to do, so that, if the boss calls out the MSN of the secretary
 is shown?
 and if the secretary calls out also their MSN is shown?

exten _XXX.,1,Dial(CAPI/:${EXTEN})

Where  is the MSN you want to dial (including prefix here).

 
Slán leat,
Martin List-Petersen
Dublin, Eire 
(contact info on -- http://www.marlow.dk/)

___
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


[SPAM] Re: [Asterisk-Users] working with big blocks of msn's

2004-12-16 Thread Sebastian Buntin

On 16.12.2004  Martin List-Petersen Wrote
[EMAIL PROTECTED]:

 then the routing to SIP-Phones shall be based on the MSN-Configuration.
 
 means, if someone dials 4321-1000 the call shall go to SIP/boss
 and 4321-1001 to SIP/secretary
 and so on.
 
 is this just by adding an
 exten = 1000,1,Dial(SIP/boss)
 to the context set in the /etc/asterisk/capi.conf?

context in capi.conf only points to a context in extensions.conf
The exten = line goes into the context in extensions.conf

ah yes, stupid me. I meant extensions.conf.
so, what to put in the extens = ?
like I wrote above? or do I have to write the full MSN here?
exten = 1000,1,Dial(SIP/boss)
or
exten = 43211000,1,Dial(SIP/boss)
or something completely different?

thanks again!
___
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


[Asterisk-Users] working with big blocks of msn's

2004-12-16 Thread Sebastian Buntin

Hi!

I have to Set up an asterisk Server with a Diva Server PRI E1-30M.
Capi, asterisk, etc. everythink works.
my problem is the handling of the MSN's.
say, we have the block (without area-code..) 4321-0 to 4321-4999
between this numbers (including em) every MSN is possible.
do I have to add all MSN's i need (several hundrets) to the capi.conf?

then the routing to SIP-Phones shall be based on the MSN-Configuration.

means, if someone dials 4321-1000 the call shall go to SIP/boss
and 4321-1001 to SIP/secretary
and so on.

is this just by adding an
exten = 1000,1,Dial(SIP/boss)
to the context set in the /etc/asterisk/capi.conf?

and what to do, so that, if the boss calls out the MSN of the secretary
is shown?
and if the secretary calls out also their MSN is shown?

thank you for helping!

Sebastian
___
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