- Joined
- Mar 11, 2010
- Messages
- 6
- Reaction score
- 0
Hello to everyone and thanks for taking time to read my post.
At my place, we have to line coming in...
Let's call them
- 000 000 0001
- 000 000 0002
The two of them are plugged in a Spa400 which is configurated as a gateway in 3cx
What I'd like to do is to make customs forwarding rules.
I already have a Virtual Extension which get the line before the AA and if it's in the work-hours, it sends the line to the AA. I did it this way cause I'd like to forward the line to a given cell phone number if its before 9am.
In this way, I created a forward rule with specific hours, let's say, 7ham to 9ham to send it to the given cellphone.
When I try from inside, like I hit 170(my virtual extension) it works no problem, the forward happens and make my cell rings. But if the call is from outside, my system isnt able to take a line to call me.
This happens ( I think ) because of the Spa400 which is considered as only one line by the system, even if I actually have two lines plugged in it.
So...
Let me rephrase ;
If I call 170 from my office phone : my Cellular rings.
If I call at the office with an external phone : Call is terminated in events.
11:00:21.083 [CM503008]: Call(121): Call is terminated
11:00:21.061 [CM503020]: Normal call termination. Reason: No outbound rule
11:00:21.060 [CM503016]: Call(121): Attempt to reach <sip:[email protected]:5060> failed. Reason: Busy
11:00:21.060 [CM303006]: There's no outbound rule for external number '9819*******' defined
11:00:21.058 [CM303006]: There's no outbound rule for external number '9819*******' defined
11:00:21.054 [CM503010]: Making route(s) to <sip:[email protected]:5060>
11:00:21.051 [CM505002]: Gateway:[spa400] Device info: Device Not Identified: User Agent not matched; Capabilities:[reinvite, replaces, able-no-sdp, recvonly] UserAgent: [] PBX contact: [sip:[email protected]:5060]
11:00:21.040 [CM503001]: Call(121): Incoming call from anonymous@(Ln.10000@spa400) to <sip:[email protected]:5060>
11:00:21.029 [CM503012]: Inbound office hours rule (10300) for 10000 forwards to DN:170
Of course I do have outbounds rules set to if my number start by 9, and contains from 9 to 12 numbers, trim the first number and call. For exemple, if I call from office : It works.
Any Idea how to do this ? Thanks for your support
At my place, we have to line coming in...
Let's call them
- 000 000 0001
- 000 000 0002
The two of them are plugged in a Spa400 which is configurated as a gateway in 3cx
What I'd like to do is to make customs forwarding rules.
I already have a Virtual Extension which get the line before the AA and if it's in the work-hours, it sends the line to the AA. I did it this way cause I'd like to forward the line to a given cell phone number if its before 9am.
In this way, I created a forward rule with specific hours, let's say, 7ham to 9ham to send it to the given cellphone.
When I try from inside, like I hit 170(my virtual extension) it works no problem, the forward happens and make my cell rings. But if the call is from outside, my system isnt able to take a line to call me.
This happens ( I think ) because of the Spa400 which is considered as only one line by the system, even if I actually have two lines plugged in it.
So...
Let me rephrase ;
If I call 170 from my office phone : my Cellular rings.
If I call at the office with an external phone : Call is terminated in events.
11:00:21.083 [CM503008]: Call(121): Call is terminated
11:00:21.061 [CM503020]: Normal call termination. Reason: No outbound rule
11:00:21.060 [CM503016]: Call(121): Attempt to reach <sip:[email protected]:5060> failed. Reason: Busy
11:00:21.060 [CM303006]: There's no outbound rule for external number '9819*******' defined
11:00:21.058 [CM303006]: There's no outbound rule for external number '9819*******' defined
11:00:21.054 [CM503010]: Making route(s) to <sip:[email protected]:5060>
11:00:21.051 [CM505002]: Gateway:[spa400] Device info: Device Not Identified: User Agent not matched; Capabilities:[reinvite, replaces, able-no-sdp, recvonly] UserAgent: [] PBX contact: [sip:[email protected]:5060]
11:00:21.040 [CM503001]: Call(121): Incoming call from anonymous@(Ln.10000@spa400) to <sip:[email protected]:5060>
11:00:21.029 [CM503012]: Inbound office hours rule (10300) for 10000 forwards to DN:170
Of course I do have outbounds rules set to if my number start by 9, and contains from 9 to 12 numbers, trim the first number and call. For exemple, if I call from office : It works.
Any Idea how to do this ? Thanks for your support