Digitmap or OutboundCallroute to control what SP to use

<< < (2/3) > >>

ianobi:
This is a perfectly valid rule: <**2>01144xx. in the ITSP Profile A -> General > Digitmap setting. It is the rule that prepares the number to be sent out on sp2.

The rule that is actually sending the call out to sp2 is: {(<**2:>(Msp2)):sp2} in the Physical Interfaces > Phone1 Port > OutboundCallRoute.

In the Physical Interfaces > Phone1 Port > OutboundCallRoute, if you delete the rule {<**2>01144xx.} the call will still go out to sp2.

You are doing exactly the correct thing in the DigitMap, but there is no need to do anything in the OutboundCall Route.




ianobi:
Hortoristic has highlighted a very useful DigitMap feature, so it’s worth some more explanation of why it works.

If a plain number (with no **1, **2 etc) is dialled from the Phone Port, the Phone Port OutboundCallRoute will process it using Mpli (Map Primary Line). In the case of the Obi202 at default settings, Mpli = Msp1 because Phone Port Primary Line is set to sp1 Service.

Also remember that by default ITSP Profile A > General > Digitmap = Msp1 as Service Provider 1 is located on  ITSP Profile A.

In our example dialling numbers starting 01144 will be matched by the rule <**2>01144xx. in Msp1. This prepends **2 to any number starting 01144. The Phone Port OutboundCallRoute will now send this call to sp2, after removing the **2 using the rule {(<**2:>(Msp2)):sp2}.

This means that redirecting numbers can be achieved for all numbers dialled by using your Mpli. The Mpli acts like a telephone exchange looking at the numbers and prepending the correct ** code for the OutboundCallRoute to send the call out on the correct trunk. Using this method there is no need for the user to use ** codes when dialling.

This does rely on your DigitMaps being sufficiently different from each other for Mpli to sort the numbers.

That’s probably enough of me rambling on about DigitMaps for now  :)

roberthuang:
Hi, I've got a problem with the call route and hopefully I can get an answer here.

I've configured SP1 on Phone1, checked this SP1 for both "Make This Service the Primary Line to Call Out From Phone1" and "Incoming Calls Will Ring On Phone1". SP1 is my main phone line and I don't want to play any fancy stuff with it.

I've also configured SP2 and SP4 on Phone2, checked this SP2 for both "Make This Service the Primary Line to Call Out From Phone2" and "Incoming Calls Will Ring On Phone2".  I'd like to configure the Auto Attendant on SP2 to get a second dial tone. SP4 is the google voice. When I dial new york (718) or Seattle (425), the phone routes to SP4.

ITSP Profile A > General > Digitmap
(<416:1416>xxxxxxx|<647:1647>xxxxxxx|<905:1905>xxxxxxx|<289:1289>xxxxxxx|1xxxxxxxxxx|<1>[2-9]xxxxxxxxx|011xx.|xx.|(Mipd)|[^*#]@@.)

ITSP Profile B > General > Digitmap
(<416:1416>xxxxxxx|<647:1647>xxxxxxx|<905:1905>xxxxxxx|<289:1289>xxxxxxx|1xxxxxxxxxx|<1>[2-9]xxxxxxxxx|<**4>1718xxxxxxx|<**4>1425xxxxxxx|<**3>011xx.|xx.|(Mipd)|[^*#]@@.)

Physical Interfaces > Phone1&2 Port > DigitMap
([1-9]x?*(Mpli)|[1-9]S9|[1-9][0-9]S9|911|**0|***|#|**8(Mbt)|**1(Msp1)|**2(Msp2)|**3(Msp3)|**4(Msp4)|**9(Mpp)|(Mpli))

Physical Interfaces > Phone1&2 Port > OutboundCallRoute
{911:sp1},{([1-9]x?*(Mpli)):pp},{(<#:>):ph1},{(<**8:>(Mbt)):bt},{**0:aa},{***:aa2},{(<**1:>(Msp1)):sp1},{(<**2:>(Msp2)):sp2},{(<**3:>(Msp3)):sp3},{(<**4:>(Msp4)):sp4},{(<**9:>(Mpp)):pp},{(Mpli):pli}

I enabled "Auto Attendant 1", specified "SP2 Service" as the PrimaryLine.

When I call SP2, press 1 to continue this call. Both Phone1 and Phone2 ring. If I press 2 to make a new call 416xxxxxxx, the caller shows SP1 is calling, not SP2.

Obi202 call log shows "From AA1   Fork to: PH1 PH2". I'd like only Phone2 ring when I press 1 because I'm calling SP2 that is configured on Phone2. When I press 2, I'd also like the called party to see SP2 or SP4 depending on the destination is the caller, has nothting the SP1.

I must have missed some configuration for the phone2 port's DigitMap or OutboundCallRoute(I left it as default). Please help. Thanks a lot.

Robert

ianobi:
The auto attendant has its own OutboundCallRoute. When you press 1 to continue this call this rule is used {0:ph,ph2}. You could change it to {0:ph2} to only ring phone 2. However, that will apply to any calls coming in from any trunks and pressing 1 to continue the call.

Try a few changes and post back. I'm away for a day or two, but I'll pick it up again when I get back if it's still a live issue.

roberthuang:
Thanks ianobi for your reply.

My SP1 is the primary line for Phone1 and SP2 is the primary line for Phone2. Both SP1 and SP2 are SIP.

I configured the CallWithUs as voice gateway 6. also configured the DigitMap and OutboundCallRoute under Physical Interfaces - Phone 2.  The problem is, whenever I use this gateway to make an outbound call, the 3rd party always see my SP1 number, not SP2 number.

The call log shows below
21:07:50   From PH2   To SP2(1647302xxxx@sip.callwithus.com)

Physical Interfaces - Phone2
DigitMap
([1-9]x?*(Mpli)|[1-9]S9|[1-9][0-9]S9|911|**0|***|#|**8(Mbt)|**1(Msp1)|**2(Msp2)|**3(Msp3)|**4(Msp4)|**6(Mvg6)|**9(Mpp)|(Mpli))
OutboundCallRoute
{911:sp1},{([1-9]x?*(Mpli)):pp},{(<#:>):ph2},{(<**8:>(Mbt)):bt},{**0:aa},{***:aa2},{(<**1:>(Msp1)):sp1},{(<**2:>(Msp2)):sp2},{(<**3:>(Msp3)):sp3},{(<**4:>(Msp4)):sp4},{(<**6:>(Mvg6)):vg6},{(<**9:>(Mpp)):pp},{(Mpli):pli}

How can I make the callee see my SP2 number, not SP1 number? Thanks again.

Navigation

[0] Message Index

[#] Next page

[*] Previous page