Single-Stage Dialling Using SIP: Four OBi Example
Clinic802:
Quote from: ianobi on November 22, 2012, 07:47:03 am
Quote
This example looks at the settings for OBi 1. There are four OBi devices in this network. This list shows their public IP address, router, local IP address, spX to be used for SIP dialling / receiving with corresponding UserAgentPort and userid.
@bill.ddns.me.uk – ROUTER -192.168.1.10 OBI 1 sp2 5061 userid = bill1
192.168.1.12 OBI 2 sp2 5071 userid = bill2
192.168.1.13 PhonerLite 5064 userid = billp
I don't understand the "userid", is this from the SIP credentials or another source?
Quote
Assume OBi 1 Primary Line is sp1.
Voice Services -> SP2 Service -> X_InboundCallRoute (SP2 must be configured for SIP) (OBi110):
{(Mtsc)>(<*1:>(Msp1)),(Mtsc)>(<**1:>(Msp1)):sp1},{(Mtsc)>(<*2:>(Msp2)),(Mtsc)>(<**2:>(Msp2)):sp2},
{(Mtsc)>(<*8:>(Mli)),(Mtsc)>(<**8:>(Mli)):li},{(Mtsc)>(<*9:>(Mpp)),(Mtsc)>(<**9:>(Mpp)):pp},
{(Mtsc)>**0:aa},{(Mtsc)>***:aa2},{(Mtsc)>(Mp2p):sp2},{(Mtsc)>(Msp1):sp1},{(Mtsc)>0:ph},{(Mtsc):},{ph}
Are these settings for the OBi202 / OBi 1 or for the OBI110 / OBi 2 - 3 - 4?
Quote
User Settings -> User Defined DigitMaps -> User Defined Digit MapX
Label : p2p
DigitMap : (<2*:>(@@.)<:@192.168.1.12:5071>|<3*:>(@@.)<:@anne.ddns.co:5060>|<4*:>(@@.)<:@hank.ddns.co:5061>)
Is it possible to use different DigitMap's so as to enable "Single-Stage Dialing Through Any OBi Trunk" and also "Single-Stage Dialling using SIP in another DigitMap"? http://www.obitalk.com/forum/index.php?topic=1103.0
Quote
OBi202
Voice Services -> OBiTALK Service -> InboundCallRoute : {(Mcot)>111:ph1},{(Mcot)>222:ph2},...
Would this be a practical method of choosing which phone port to dial out from on the OBi202 from the OBi110's? http://www.obitalk.com/forum/index.php?topic=3186.0
Thanks in advance for helping.
I would like to setup the OBi202 in the USA & then have OBi110's in Canada, England & Middle-Far East, either GV is not available or port 5060 is blocked.
SP1 would be GV & SP2 either Callcentric, Anveo.
Its something to do on the weekends as a hobby instead of watching re-runs.
ianobi:
Clinic802,
I’m happy to help in what should be an interesting project. I would like to think that you see it as a hobby, not just a way to get free business telecoms. We are mostly amateurs here helping each other.
I think that your first attempt should be using "Single-Stage Dialling Through Any OBi Trunk" as it is less complex and more reliable so long as the OBiTALK network carries on working. Port 5060 is not required for that set up as OBihai uses port 10000 for the OBiTALK network signalling and as users we can use any ports we wish at the local ends. Many of us change the UserAgentPort from 5060 on sp1 to other values to avoid SIP scanners etc. "Single-Stage Dialling Through Any OBi Trunk Using SIP" may be less reliable as it depends on peer to peer direct communications, which can be less reliable.
To answer your questions:
userid = AuthUserName in SPX. This is CallerID and shows as “From” or “Peer Number” in the receiving OBi Call History. It is used in the tsc DigitMap in the receiving OBi to decide if the call is from a “Trusted Caller”.
All the settings shown are from the point of view of the OBi110 owned by Bill. This is the OBi110 that makes the example call from the UK to the USA later in my posts.
Mixing "Single-Stage Dialling Through Any OBi Trunk" and "Single-Stage Dialling Through Any OBi Trunk Using SIP" could be possible in your scheme, but with limitations. The problem concerns the changes needed in the Phone Port DigitMap and the PhonePort OutboundCallRoute. You could set the OBi202 to use one scheme using Phone1 and the other scheme using Phone2. Then USA using Phone1 could make and receive calls with Canada and England. USA using Phone2 could make and receive calls with Middle – Far East. In effect it would be two separate schemes with no way for Canada and England to make and receive calls to Middle – Far East. (Except of course any OBi can call any other OBi as a normal phone call).
An OBi110 dialling into the OBi202 and out on one of the OBi202’s trunks, would not use any of the OBi202’s phone ports. The InboundCallRoute would send a call out on the trunk direct or after being processed by the relevant MspX.
Warning! This hobby will consume a great deal of time. Testing will take time and willing people at both ends. DigitMaps will need to be designed to suit each different country. I’m happy to talk general principles, but you will have a lot of work to do sorting the details :)
Clinic802:
thank you.
The "warning" should include not for the faint hearted also.
.
I have to read a little more to educate myself on the construction of the digitmaps, if you could direct me to some material, that would be appreciated.
ianobi:
This gives an overall idea of how call routing works in the OBi:
http://www.obitalk.com/forum/index.php?topic=513.msg3001#msg3001
I recommend not reading the replies after the first post until you are more experienced with the subject. If you use the search option on this forum subject "digit map" by user "RonR" you can find a lot of good information.
Usually here if you have a go and produce a DigitMap that does not quite work as planned, then someone will have a look and help out.
It would be interesting if you could post your progress here. Others can learn form the good bits and the mistakes :)
Navigation
[0] Message Index
[*] Previous page