FreePBX outbound routes
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > WebserverTalk Community > Voice Over IP > Voice Over IP in UK > FreePBX outbound routes




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    FreePBX outbound routes  
Jono


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-25-07 12:11 AM

I'm getting in a muddle!

I have set up the following trunks:

mobile - making use of an SPA3102 & a GSM gateway
ZAP - 4 channels of BRI

I can make/receive calls on any of the 5 lines.

I am wanting to force the first 07 call over the mobile trunk. Any
other simultaneous 07 calls should then go out via the ISDN.

In addition, any calls that do not begin 07, should always go over the
ISDN.

I have two outbound routes as follows:

Mobile with 907. being the Dial Pattern
Trunk sequence being mobile then Zap

In the mobile trunk, the dial rule is 9|. which strips the 9 and dials
the rest of the mobile number over the GSM & it works fine.

ISND2e with 9|. being the Dial Pattern
Trunk sequence being just Zap

In the ZAP trunk, the dial rules are . and 9|.

So, any calls starting 07 go out correctly on the GSM gateway. Any
other calls go out correctly on the ISDN........BUT.......if a second
simultaneous call to a mobile is made, I get engaged.

It seems, even though I have set the maximum channels to 1 in the
mobile trunk, FreePBX trys sending the 2nd 07 number over (the already)
in use trunk. Either that, or I've got the outbound routes' Dial
Patterns &/or trunk Dial Rules wrong....

Unfortunately, I don't have access to the CLI, & I'm remote from the
machine & just have web access to FreePBX...

Anyone able to shed any light on my predicament?







[ Post a follow-up to this message ]



    Re: FreePBX outbound routes  
Linker3000


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-25-07 12:11 AM

Jono wrote:
> I'm getting in a muddle!
>
> I have set up the following trunks:
>
> mobile - making use of an SPA3102 & a GSM gateway
> ZAP - 4 channels of BRI
>
> I can make/receive calls on any of the 5 lines.
>
> I am wanting to force the first 07 call over the mobile trunk. Any other
> simultaneous 07 calls should then go out via the ISDN.
>
> In addition, any calls that do not begin 07, should always go over the
> ISDN.
>
> I have two outbound routes as follows:
>
> Mobile with 907. being the Dial Pattern
> Trunk sequence being mobile then Zap
>
> In the mobile trunk, the dial rule is 9|. which strips the 9 and dials
> the rest of the mobile number over the GSM & it works fine.
>
> ISND2e with 9|. being the Dial Pattern
> Trunk sequence being just Zap
>
> In the ZAP trunk, the dial rules are . and 9|.
>
> So, any calls starting 07 go out correctly on the GSM gateway. Any other
> calls go out correctly on the ISDN........BUT.......if a second
> simultaneous call to a mobile is made, I get engaged.
>
> It seems, even though I have set the maximum channels to 1 in the mobile
> trunk, FreePBX trys sending the 2nd 07 number over (the already) in use
> trunk. Either that, or I've got the outbound routes' Dial Patterns &/or
> trunk Dial Rules wrong....
>
> Unfortunately, I don't have access to the CLI, & I'm remote from the
> machine & just have web access to FreePBX...
>
> Anyone able to shed any light on my predicament?
>
>
Can you not have a look at the 'last 2000 lines' of the log to see
what's happening?

Not a CODEC issue is it? <--- Wild guess!






[ Post a follow-up to this message ]



    Re: FreePBX outbound routes  
David Quinton


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-25-07 12:11 PM

On Tue, 24 Jul 2007 22:57:06 +0100, Jono <nothanks@blueyonder.invalid>
wrote:

>I'm getting in a muddle!

I've only been playing for a few weeks, so am no expert.

But in your Outoing Zap trunk do you have the Group or just a Channel
set in Zap Identifier (trunk name)

"ZAP channels are referenced either by a group number or channel
number (which is defined in zapata.conf).

The default setting is g0 (group zero)."
--
Locate your Mobile phone: <http://www.bizorg.co.uk/news.html>
Great gifts: <http://www.ThisBritain.com/ASOS_popup.html>





[ Post a follow-up to this message ]



    Re: FreePBX outbound routes  
Paul Hayes


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-25-07 12:11 PM

Jono wrote:
[snip]
>
> Anyone able to shed any light on my predicament?
>
>

You dial rules need to be more specific.  I have a feeling that your
dial rule of . followed by 9|. in the ZAP trunk is trying to dial (for
example) 907454555667 because you strip the 9 off the number in the ISDN
Outbound route but not the mobile route.

The usual way I'd set this is:

Mobile Outbound Route:

- Dialling rules: 07xxxx. and 9|07xxxx.
- trunk seq: mobile followed by ISDN

Mobile Trunk (to GSM gateway):

- dial rule: 07xxxx.
- max channels: 1

Other numbers Outbound Route:

- Dialling rules: 0zxxxxxx. and 9|0zxxxxxx.
- trunk seq: ISDN

ISDN trunk:

- dial rule: 0zxxxxxx.
- max channels 8 (assuming all 4 BRI lines are active).

Which will cover dialling mobile and other 11 digit UK numbers.

cheers,
Paul.

--
Working Email:

paul-at-polog40-dot-co-dot-uk





[ Post a follow-up to this message ]



    Re: FreePBX outbound routes  
Jono


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-25-07 06:11 PM

Paul Hayes pretended :
> Jono wrote:
> [snip] 
>
> You dial rules need to be more specific.  I have a feeling that your dial
> rule of . followed by 9|. in the ZAP trunk is trying to dial (for example)
> 907454555667 because you strip the 9 off the number in the ISDN Outbound
> route but not the mobile route.
>
> The usual way I'd set this is:
>
> Mobile Outbound Route:
>
>   - Dialling rules: 07xxxx. and 9|07xxxx.
>   - trunk seq: mobile followed by ISDN
>
> Mobile Trunk (to GSM gateway):
>
>   - dial rule: 07xxxx.
>   - max channels: 1
>
> Other numbers Outbound Route:
>
>   - Dialling rules: 0zxxxxxx. and 9|0zxxxxxx.
>   - trunk seq: ISDN
>
> ISDN trunk:
>
>   - dial rule: 0zxxxxxx.
>   - max channels 8 (assuming all 4 BRI lines are active).
>
> Which will cover dialling mobile and other 11 digit UK numbers.

Thanks Paul (& David & Linker3000)

You are quite right.

What was wrong, after all, was my tired eyes. Something I thought I'd
entered (a 9|.) hadn't saved, or I'd forgotten to click the red bar.

PBKC, when all's said & done.







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:57 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register