Using a modem to connect ordinary phones
Hi, I found the same topic created 2 years back in Oct 2007 but it doesn't seem to have the answer yet. I am quite new to FS and having a hard time reading the documentation. Someone could tell me: how would I use a modem and develop an Endpoint in FS that I could bridge the call from VoIP to PSTN. I am a hardware engineer, I am developing this modem and would want to use it with FS. I know that I could simply buy a VoIP Gateway or a zaptel compatible card and use OpenZap. Could someone point me out the direction for the following matters: 1. I feel that I need to develop an Endpoint module, like mod_sofia, mod_iax... that controls my modem so I could bridge the call from VoIP to PSTN ? If that is correct, could someone point me the documentation to start reading about Endpoint interface .? 2. Is there any similar module developed before about controlling a modem using AT Command Pardon my bad English, I don't come from an English speaking country. Btw, this is the first time I participate in a mailing list so I still have no idea how to create a thread or reply to a posting like I normally do in forums. Thanks very much and any helps are highly appreciated. Regards Alex To
You are better off creating a zaptel driver than re-creating all that work that has already been done. Mike On Oct 28, 2009, at 1:05 AM, Alex To wrote:
Hi,
I found the same topic created 2 years back in Oct 2007 but it doesn’t seem to have the answer yet.
I am quite new to FS and having a hard time reading the documentation. Someone could tell me: how would I use a modem and develop an Endpoint in FS that I could bridge the call from VoIP to PSTN. I am a hardware engineer, I am developing this modem and would want to use it with FS. I know that I could simply buy a VoIP Gateway or a zaptel compatible card and use OpenZap.
Could someone point me out the direction for the following matters:
1. I feel that I need to develop an Endpoint module, like mod_sofia, mod_iax... that controls my modem so I could bridge the call from VoIP to PSTN ? If that is correct, could someone point me the documentation to start reading about Endpoint interface …? 2. Is there any similar module developed before about controlling a modem using AT Command
Thank you very much for your prompt reply Mike The problem is I could simply get everything working by buying a zaptel compatible card or a VoIP Gateway. However I would like to use the modem that I am developing since it does provides some additional features. Does that mean I could start my way reading about Zaptel and develop a modified version of Zaptel to control my modem ? Thanks for pointing me the way. Regards Alex To From: freeswitch-dev-bounces@lists.freeswitch.org [mailto:freeswitch-dev-bounces@lists.freeswitch.org] On Behalf Of Michael Jerris Sent: Wednesday, October 28, 2009 1:23 PM To: freeswitch-dev@lists.freeswitch.org Subject: Re: [Freeswitch-dev] Using a modem to connect ordinary phones You are better off creating a zaptel driver than re-creating all that work that has already been done. Mike On Oct 28, 2009, at 1:05 AM, Alex To wrote: Hi, I found the same topic created 2 years back in Oct 2007 but it doesn't seem to have the answer yet. I am quite new to FS and having a hard time reading the documentation. Someone could tell me: how would I use a modem and develop an Endpoint in FS that I could bridge the call from VoIP to PSTN. I am a hardware engineer, I am developing this modem and would want to use it with FS. I know that I could simply buy a VoIP Gateway or a zaptel compatible card and use OpenZap. Could someone point me out the direction for the following matters: 1. I feel that I need to develop an Endpoint module, like mod_sofia, mod_iax... that controls my modem so I could bridge the call from VoIP to PSTN ? If that is correct, could someone point me the documentation to start reading about Endpoint interface .? 2. Is there any similar module developed before about controlling a modem using AT Command
I don't know anything about zaptel or supporting a new modem through that means. It sounds easier than writing your own driver and endpoint. However, an endpoint is just a module that implements a switch_state_handler_table: http://docs.freeswitch.org/structswitch__state__handler__table.html and switch_io_routines: http://docs.freeswitch.org/structswitch__io__routines.html There is mod_reference in trunk to show you the barebones. Check out its load function and you will see it create the endpoint interface and install state handler and io routines. I found mod_portaudio is a fairly simple example of a working endpoint. On October 28, 2009 01:37:07 am Alex To wrote:
Thank you very much for your prompt reply Mike
The problem is I could simply get everything working by buying a zaptel compatible card or a VoIP Gateway. However I would like to use the modem that I am developing since it does provides some additional features.
Does that mean I could start my way reading about Zaptel and develop a modified version of Zaptel to control my modem ?
Thanks for pointing me the way.
Regards
Alex To
From: freeswitch-dev-bounces@lists.freeswitch.org [mailto:freeswitch-dev-bounces@lists.freeswitch.org] On Behalf Of Michael Jerris Sent: Wednesday, October 28, 2009 1:23 PM To: freeswitch-dev@lists.freeswitch.org Subject: Re: [Freeswitch-dev] Using a modem to connect ordinary phones
You are better off creating a zaptel driver than re-creating all that work that has already been done.
Mike
On Oct 28, 2009, at 1:05 AM, Alex To wrote:
Hi,
I found the same topic created 2 years back in Oct 2007 but it doesn't seem to have the answer yet.
I am quite new to FS and having a hard time reading the documentation. Someone could tell me: how would I use a modem and develop an Endpoint in FS that I could bridge the call from VoIP to PSTN. I am a hardware engineer, I am developing this modem and would want to use it with FS. I know that I could simply buy a VoIP Gateway or a zaptel compatible card and use OpenZap.
Could someone point me out the direction for the following matters:
1. I feel that I need to develop an Endpoint module, like mod_sofia, mod_iax... that controls my modem so I could bridge the call from VoIP to PSTN ? If that is correct, could someone point me the documentation to start reading about Endpoint interface .?
2. Is there any similar module developed before about controlling a modem using AT Command
On Wed, Oct 28, 2009 at 6:37 AM, Alex To <tonhudung@gmail.com> wrote:
The problem is I could simply get everything working by buying a zaptel compatible card or a VoIP Gateway. However I would like to use the modem that I am developing since it does provides some additional features.
It depends on how your modem behave... Eg: in the past I developed a channel driver that was using voicemodems and ALSA to interface with PSTN: AT command for call control and ALSA for audio I/O. If you are in this situation (your modem accept AT commands, and has a way to do audio I/O through ALSA or some other interface), then maybe you would like to wait a little bit until I release a new endpoint for FreeSWITCH that do this for GSM, and just use that endpoint with little or no customization. -giovanni
Does that mean I could start my way reading about Zaptel and develop a modified version of Zaptel to control my modem ?
Thanks for pointing me the way.
Regards
Alex To
From: freeswitch-dev-bounces@lists.freeswitch.org [mailto:freeswitch-dev-bounces@lists.freeswitch.org] On Behalf Of Michael Jerris Sent: Wednesday, October 28, 2009 1:23 PM To: freeswitch-dev@lists.freeswitch.org Subject: Re: [Freeswitch-dev] Using a modem to connect ordinary phones
You are better off creating a zaptel driver than re-creating all that work that has already been done.
Mike
On Oct 28, 2009, at 1:05 AM, Alex To wrote:
Hi,
I found the same topic created 2 years back in Oct 2007 but it doesn’t seem to have the answer yet.
I am quite new to FS and having a hard time reading the documentation. Someone could tell me: how would I use a modem and develop an Endpoint in FS that I could bridge the call from VoIP to PSTN. I am a hardware engineer, I am developing this modem and would want to use it with FS. I know that I could simply buy a VoIP Gateway or a zaptel compatible card and use OpenZap.
Could someone point me out the direction for the following matters:
1. I feel that I need to develop an Endpoint module, like mod_sofia, mod_iax... that controls my modem so I could bridge the call from VoIP to PSTN ? If that is correct, could someone point me the documentation to start reading about Endpoint interface …?
2. Is there any similar module developed before about controlling a modem using AT Command
_______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
-- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618
That is exactly what I am doing now. It's nice knowing somebody is doing the same thing. The only difference is I am developing for Windows platform. The modem that I am developing uses USB/Serial Port that accepts AT command. Still reading how should I control audio I/O as to be honest I just got to know FreeSwitch for less than a week. I will be very grateful if you could share your experience. Regards Alex To -----Original Message----- From: freeswitch-dev-bounces@lists.freeswitch.org [mailto:freeswitch-dev-bounces@lists.freeswitch.org] On Behalf Of Giovanni Maruzzelli Sent: Thursday, October 29, 2009 1:06 AM To: freeswitch-dev@lists.freeswitch.org Subject: Re: [Freeswitch-dev] Using a modem to connect ordinary phones On Wed, Oct 28, 2009 at 6:37 AM, Alex To <tonhudung@gmail.com> wrote:
The problem is I could simply get everything working by buying a zaptel compatible card or a VoIP Gateway. However I would like to use the modem that I am developing since it does provides some additional features.
It depends on how your modem behave... Eg: in the past I developed a channel driver that was using voicemodems and ALSA to interface with PSTN: AT command for call control and ALSA for audio I/O. If you are in this situation (your modem accept AT commands, and has a way to do audio I/O through ALSA or some other interface), then maybe you would like to wait a little bit until I release a new endpoint for FreeSWITCH that do this for GSM, and just use that endpoint with little or no customization. -giovanni
Does that mean I could start my way reading about Zaptel and develop a modified version of Zaptel to control my modem ?
Thanks for pointing me the way.
Regards
Alex To
From: freeswitch-dev-bounces@lists.freeswitch.org [mailto:freeswitch-dev-bounces@lists.freeswitch.org] On Behalf Of Michael Jerris Sent: Wednesday, October 28, 2009 1:23 PM To: freeswitch-dev@lists.freeswitch.org Subject: Re: [Freeswitch-dev] Using a modem to connect ordinary phones
You are better off creating a zaptel driver than re-creating all that work that has already been done.
Mike
On Oct 28, 2009, at 1:05 AM, Alex To wrote:
Hi,
I found the same topic created 2 years back in Oct 2007 but it doesnt
seem
to have the answer yet.
I am quite new to FS and having a hard time reading the documentation. Someone could tell me: how would I use a modem and develop an Endpoint in FS that I could bridge the call from VoIP to PSTN. I am a hardware engineer, I am developing this modem and would want to use it with FS. I know that I could simply buy a VoIP Gateway or a zaptel compatible card and use OpenZap.
Could someone point me out the direction for the following matters:
1. I feel that I need to develop an Endpoint module, like mod_sofia, mod_iax... that controls my modem so I could bridge the call from VoIP to PSTN ? If that is correct, could someone point me the documentation to start reading about Endpoint interface ?
2. Is there any similar module developed before about controlling a modem using AT Command
_______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
-- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618 _______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
participants (4)
-
Alex To
-
Chris Burns
-
Giovanni Maruzzelli
-
Michael Jerris