Using VG to connect two OBis (to give dial tone at distant end)

(1/5) > >>

Millennium:
Hi all.

I am getting used to my new OBi's now but although I have tried to set them up for what I want to do by cobbling together bits from other threads I am stuggling!

Situation
OB110 UK
OB110 France

I can receive incoming calls from the UK to France using the standard built in call forwarding feature, but I want to get UK dial tone when I press # on the handset in France, and French dial tone when I press # on the handset in the UK.  I have posted my settings below:

I am getting a busy tone when pressing #, and my call history shows that the call is receiving a busy tone.  There is nothing in the receiving call history that ties in with these calls.

Both OBi's are set up the same unless I have indicated otherwise below.  I am using the web portal to change settings so that I can 'play' away from home.  I have a VPN tunnel between both places and can ping the devices each way.

Any help would be much appreciated.  


ITSP Profile B
ProxyServer 172.0.0.1 127.0.0.1
All other settings as per default.

Physical Interfaces - Phone

Digit Map (uk below, France is set as default for the time being but disconnect settings and other crucial settings changed for use in France).

([1-9]x?*(Mpli)|[1-9]S9|[1-9][0-9]S9|999|112|**0|***|#|**1(Msp1)|**2(Msp2)|**8(Mli)|**9(Mpp)|(Mpli)


OutboundCallRoute

{([1-9]x?*(Mpli)):pp},{(<#:>|999|112):vg1li},{**0:aa},{***:aa2},{(<**1:>(Msp1)):sp1},{(<**2:>(Msp2)):sp2},{(<**8:>(Mli)):li},{(<**9:>(Mpp)):pp},{(Mpli):vg1}

Other settings changed for UK (Caller ID etc) but should not be relevant.

Line
DigitMap
(0[1-9]xxxxxxxxx<#>S0)

Inbound call route

{vg1,ph}

Voice Service
SP2 Service
X_ServProvProfile B
X_InboundCallRoute {>(<+:>|(Mli)):li}
X_RegisterEnable unchecked

SIP Credentials
AuthUserName 44 (UK OBi) 33 (France OBi)
AuthPassword blank


Gateways and Trunk Groups
Name OB1
AccessNumber SP2(192.168.1.200:5061) (Set in UK OBi) SP2(192.168.4.200:5061) (Set in France OBi)

ianobi:
I will leave other experts to work on this one, but two observations:

ITSP Profile B
ProxyServer 172.0.0.1
Maybe just a typo - 127.0.0.1 is the normal device address.

{(<#:>|999|112):vg1}
This rule is sending your emergency calls to vg1 and on to France  :o
You probably want:
{(<#:>):vg1},{(999|112):li}

Millennium:
Thank you for the reply!!
I set up 172.0.0.1 as it was part of a 'similar' set up in another thread - but I am happy to be corrected!

- Edit: Just re-read your post - I have made a typo.  Could it be that simple?  I can't check until tonight.

As for dialling out 112/999 to France, I am currently using separate handsets attached to the OBi's so anyone using the 'normal' handsets won't have any issue.  Once I have it all set up as I want it I will configure the dial plans and then put all phones through the system.  However, now you have pointed it out I will change it!

I will also set it up so that dialling 0044 from France will automatically route through to the UK and dialling 003x, 004x, 001, 07 and some 08s from the UK will route through France as they are included in my call plan!

Millennium:
Checked last night and still no go.  I changed the OutboundCallRoute as suggested and I now get the local line when I press #.  Changed it back to as was and I get the engaged (busy) tone as before.  I guess I need to set up the syslog to see how far the call is progressing.

ianobi:
Possible Method 1
Have you considered the boring old conventional way of doing this? In this example I’m using vg3 as the numbers are easier to work with. Also, I’m assuming that your PrimaryLine = PSTN.

Physical Interfaces - Phone
([1-9]x?*(Mpli)|[1-9]S9|[1-9][0-9]S9|999|112|**0|***|#|**1(Msp1)|**2(Msp2)|**3(Mvg3)|**8(Mli)|**9(Mpp)|(Mpli)

OutboundCallRoute
{([1-9]x?*(Mpli)):pp},{(<#:>|999|112):li},{**0:aa},{***:aa2},{(<**1:>(Msp1)):sp1},{(<**2:>(Msp2)):sp2},{(<**3:>(Mvg3)):vg3},{(<**8:>(Mli)):li},{(<**9:>(Mpp)):pp},{(Mpli):pli}

DigitMap(Mvg3)
(0033xx.)

Now by dialling **3 followed by any number starting 0033 (code for France), that number will be sent out unchanged to vg3. Change Mli:

Line DigitMap
(0[1-9]xxxxxxxxx<#>S0)|<**3>(Mvg3))

Now any call starting 0033 will go to vg3 with no need for the **3.

If you would like the numbers to go out in French national format, but still dial in international format, then this should work:

DigitMap(Mvg3)
(<0033:0>xx.)


Possible Method 2
OK, enough of the boring normal ways of doing things  :)

If you wish to be unconventional (as many are on this forum!):

Physical Interfaces - Phone
([1-9]x?*(Mpli)|[1-9]S9|[1-9][0-9]S9|999|112|**0|***|#{t=di2}(Mvg1)|**1(Msp1)|**2(Msp2)|**8(Mli)|**9(Mpp)|(Mpli)

This rule “#{t=di2}(Mvg1)” means when you press # you will hear a second dial tone and allows numbers that match Mvg1. This is your “pretend” French dial tone.

OutboundCallRoute
{([1-9]x?*(Mpli)):pp},{(999|112):li},{**0:aa},{***:aa2},{(<**1:>(Msp1)):sp1},{(<**2:>(Msp2)):sp2},{(<#:>(Mvg1)):vg1},{(<**8:>(Mli)):li},{(<**9:>(Mpp)):pp},{(Mpli):pli}

This rule {(<#:>(Mvg1)):vg1} is needed to remove the # and then send out numbers that match Mvg1 to vg1.

Leave Line DigitMap as you had originally.

Using this method I guess that after pressing # and getting second dial tone, then you will be dialling numbers in French national format and sending them via vg1 to the French Obi.

Mvg1 has to be quite specific to prevent conflicts with Mli. Luckily, I believe all French national numbers are ten digits starting with 0 So:

DigitMap(Mvg3)
(0xxxxxxxxx)

The only downside to the unconventional method is that you will lose the function of pressing # to bridge the phone port to the line port in each Obi. You could invent another way of doing this, but that’s a step too far for me today  :)

The above still leaves quite a lot to sort out, but hopefully will give you ideas of how you want to progress. Let us know how you get on!

Navigation

[0] Message Index

[#] Next page