News:

On Tuesday September 6th the forum will be down for maintenance from 9:30 PM to 11:59 PM PDT

Main Menu

Stuck on small configuration problem. Route inbound SP to LI dial tone.

Started by Jhenox, August 01, 2018, 01:54:22 PM

Previous topic - Next topic

Jhenox

Hello. I am stuck on a small problem with the configuration. I just want to route inbound from SIP (SP) to FXO trunk (LI) dial tone and not to a pre dialed number. I have searched and read through several tutorials but nothing that was described seems to work.

I have SP1 configured and working and have tested inbound and outbound dialing. LI1 is configured and working for inbound but outbound only seems to work with a predefined number. Setting X_InboundCallRoute to just LI1 immediately hangs up. I see the trunk go offhook for a moment then disconnect. If I set X_InboundCallRoute to something like LI1(<phone number>) then it works.

Any help is appreciated. Thank you.

azrobert

When you receive an inbound call the service provider passes 2 fields to the OBi. The 1st is the CallerID and the 2nd is usually your username of the trunk. When you bridge a call and just specify a destination, the OBi will use the username as the outbound number. You need to use a null field to get dial tone on a PSTN.
Try this: li('')
That's 2 single quotes.

Jhenox