Author |
Message |
slaider Brekeke Member
Joined: 18 Aug 2006 Posts: 13
Location: ITA
|
Posted: Mon Oct 22, 2007 7:44 am Post subject: Use two account ARS at different TIMES |
|
|
1. Brekeke Product Name and version: 2152
2. Java version: 1506
3. OS type and the version: Win 2003
4. UA (phone), gateway or other hardware/software involved:
5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/networkpatterns.html : 1
6. Your problem:
Is possible use two Account ARS at different TIMES ?
For example :
00:00 to 12:00 ARS Account 1
12:00 to 24:00 ARS Account 2
Thanks
Bestr Regards
Pasquale |
|
Back to top |
|
peng Brekeke Guru
Joined: 20 Jul 2005 Posts: 110
|
Posted: Mon Oct 22, 2007 1:08 pm Post subject: |
|
|
You can change the sipuri at dialplan using $time variable. |
|
Back to top |
|
slaider Brekeke Member
Joined: 18 Aug 2006 Posts: 13
Location: ITA
|
Posted: Mon Oct 22, 2007 1:38 pm Post subject: |
|
|
Is possible one example
Thanks |
|
Back to top |
|
slaider Brekeke Member
Joined: 18 Aug 2006 Posts: 13
Location: ITA
|
Posted: Tue Oct 23, 2007 12:55 pm Post subject: |
|
|
Matching Patterns | $request = ^INVITE to = sip:(90.+)@ $time = ^..:[0-2] (change 30 min)
|
Deploy Patterns
Use ARS Account 2
???? (Help Me)
Matching Patterns | $request = ^INVITE to = sip:(90.+)@
|
Deploy Patterns
Use ARS Account 1
???? (Help Me) |
|
Back to top |
|
Andrea Brekeke Addict
Joined: 04 Apr 2007 Posts: 36
|
Posted: Thu Oct 25, 2007 5:15 pm Post subject: |
|
|
Hi,
How about this?
Matching Patterns | $request=^INVITE
to=sip:(90.+)@
$time=^..:[0-2] (change 30 min)
From = sip:(.*)@ |
Deploy Patterns | From = sip:user2%2@<pbx_IP_address>
target = localhost:15060 |
Matching Patterns | $request=^INVITE
to=sip:(90.+)@
From = sip:(.*)@ | Deploy Patterns | From = sip:user1%2@<pbx_IP_address>
target = localhost:15060 |
---------------------------------------------------------
In ARS Matching Pattern for user 1, set
From = sip:user1(.*)@
In ARS Matching Pattern for user2, set
From = sip:user2(.*)@
good luck,
Andrea |
|
Back to top |
|
slaider Brekeke Member
Joined: 18 Aug 2006 Posts: 13
Location: ITA
|
Posted: Sat Nov 17, 2007 5:37 am Post subject: |
|
|
Hi Andrea thanks for you info.
i start from you information and the final solution is This.
Matching Patterns | $request = ^INVITE $time = ^..:[0-2] (change 30 min) From = sip:(.*)@ to = sip:(90.+)@
| Deploy Patterns | auth=false
From = sip:User2@<pbx_IP_address>
replaceuri=true
target = localhost:15060 |
Matching Patterns | $request = ^INVITE From = sip:(.*)@ to = sip:(90.+)@
|
Deploy Patterns | auth=false
From = sip:User1@<pbx_IP_address>
replaceuri=true
target = localhost:15060 |
---------------------------------------------------------
In ARS Matching Pattern for user 1, set
From = sip:sip:User1@<pbx_IP_address>
In ARS Matching Pattern for user2, set
From = sip:User2@<pbx_IP_address>
With this little modify working fine.
Thanks to all and best regards. |
|
Back to top |
|
|