Re: [asterisk-users] Define an array of sip number in sip.conf

2010-03-19 Thread Leif Madsen
Zeeshan Zakaria wrote: You'll have to type them all in manually. Or do what I did several times, write a script in php which will generate the sip.conf with that many extensions. Even better look into using realtime architecture, where you can quickly generate as many extensions as you

Re: [asterisk-users] Define an array of sip number in sip.conf

2010-03-19 Thread Zeeshan Zakaria
Good idea Leif. On 2010-03-19 10:16 AM, Leif Madsen leif.mad...@asteriskdocs.org wrote: Zeeshan Zakaria wrote: You'll have to type them all in manually. Or do what I did several times... Using the script approach, you can generate many extensions with an #exec in sip.conf which will then

[asterisk-users] Define an array of sip number in sip.conf

2010-03-18 Thread huu giang
Hi List, How can I define an array of sip number in sip.conf ? I want to define an array of sip number from 1000 to 2000, so I can make a performance test on Asterisk using sipp. Thanks in Advance, Giangnh -- _ --

Re: [asterisk-users] Define an array of sip number in sip.conf

2010-03-18 Thread Zeeshan Zakaria
You'll have to type them all in manually. Or do what I did several times, write a script in php which will generate the sip.conf with that many extensions. Even better look into using realtime architecture, where you can quickly generate as many extensions as you like. On 2010-03-18 10:09 PM, huu