OBiTALK Community

General Support => On-Topic: Obihai and OBi Products => Topic started by: PandaTW on February 08, 2014, 09:10:04 PM

Title: Obi110 set PSTN as default line
Post by: PandaTW on February 08, 2014, 09:10:04 PM
Hi All
    How to setup the PSTN line as the default when the phone is taken off hook?
That means I don't have to press # to go to the LINE port, when I off hook the phone.
But I still can use **1 to dail through SP1.

I had tried to set PHONE port OutboundCallRoute {ph}.
My Obi110 acts pretty strange, when I off hook the phone.


Thanks,
Best regards,
Title: Re: Obi110 set PSTN as default line
Post by: azrobert on February 08, 2014, 10:35:04 PM
The factory default for the OBi110 is the PSTN line.
That means the following:
When you take the phone off hook you hear dial tone from the OBi110.
After you dial a number like 5551212, it is routed out the PSTN line.

If you want to be connected and hear dial tone from the PSTN line when the phone is taken off hook:
Add <S2:#>| to the beginning of Physical Interfaces -> Phone Port -> DigitMap
It should look like this:
(<S2:#>|......defaults......)

The above will automatically dial # if nothing is dialed after 2 seconds.
If you want to route something to SP1 you have to start dialing **1 before 2 seconds.
If that is not enough time then change the above rule to S3.
Title: Re: Obi110 set PSTN as default line
Post by: drgeoff on February 09, 2014, 02:32:12 AM
azrobert has given a good answer.

Why did {ph} not work?  {ph} specifies the PHONE port.  You never want to use that in the PHONE port's OutboundCallRoute.  When you want to specify the PSTN port in an OutboundCallRoute you can use {li}.
Title: Re: Obi110 set PSTN as default line
Post by: PandaTW on February 09, 2014, 06:16:39 PM
Quote from: azrobert on February 08, 2014, 10:35:04 PM
The factory default for the OBi110 is the PSTN line.
That means the following:
When you take the phone off hook you hear dial tone from the OBi110.
After you dial a number like 5551212, it is routed out the PSTN line.

If you want to be connected and hear dial tone from the PSTN line when the phone is taken off hook:
Add <S2:#>| to the beginning of Physical Interfaces -> Phone Port -> DigitMap
It should look like this:
(<S2:#>|......defaults......)

The above will automatically dial # if nothing is dialed after 2 seconds.
If you want to route something to SP1 you have to start dialing **1 before 2 seconds.
If that is not enough time then change the above rule to S3.

Thanks a lot... It works~! ;D


Quote from: drgeoff on February 09, 2014, 02:32:12 AM
azrobert has given a good answer.

Why did {ph} not work?  {ph} specifies the PHONE port.  You never want to use that in the PHONE port's OutboundCallRoute.  When you want to specify the PSTN port in an OutboundCallRoute you can use {li}.
Thanks~!
I had tried {li}, it acts really strange.
But I change the DigiMap as azrobert said.
Thanks to azrobert,
It works fine now~~~~! :D