Author Topic: Outbound dailing routed to trunk by dialed number  (Read 4980 times)

winston

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Outbound dailing routed to trunk by dialed number
« on: November 09, 2011, 18:24:14 »
I have been attempting to find a way to use different trunks depending on the number dialed (via QM) to alleviate very stubborn DTMF issues to particular numbers  using our main trunk group.   We are asterisk 1.8 , freepbx.   I see where it would be possible to use a custom trunk in freepbx to have fail over but have not seen a way to use the outbound route engine.  I would assume this could also be accomplished using custom dial plan but there again I only see how to fail to a second trunk not route by dialed number.

Thanks

blackgecko

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
    • View Profile
    • Email
Re: Outbound dailing routed to trunk by dialed number
« Reply #1 on: November 23, 2011, 16:39:41 »
Have you been able to use a freepbx trunk or outbound route from the queuedial context?, i need to be able to use the pattern matching and replace that freepbx does in my outbound campaign.

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Outbound dailing routed to trunk by dialed number
« Reply #2 on: January 18, 2012, 18:20:11 »
I would do the routing first and then have multiple QM outbound routes...

winston

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Re: Outbound dailing routed to trunk by dialed number
« Reply #3 on: January 26, 2012, 00:36:58 »
Loway,
   Could you please elaborate a little for me, please.   When using the QM dial from the agent login exactly how would I route first, to multiple QM outbound routes?

Thanks,
Mike

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Outbound dailing routed to trunk by dialed number
« Reply #4 on: January 26, 2012, 16:25:34 »
I think that if you send the call to Local/number@from-internal/n in FreePBX, instead of sending it to SIP/provider/number, you have the call processed as-if it was dialed locally, so all routing applies.

winston

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Re: Outbound dailing routed to trunk by dialed number
« Reply #5 on: February 07, 2012, 00:27:57 »
Your answer of throwing the calls at the Local channel instead of  DAHDI/ or SIP/ passed right through the wind tunnel between my ears.

Thanks again for pointing out the way too obvious for me....

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Outbound dailing routed to trunk by dialed number
« Reply #6 on: February 15, 2012, 17:44:11 »
So this is fixed?  ;)