Koozali.org: home of the SME Server

Help with forwarding ext to cell

Offline soprom

  • *
  • 589
  • +0/-0
    • www.logiciel-libre.org
Help with forwarding ext to cell
« on: January 28, 2009, 05:35:24 PM »
Hi,

The manual explains how to transfer calls to an other extension but I can't figure out how to transfer inbound calls directly to my cell phone.

Thanks.
Sophie from Montréal

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Help with forwarding ext to cell
« Reply #1 on: January 28, 2009, 06:03:46 PM »
just the same as for an extension Sophie.  SARK doesn't know where the numbers are, it just recursively processes them until a route or pathway "fits" the number.

Best

Jeff


Offline soprom

  • *
  • 589
  • +0/-0
    • www.logiciel-libre.org
Re: Help with forwarding ext to cell
« Reply #2 on: April 19, 2009, 07:14:23 PM »
I'm still stuck with this...
I want the outcome of a ring-group to go to my cell phone.

- cluster "sophie"
- extensions 5901 5902 for this cluster
- alias 5909 = cell phone number 5145550899 for this cluster
- alias 5908 = extensions 5901 5902  in ring group with outcome to 5909 (cell) for this cluster
- trunk for this cluster going to ring group 5908
- route the trunk for this cluster

Then calling the DID goes to the ring goup ok.
After the rings, a guy says "pls-hold-while-try" and the call ends.

asterisk says :
Quote
    -- Nobody picked up in 6000 ms
...
Sent into invalid extension '5145550899' in context 'default' on Local/5145550899@internal-5269,2

The "context 'default' "  should be the cluster name I guess. So I edited the cluster with "sophie default" and got the same results...

Can someone point me in the right direction?
Sophie from Montréal

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Help with forwarding ext to cell
« Reply #3 on: April 19, 2009, 08:01:48 PM »
Hi Sophie

SAIL is looking for a Route in the default cluster which will match 5145550899 and send it out over a PSTN or VoIP circuit.  Asterisk is saying that it cannot find a route to match that number in the default cluster.

Best

Jeff







Offline soprom

  • *
  • 589
  • +0/-0
    • www.logiciel-libre.org
Re: Help with forwarding ext to cell
« Reply #4 on: April 19, 2009, 08:31:03 PM »
Can I force the call through a trunk like in "clustername/5145550899" ?

Sophie from Montréal

Offline soprom

  • *
  • 589
  • +0/-0
    • www.logiciel-libre.org
Re: Help with forwarding ext to cell
« Reply #5 on: April 19, 2009, 08:37:56 PM »
Got it...
I added a route for the default cluster and it works now.
It should not be like this if all trunks were accounted for. A call placed throught a trunk should belong to a unique cluster if accounting is to be valid. I'm understanding this correctly?
« Last Edit: April 19, 2009, 08:45:46 PM by soprom »
Sophie from Montréal

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Help with forwarding ext to cell
« Reply #6 on: April 19, 2009, 08:52:48 PM »
Well...

Your alias belongs to a cluster (in this case default).  When processing the alias, SAIL will only look at routes in the same cluster as the Alias. 

Essentially, clusters are nothing more than unique contexts within extensions.conf.  When you include an external number in a hunt or ring group, the AGI will search for a route in the same cluster to process the outbound call for you.  In this way, call accounting is consistent within the cluster.

Best

Jeff

Offline soprom

  • *
  • 589
  • +0/-0
    • www.logiciel-libre.org
Re: Help with forwarding ext to cell
« Reply #7 on: April 19, 2009, 09:08:47 PM »
Thanks for your explanations.

It works as advertized within the same cluster. I don't know why my earlier tests went wrong. Maybe I didn't give enough time between commits and calls.

Thanks again!
Sophie from Montréal