Hello,
I’ve created a call file that receives the phone number of our customer on a website.
Here’s the format:
Channel: Local/".$_POST[‘phonenumber’]."@from-internal/n
MaxRetries: 3
RetryTime: 5
WaitTime: 15
Context: websitecallback
Extension: 2
Now, here’s the situation.
We call landlines and mobiles in this country
Format for landlines is 02 XXX XXXX
Format for mobiles is 09XX XXX XXXX
We have two sip trunks
When we need to call the landlines, we use the sip trunk #1
We can also use sip trunk #1 for mobile calls as well and they’re clear, but they’re expensive.
When we need to call the mobiles, we use the sip trunk #2
Back to the callfiles, when you pass them through from-internal, the calls go the way we want them to. Landlines go through sip trunk #1 and mobiles go through sip trunk #2. Here’s my question:
How can I make all calls (mobile and landline) of these callfiles go through sip trunk #1?
Please help!
Regards,
Mark