Forums Read-only archive

Use two account ARS at different TIMES

6 posts · Brekeke PBX Forum

slaider Original post
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/ ... terns.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
peng
You can change the sipuri at dialplan using $time variable.
slaider
Is possible one example

Thanks
slaider
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)
Andrea
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
slaider
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.