[Freeswitch-users] Connect the FXS gateway and Freeswitch in local network
Ismir Saljic
isaljic at gmail.com
Tue Dec 8 00:59:57 MSK 2015
Thank you both for answers.
@Denis,
I've check that already and I am getting from gateway SIP response "487
Request Terminated".
I've tried from several phones but the same result at the end.
In freeswitch logs I have this:
2015-12-07 16:03:40.598709 [DEBUG] sofia.c:6614 Channel
sofia/internal/51001 at X.X.X.X:5060 entering state [terminated][487]
2015-12-07 16:03:40.598709 [NOTICE] sofia.c:7530 Hangup
sofia/internal/51001 at X.X.X.X:5060 [CS_CONSUME_MEDIA] [ORIGINATOR_CANCEL]
I can't see SIP CANCEL message at all which is very strange.
@John,
On gateway I am using default SIP port, but on the freeswitch I am using
other port.
Will try to change port on gateway.
I don't know if I am missing some config because I have only config in
dialplan/default folder for sending calls to the gateways IP address.
Kind regards,
Salja
On Mon, Dec 7, 2015 at 10:23 PM, <covici at ccs.covici.com> wrote:
> Never heard of that one, in one of mine, to make out going call I have
> to use a different port -- could this be true of yours?
>
> Ismir Saljic <isaljic at gmail.com> wrote:
>
> > Hi John,
> >
> > it is Matrix Setu VFX gateway.
> >
> > salja
> >
> > On Mon, Dec 7, 2015 at 8:08 PM, <covici at ccs.covici.com> wrote:
> >
> > > What kind of beast is this gateway?
> > >
> > > Ismir Saljic <isaljic at gmail.com> wrote:
> > >
> > > > Hi all,
> > > >
> > > > I am new to Freeswitch and I am trying to connect FXS gateway with
> > > > Freeswitch.
> > > > As both devices are on the same LAN I assume that I need to use
> internal
> > > > profile.
> > > > For now I need only to make outbound calls to the gateway.
> > > > I've tried to send calls to the IP address of the gateway without
> > > > registration but it's not working.
> > > > This is my config from dialplan/default/00_name file:
> > > >
> > > > <include>
> > > > <extension name="To PSTN">
> > > > <condition field="destination_number" expression="^0111(\d+)$">
> > > > <action application="bridge" data="sofia/internal/$1 at X.X.X.X
> :5060"
> > > />
> > > > </condition>
> > > > </extension>
> > > > </include>
> > > >
> > > > Is it necessary to register gateway on freeswitch in order to make it
> > > > working or it is also possible to send calls to IP address of the
> > > gateway?
> > > > Gateway has static IP address.
> > > >
> > > > Any help would be appreciated!
> > > >
> > > > Thank you
> > > > Salja
> > > >
> > > > ----------------------------------------------------
> > > > Alternatives:
> > > >
> > > > ----------------------------------------------------
> > > >
> _________________________________________________________________________
> > > > Professional FreeSWITCH Consulting Services:
> > > > consulting at freeswitch.org
> > > > http://www.freeswitchsolutions.com
> > > >
> > > > Official FreeSWITCH Sites
> > > > http://www.freeswitch.org
> > > > http://confluence.freeswitch.org
> > > > http://www.cluecon.com
> > > >
> > > > FreeSWITCH-users mailing list
> > > > FreeSWITCH-users at lists.freeswitch.org
> > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > > > UNSUBSCRIBE:
> http://lists.freeswitch.org/mailman/options/freeswitch-users
> > > > http://www.freeswitch.org
> > > --
> > > Your life is like a penny. You're going to lose it. The question is:
> > > How do
> > > you spend it?
> > >
> > > John Covici
> > > covici at ccs.covici.com
> > >
> > >
> _________________________________________________________________________
> > > Professional FreeSWITCH Consulting Services:
> > > consulting at freeswitch.org
> > > http://www.freeswitchsolutions.com
> > >
> > > Official FreeSWITCH Sites
> > > http://www.freeswitch.org
> > > http://confluence.freeswitch.org
> > > http://www.cluecon.com
> > >
> > > FreeSWITCH-users mailing list
> > > FreeSWITCH-users at lists.freeswitch.org
> > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > > UNSUBSCRIBE:
> http://lists.freeswitch.org/mailman/options/freeswitch-users
> > > http://www.freeswitch.org
> > >
> >
> > ----------------------------------------------------
> > Alternatives:
> >
> > ----------------------------------------------------
> > _________________________________________________________________________
> > Professional FreeSWITCH Consulting Services:
> > consulting at freeswitch.org
> > http://www.freeswitchsolutions.com
> >
> > Official FreeSWITCH Sites
> > http://www.freeswitch.org
> > http://confluence.freeswitch.org
> > http://www.cluecon.com
> >
> > FreeSWITCH-users mailing list
> > FreeSWITCH-users at lists.freeswitch.org
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> > http://www.freeswitch.org
> --
> Your life is like a penny. You're going to lose it. The question is:
> How do
> you spend it?
>
> John Covici
> covici at ccs.covici.com
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151207/12bc970b/attachment-0001.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list