Hi,
I'm trying to move on with FusionPbx and make a test scenario where I've a PSTN gateway: Grandstream HT-503.
The gateway so converts PSTN calls to voip and send that to FusionPbx, and FusionPbx can make calls via HT-503 using PSTN access.
I know well how configure that in Asterisk, but seems that in FreeSwitch and FusionPbx the configuration is different.
I read some advices on this old forum: https://freeswitch.org/confluence/display/FREESWITCH/Grandstream#Grandstream-GrandstreamHandyTone503
But for incoming calls seems my HT-503 is sending correctly to FusionPbx that refuse those with these messages:
I also tried to add ip 77.15.21.142 to my Access control for "mydomain.com" but seems it is ignored.
I hope someone is able to give me some advice.
Thanks
I'm trying to move on with FusionPbx and make a test scenario where I've a PSTN gateway: Grandstream HT-503.
The gateway so converts PSTN calls to voip and send that to FusionPbx, and FusionPbx can make calls via HT-503 using PSTN access.
I know well how configure that in Asterisk, but seems that in FreeSwitch and FusionPbx the configuration is different.
I read some advices on this old forum: https://freeswitch.org/confluence/display/FREESWITCH/Grandstream#Grandstream-GrandstreamHandyTone503
- First of all, I created a gateway called "RTG" with proxy and real the ip of the HT-503 and I set "register" to false.
- I set the "General" section of my HT-503 an unconditional forward of all calls from PSTN to voip using rtg@mydomainname on port 5060.
- I created the user "rtg" into FusionPbx
- In the "FXO" section of HT-503 I set proxy to the ip of my fusionPbx, user and password of the user "rtg"
But for incoming calls seems my HT-503 is sending correctly to FusionPbx that refuse those with these messages:
Code:
0932e059-4ba2-4856-a334-3dac768b48f4 2017-02-14 16:40:47.167729 [NOTICE] sofia.c:2331 Hangup sofia/internal/02123456@mydomain.com [CS_NEW] [CALL_REJECTED]
and you must configure your device to use the proper domain in it's authentication credentials.
You must define a domain called 'mydomain.com' in your directory and add a user with the id="rtg" attribute
2017-02-14 16:40:47.167729 [WARNING] sofia_reg.c:2906 Can't find user [rtg@mydomain.com] from 77.15.21.142
2017-02-14 16:40:47.147727 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f046c07c040 released.
2017-02-14 16:40:47.147727 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f046c07c040 Connected.
2017-02-14 16:40:47.127737 [DEBUG] sofia.c:9982 IP 77.15.21.142 Rejected by acl "domains". Falling back to Digest auth.
0932e059-4ba2-4856-a334-3dac768b48f4 2017-02-14 16:40:47.127737 [DEBUG] sofia.c:9815 sofia/internal/020000001@mydomain.com receiving invite from 77.15.21.142:49898 version: 1.6.14 -23-e460bf8 64bit
2017-02-14 16:40:47.127737 [DEBUG] sofia.c:2441 Re-attaching to session 0932e059-4ba2-4856-a334-3dac768b48f4
0932e059-4ba2-4856-a334-3dac768b48f4 2017-02-14 16:40:47.067741 [DEBUG] switch_core_state_machine.c:603 (sofia/internal/020000001@mydomain.com) State NEW
2017-02-14 16:40:47.067741 [WARNING] sofia_reg.c:1792 SIP auth challenge (INVITE) on sofia profile 'internal' for [rtg@mydomain.com] from ip 77.15.21.142
2017-02-14 16:40:47.067741 [DEBUG] sofia.c:2333 detaching session 0932e059-4ba2-4856-a334-3dac768b48f4
2017-02-14 16:40:47.067741 [DEBUG] sofia.c:9982 IP 77.15.21.142 Rejected by acl "domains". Falling back to Digest auth.
0932e059-4ba2-4856-a334-3dac768b48f4 2017-02-14 16:40:47.067741 [DEBUG] sofia.c:9815 sofia/internal/020000001@mydomain.com receiving invite from 77.15.21.142:49898 version: 1.6.14 -23-e460bf8 64bit
I also tried to add ip 77.15.21.142 to my Access control for "mydomain.com" but seems it is ignored.
I hope someone is able to give me some advice.
Thanks