December 08, 2019, 11:00:37 am *
Welcome, Guest. Please login or register.
News:
 
   Forum Home   Search Login Register OBiTALK  
Pages: [1]
  Print  
Author Topic: Need help with inbound call route and digit map formating  (Read 1418 times)
larrybob
Full Member
***
Posts: 116


« on: January 12, 2012, 07:07:09 pm »


I have the following tested and working:

(<61:>xxxxxxxx):aa($1)}

when a caller calls the PTSN line and hangs up after one ring, The caller id is transformed by the digit map and is the number is called back without the 61( only if it starts with 61)

For example if a cell phone calls in its caller id will show up as 6130480754
and the call back number used will be 3048 0754. The above rule will match the starting digits of 61 then strip them off. (This is needed so the AA can return a local call on the PSTN Line) THIS IS WORKING PERFECTLY!

For an auto call back from the AA on the PTSN line for an out of state call , the call needs to be handled in a very different way. Now the two digit area code needs to be kept, and additionally appended, with 041

I believe this rule will do this for any number that does not start with 61.

(<041>([1-5789][02-9]xxxxxxxx)

My Question is how to correctly combine these two rules?

This is my guess ( But I am not sure if I have the parentheses correct):


{(<041>([1-5789][02-9]xxxxxxxx)|(<61:>xxxxxxxx)):aa($1)}


It Is very hard for me to test this in Brazil because of the time difference and the difficulty in reaching people to have them call...

Any Help will be appreciated

Larry

Logged
RonR
Hero Member
*****
Posts: 4527


« Reply #1 on: January 12, 2012, 07:24:34 pm »

I think this is sufficient:

{(<61:>xxxxxxxx|<041>xxxxxxxxxx):aa($1)}

Any 10-digit number beginning with 61 will have the 61 stripped.  All others with have 041 prepended.
« Last Edit: January 12, 2012, 07:59:13 pm by RonR » Logged
larrybob
Full Member
***
Posts: 116


« Reply #2 on: January 12, 2012, 09:09:36 pm »

Your the best Ron! Thanks!

Ron I would also like to limit the Auto call back and the AA access to a list of numbers
Back on December 23 you explained a nice way to do this for simply limiting who would be allowed to Reach the AA or Get AA call back :

______________________________________
"If you have 5 trusted callers that you want to be routed to the Auto Attendant with the option of being called back if they hang up before the Auto Attendant answers, simply make the following InboundCallRoute rule and don't bother with the OBiTALK Web Portal Cirle-of-Trust:

InboundCallRoute : {(12341111111|12342222222|12343333333|12344444444|123455555555):aa($1)}

You can make it even nicer to maintain by using the following InboundCallRoute rule instead:

InboundCallRoute : {(Maac):aa($1)}

and putting all your trusted Auto Attendant Callback numbers in a User Defined DigitMap:

User Settings -> User Defined Digit Maps -> User Defined Digit MapX
Label : aac
DigitMap : (12341111111|12342222222|12343333333|12344444444|123455555555)

Posted by Ron R Dec 23"
_____________________________________________

 Here is my in bound call route now :
{(<61:>xxxxxxxx|<041>xxxxxxxxxx):aa($1)}

As you indicated on Dec 23, I would first created My User defined digit Map:
User Settings -> User Defined Digit Maps -> User Defined Digit MapX
Label : aac
DigitMap : (6112344321|6112342222|6612343333|6612344321|211234321)

Would I change the above inbound call route to :
{(<61:>(Macc)|<041>(Macc)):aa($1)}

or
{((Macc)|<61:>xxxxxxxx|<041>xxxxxxxxxx):aa($1)}

or
: {(Maac):aa($1)},{(<61:>xxxxxxxx|<041>xxxxxxxxxx):aa($1)}

or something Different??

Larry




_____________________________________________________________
« Last Edit: January 12, 2012, 10:26:00 pm by larrybob » Logged
RonR
Hero Member
*****
Posts: 4527


« Reply #3 on: January 12, 2012, 11:19:23 pm »

I think you'll need two lists, one for numbers starting with 61, and another for the out-of-state numbers.


The Auto Attendant callback rule becomes:

{(<61:>(Maa1)|<041>(Maa2)):aa($1)}


The aa1 list would contain all the '61' numbers with the '61' removed because the '61' is part of the callback rule:

User Settings -> User Defined Digit Maps -> User Defined Digit MapX
Label : aa1
DigitMap : (12341111|12342222|12343333)


The aa2 list would contain all the non '61' numbers:

User Settings -> User Defined Digit Maps -> User Defined Digit MapY
Label : aa2
DigitMap : (6612347777|6712348888|6812349999)


Callers in either of these lists that hang up before the Auto Attendant answers will get a callback.  If they don't hang up, the Auto Attendant will answer their call.


If you want a third category of callers who unconditionally get the Auto Attendant with no option of a callback, put this rule before the Auto Attendant callback rule:


{(Maa3):aa}


User Settings -> User Defined Digit Maps -> User Defined Digit MapZ
Label : aa3
DigitMap : (6112345555|6712346666)
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC