[Freeswitch-users] mod_spandsp on Windows as modem with com0com - port in use

Nycphoneservice nycphoneservice at gmail.com
Wed Dec 6 19:51:07 UTC 2017


Thank you very much - that makes sense.


Sent from my phone

> On Dec 6, 2017, at 2:29 PM, Volodymyr Fedorov <lexxua at gmail.com> wrote:
> 
> I think after resolving issue:
> https://freeswitch.org/jira/browse/FS-5761
> 
> It stopped to work on Windows platforms before commits caused by that ticket ports were used started from com5 and upwards. After commit freeswitch wants to use com0.
> You can look up as a workaround solution from Jeff Lenk:
> https://freeswitch.org/stash/projects/FS/repos/freeswitch/diff/src/mod/applications/mod_spandsp/mod_spandsp_modem.c?until=f42b17e80749250c4957601bae37b8c3ff826c39
> 
> Br,
> Volodymyr
> 
>> On Wed, Dec 6, 2017 at 9:22 AM, Volodymyr Fedorov <lexxua at gmail.com> wrote:
>> Hi I don't remember, but in code exist commit for Linux system which was supposed to fix modem TTY names. But somehow it has regression on Windows systems because modem name could not start from 0.
>> Br,
>> Volodymyr
>> 
>>> On Dec 6, 2017 8:16 AM, "NYCPhoneService" <nycphoneservice at gmail.com> wrote:
>>> Anyone please…
>>> 
>>>  
>>> 
>>> From: NYCPhoneService [mailto:nycphoneservice at gmail.com] 
>>> Sent: Thursday, November 30, 2017 1:40 AM
>>> To: freeswitch-users at lists.freeswitch.org
>>> Subject: mod_spandsp on Windows as modem with com0com - port in use
>>> 
>>>  
>>> 
>>> I guess I’m missing something with this setup:
>>> 
>>>  
>>> 
>>> Freeswitch-1.6.19 built from source on Win 8.1, com0com 3.0 signed, pair on COM6 and COM7 the and soft modem for fax server is on COM7
>>> 
>>> I had to set number of modems to 6 in config, otherwise I was just getting no modems available…
>>> 
>>>  
>>> 
>>> Mod_spandsp sees the port:
>>> 
>>>  
>>> 
>>> 2017-11-29 23:43:52.885349 [DEBUG] mod_spandsp_modem.c:371 Modem COM6 [INIT] - Changing state to INIT
>>> 
>>> 2017-11-29 23:43:52.885349 [INFO] mod_spandsp_modem.c:373 Modem [COM6]->[(null)] Ready
>>> 
>>>  
>>> 
>>> but when I bridge to modem/6/123 I get:
>>> 
>>>  
>>> 
>>> 2017-11-29 23:44:49.203916 [ERR] mod_spandsp_modem.c:1390 Modem COM6 In Use!
>>> 
>>> 2017-11-29 23:44:49.203916 [ERR] mod_spandsp_modem.c:1398 No Modems Available!
>>> 
>>> 971de557-adb4-4a19-9e7d-ab4f13b954be 2017-11-29 23:44:49.203916 [ERR] mod_spandsp_modem.c:862 Cannot find a modem.
>>> 
>>>  
>>> 
>>>  
>>> 
>>> The same com0com setup works with an old T38Modem with no issues.
>>> 
>>>  
>>> 
>>> Any suggestions are really appreciated
>>> 
>>>  
>>> 
>>> Dennis
>>> 
>>>  
>>> 
>>> 
>>> _________________________________________________________________________
>>> 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
> 
> 
> 
> -- 
> Best regards,
> Volodymyr
> _________________________________________________________________________
> 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/20171206/1ee8b330/attachment.html>


More information about the FreeSWITCH-users mailing list