How to call an external number in Follow Me

Status
Not open for further replies.

Huan

New Member
Mar 23, 2017
11
0
1
33
I have an extension which has to call an external number via Follow me.
In the documentation there is an example with external number with 5 seconds delay but that does not work for me?
How can I make that happen?
 

Huan

New Member
Mar 23, 2017
11
0
1
33
This is the error what I get: [ERR] switch_core_session.c:511 Could not locate channel type transfer

Code:
2017-04-06 15:36:50.291934 [DEBUG] switch_ivr_originate.c:2138 Parsing global variables
2017-04-06 15:36:50.291934 [DEBUG] switch_ivr_originate.c:2659 Parsing session specific variables
2017-04-06 15:36:50.291934 [NOTICE] switch_channel.c:1104 New Channel sofia/internal/1005@10.60.0.88:5072 [96d3a24e-2ed8-47b2-b798-e8893f3302ec]
2017-04-06 15:36:50.291934 [DEBUG] mod_sofia.c:4809 (sofia/internal/1005@10.60.0.88:5072) State Change CS_NEW -> CS_INIT
2017-04-06 15:36:50.291934 [DEBUG] switch_ivr_originate.c:2953 sofia/internal/1005@10.60.0.88:5072 Setting leg timeout to 30
2017-04-06 15:36:50.291934 [DEBUG] switch_ivr_originate.c:2659 Parsing session specific variables
2017-04-06 15:36:50.291934 [ERR] switch_core_session.c:511 Could not locate channel type transfer 0031XXXXXXXXX
2017-04-06 15:36:50.291934 [NOTICE] switch_ivr_originate.c:2841 Cannot create outgoing channel of type [transfer 0031XXXXXXXXX] cause: [CHAN_NOT_IMPLEMENTED]
2017-04-06 15:36:50.291934 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1005@10.60.0.88:5072) Running State Change CS_INIT (Cur 2 Tot 863)
2017-04-06 15:36:50.291934 [DEBUG] switch_core_state_machine.c:627 (sofia/internal/1005@10.60.0.88:5072) State INIT
2017-04-06 15:36:50.291934 [DEBUG] mod_sofia.c:90 sofia/internal/1005@10.60.0.88:5072 SOFIA INIT
2017-04-06 15:36:50.291934 [DEBUG] sofia_glue.c:1264 sip:1005@188.205.61.190:46042 Setting proxy route to sofia/internal/1005@10.60.0.88:5072
2017-04-06 15:36:50.291934 [DEBUG] sofia_glue.c:1293 sofia/internal/1005@10.60.0.88:5072 sending invite version: 1.6.15 -32-bec4538 64bit
 

DigitalDaz

Administrator
Staff member
Sep 29, 2016
3,045
566
113
Hmm.. Disable that forward and reenable it, there is something not right there at all.

The line
[transfer 0031XXXXXXXXX]

Seems to be missing the context, it should be something like

[transfer 0031XXXXXXXXX XML blah]

Which version of FusionPBX?
 

Huan

New Member
Mar 23, 2017
11
0
1
33
My apologies, I had as destination [transfer 0031XXXXXXXXX] for testing. because just [0031XXXXXXXXX] did not work.
I just changed it back to [0031XXXXXXXXX] and disabled the forward and reenabled it. And it seems to work now. The only thing is that the delay is longer than the filled in value.

The log of the working external number:
Code:
2017-04-07 06:45:19.251917 [DEBUG] switch_ivr_originate.c:2138 Parsing global variables
2017-04-07 06:45:19.251917 [DEBUG] switch_ivr_originate.c:2659 Parsing session specific variables
2017-04-07 06:45:19.251917 [NOTICE] switch_channel.c:1104 New Channel sofia/internal/1005@10.60.0.88:5072 [f174a194-6c94-46a6-8d64-c1d9e110b845]
2017-04-07 06:45:19.251917 [DEBUG] mod_sofia.c:4809 (sofia/internal/1005@10.60.0.88:5072) State Change CS_NEW -> CS_INIT
2017-04-07 06:45:19.251917 [DEBUG] switch_ivr_originate.c:2953 sofia/internal/1005@10.60.0.88:5072 Setting leg timeout to 30
2017-04-07 06:45:19.251917 [DEBUG] switch_ivr_originate.c:2659 Parsing session specific variables
2017-04-07 06:45:19.251917 [NOTICE] switch_channel.c:1104 New Channel sofia/external/0031XXXXXXXXX [33da6fda-d3a8-4377-86eb-7951c4f2c447]
 
Last edited:

bassem.elsayed

New Member
Jan 4, 2019
19
1
3
Hello All.
i have issue almost like yours. when i add destinations as extensions to follow me, it worked fine and the delay is applied. but when i add destinations as same extension for first destination, and external number for second destination, the call go through both destinations at the same time ignoring the delay. i checked the log and it looks normal. can you advise.
Thanks
 
Status
Not open for further replies.