I have a set up with a couple of analogue lines as well as a SIP trunk.
When somebody dials a local number (10 digits) the call is initially routed through the POTS lines. This is already happening.
The challenging part is how to pass the call to the SIP trunk by adding a 1 in front of the number if the 2 POTS lines are in use.
Basically the challenge is that the local phone company expects 10 digits for local area codes where as the SIP provider always expects 11 digits.
Any ideas on how to achieve this would be appreciated.
Thanks.