connect elastix 2.3 with fusionpbx

Status
Not open for further replies.

tahagamil

New Member
Mar 19, 2018
6
0
1
38
Hello,

Could you please help me to solve my issue in outgoing calls from fusion pbx to elastix?

steps:
Now I can receive calls from any extensions at elastix 2.3 without any problems.
Problem when I make a call from any extensions in fusion to Elastix 2.3 the soft-phone appear a pop login screen to re enter the password of this extension, then it repeats a lot, and finally I get error from log of Elastix 2.3 says:

[Apr 5 15:51:39] NOTICE[3677] chan_sip.c: Sending fake auth rejection for device <sip:3003@192.168.0.119>;tag=WEGDGrpGa
[Apr 5 15:51:39] NOTICE[3677] chan_sip.c: Sending fake auth rejection for device <sip:3003@192.168.0.119>;tag=WEGDGrpGa


As I can see the call go out from fusion but it is rejected in Elastix and no firewall enabled or fail2ban on elastix.

The Configurations as the following:

elastix 2.3 configurations

IP 192.168.0.20

------Outgoing Settings------ Trunk-FusionCS
host=192.168.0.119
username=FusionCS
secret=fusion@
port=5080
type=peer
fromuser=FusionCS

---------Incoming Settings--------
secret=fusion@
type=user
context=from-internal


------------------

Outbound Routes : to --> Trunk-FusionCS ------> and works good for call from elastix to fusion

Inbound Routes: Accept All connection Default all values are empty. and the Set Destination ---> to Elastix IVR recored
-----------------------------------------------------------

fusion configurations

IP 192.168.0.119

Gateway configuration​
Name FusionCS
Context from-internal
Profile External
Proxy 192.168.0.20
Register false
Username FusionCS
Password fusion@
Auth Username FusionCS

--------------


Destinations :
Type outbound
Context 192.168.0.20
Continue false
Destination 192.168.0.20

outbound route
Dialplan

condition destination_number ^(\d{3})$
action set sip_h_X-accountcode=${accountcode}
action set call_direction=outbound
action unset call_timeout
action set hangup_after_bridge=true
action set effective_caller_id_name=${outbound_caller_id_name}
action set effective_caller_id_number=${outbound_caller_id_number}
action set inherit_codec=true
action set ignore_display_updates=true
action set callee_id_number=$1
action set continue_on_fail=true
action bridge sofia/gateway/FusionCS/7$1
 

Woodie Wood

New Member
Apr 17, 2017
14
0
1
34
Hi
Hello,

Could you please help me to solve my issue in outgoing calls from fusion pbx to elastix?

steps:
Now I can receive calls from any extensions at elastix 2.3 without any problems.
Problem when I make a call from any extensions in fusion to Elastix 2.3 the soft-phone appear a pop login screen to re enter the password of this extension, then it repeats a lot, and finally I get error from log of Elastix 2.3 says:

[Apr 5 15:51:39] NOTICE[3677] chan_sip.c: Sending fake auth rejection for device <sip:3003@192.168.0.119>;tag=WEGDGrpGa
[Apr 5 15:51:39] NOTICE[3677] chan_sip.c: Sending fake auth rejection for device <sip:3003@192.168.0.119>;tag=WEGDGrpGa


As I can see the call go out from fusion but it is rejected in Elastix and no firewall enabled or fail2ban on elastix.

The Configurations as the following:

elastix 2.3 configurations

IP 192.168.0.20

------Outgoing Settings------ Trunk-FusionCS
host=192.168.0.119
username=FusionCS
secret=fusion@
port=5080
type=peer
fromuser=FusionCS

---------Incoming Settings--------
secret=fusion@
type=user
context=from-internal


------------------

Outbound Routes : to --> Trunk-FusionCS ------> and works good for call from elastix to fusion

Inbound Routes: Accept All connection Default all values are empty. and the Set Destination ---> to Elastix IVR recored
-----------------------------------------------------------

fusion configurations

IP 192.168.0.119

Gateway configuration
Name FusionCS
Context from-internal
Profile External
Proxy 192.168.0.20
Register false
Username FusionCS
Password fusion@
Auth Username FusionCS

--------------


Destinations :
Type outbound
Context 192.168.0.20
Continue false
Destination 192.168.0.20

outbound route
Dialplan

condition destination_number ^(\d{3})$
action set sip_h_X-accountcode=${accountcode}
action set call_direction=outbound
action unset call_timeout
action set hangup_after_bridge=true
action set effective_caller_id_name=${outbound_caller_id_name}
action set effective_caller_id_number=${outbound_caller_id_number}
action set inherit_codec=true
action set ignore_display_updates=true
action set callee_id_number=$1
action set continue_on_fail=true
action bridge sofia/gateway/FusionCS/7$1


Hi Sir, I would like to ask if these configurations works? We are trying to bridge Elastix 3.0 with FusionPBX. For now, we have just setup 1 Elastix PBX and 1 FusionPBX sitting on the same LAN and are both VMs.

We tried this link, however it didn't work, not sure why Elastix and FusionPBX didn't communicate.
https://freeswitch.org/confluence/plugins/servlet/mobile?contentId=1966985#content/view/1966985

Thank you!
 
Status
Not open for further replies.