Configuring an Obi 100/110 device to act as a FreePBX Extension

Set-up an Extension in FreePBX

Set-up an extension on your FreePBX just like you’d set-up any other extension.  Make a note of the extension # and password, as you'll need them for the next step.

Set-up the Obi Device

Once you’ve determined the IP Address of your FreePBX and your extension # and your extension password, you can configure the Obi 110 device using its web interface as follows:

 

Service Providers:

   ITSP Profile A:

      General:

         General:

            DigitMap: 

(911S0|1xxxxxxxxxxS0|011xx.S2|xx.S2|xS2|xxS2|*X.S2|(Mipd)|[^*#]@@.)

(911S0|1xxxxxxxxxxS0|011xx.S2|xx.S2|xS2|xxS2|*X.S2|(Mipd)|[^*#]@@.)

Notes: 

The standard Obi 110 “DigitMap” will allow you to dial calls from your FXS Port that are 3 digits or longer, and will put the call through after three seconds.  It will also automatically add "1" to the beginning if you dial an area code and telephone number.

These behaviors may be undesirable.  Some people prefer to have calls go out after 2 seconds, or immediately.  In addition, PBX users often want to be able to dial one and two digit extension numbers, or feature codes that begin with an asterisk.  Finally, some telephone companies that require the dialing of area codes for local calls do not allow the calls to be prefixed with a "1". 

The Digit Map above eliminates the prefixing of calls with a 1, forces calls to 911 and to 1+Area Code+Number to go out immediately, sends all other calls out after 2 seconds of inactivity, and allows the dialing of feature codes starting with asterisk and one and two-digit extensions.

Note that the "S0" and "S2" in the digit map reflect how long the Obi will wait after receiving a matching pattern before putting the call through.  In the above-example, most calls will go through 2 seconds after dialing is completed, but a 1 + area code + number call will go through immediately without waiting for further digits.  You can change the numbers after the S to whatever delay suits your needs.  For example, if you change 011xx.S2 to 011xx.S5, then the device will wait 5 seconds before putting through a call that begins with 011.  Obi will always put a call through immediately if you dial # when you are finished dialing.

 

Service Providers:

   ITSP Profile A:

      SIP:

         SIP:

            Proxy Server:  IPAddressofYourPBX

            ProxyServerPort: SIP_Port

            X_UseRefer:  Checked

            X_MWISubscribe:  Checked

 

Voice Services:

   SP1 Service:

      SP1 Service:

         X_ServProvProfile:  A

      SIP Credentials:

         AuthUserName:  EXTENSION# 

         AuthPassword:   EXTENSIONPASSWORD

      Calling Features:

         MaxSessions:  10

Notes:  You can change the above to something less than 10 if security is an issue.  The default of 2, however, will block you from making any calls if you transfer a call using the "flash" hook feature until the persons on those calls hang up.  Ten should be more than enough, but you can also increase it if you prefer.

         MWI Enable:  Checked

         X_VMWIEnable:  Checked

         MessageWaiting:  Unchecked, but undefaulted

Voice Services:

   SP2 Service:

      SP2 Service:

         X_ServProvProfile:  B

Note:  The above is necessary to prevent SP2 service from attempting to utilize ITSP A.  For some reason, even if SP2 is disabled, it will still attempt to subscribe to the MWI feature from Port 5061, causing error messages to show up in the Asterisk Logs.

Physical Interfaces:

   Phone Port

      Phone Port

         OutboundCallRoute: 

If you have a phone line plugged into the Line Port, then no changes are necessary.  By default, the Obi will route 911 calls to the phone line and NOT to your PBX.  If you want to change this behavior, then find the part of this entry that reads:

{(<#:>|911:li}

and change it to

{(<#:>|911:sp1}

or just delete {(<#:>|911:li} from the OutboundCallRoute altogether.

This will route 911 calls through the Asterisk PBX instead of routing it directly to the Line Port.

         Primary Line:  SP1 Service

      Calling Features: 

         StarCodeProfile:  None

Return to Documentation Home I Return to Sangoma Support