in

Data Techniques Online Forums

Select 2 modems to use from a borad with 4 modems installed

Last post 11-03-2008 7:44 AM by Yan. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 10-29-2008 6:50 AM

    • Yan
    • Top 100 Contributor
    • Joined on 05-11-2007
    • Posts 8

    Select 2 modems to use from a borad with 4 modems installed

    Hi,

    I created an application with FaxMan SDK 4.3.1.0 and Visual Basic 6.0. and one of our users reported that he keeps having an error with "No Dialtone". He can send some of his faxes successfully but 87% of which are failed.

    Then we have found that he has 4 modems on a board which is installed in his PC and 2 of the modems DO NOT have a phone line connected to it.

    Therefore, would you please tell us how to configure FaxMan to use the 2 modems which are connected to the phone lines?

    I understand that we can select a specific port to be used by FaxMan but this will only allow 1 modem to be used. So how can we setup FaxMan to use 2 modems insteaded of 1 and if 4 modems are installed (but only 2 are connected with phone lines)?

    Our user has tried disabling the 2 modems which do not connect to phone lines in Windows but this did not solve the "No Dialtone" error.

    Thanks in advance!!

  • 10-31-2008 10:36 AM In reply to

    Re: Select 2 modems to use from a borad with 4 modems installed

    Hi,

     

    It sounds like you did an AutoDetect which found all four modems that were installed on the system.  You can use the ActiveX control's RemoveDevice method to remove the ports that dont have a phone line attached from the Faxman modem list. The RemoveDevice method takes the comm port id of the modem to be removed. Note that if you do another AutoDetect then the modems will be added again and you would need to call RemoveDevice again to remove the disconnected ports.

    Sean
    Data Techniques Online Support
  • 10-31-2008 12:21 PM In reply to

    • Yan
    • Top 100 Contributor
    • Joined on 05-11-2007
    • Posts 8

    Re: Select 2 modems to use from a borad with 4 modems installed

    Hi Sean,

    Thanks for that. I will modify my application to have this feature.

    But I have searched over your forum and found a post ( http://forums.data-tech.com/forums/p/3861/5909.aspx ) similar to this and you had mentioned that:-

    "You can edit the faxman4.ini or fm3032.ini files and look at the [Portx] section where x is the com port for the inbound fax. See if it has Send=1 in that section, if it does then thats the problem and you need to set it to Send=0 and then save the file and restart the faxman process."

    Would you please tell me if we try to modify the faxman4.ini file and look at the [Portx] section where x is the com port for the modems which do not connect to the phone lines and change Send=1 to Send=0, will it work as well?

    Also, if our user do another AutoDetect after modifying the faxman4.ini file, will those changes reset back to Send=1?

  • 10-31-2008 3:17 PM In reply to

    Re: Select 2 modems to use from a borad with 4 modems installed

     Hi,

     

    Yes, you could edit the faxman4.ini and either remove the [Portxx] sections for the two ports that arent connected or set Send=0 and Receive=0 for those two ports, then save the file and restart the faxman service/exe.

     

    Yes, if you do an Autodetect it will reset those settings. 

    Sean
    Data Techniques Online Support
  • 11-03-2008 7:44 AM In reply to

    • Yan
    • Top 100 Contributor
    • Joined on 05-11-2007
    • Posts 8

    Re: Select 2 modems to use from a borad with 4 modems installed

    Thanks Sean!!

Page 1 of 1 (5 items)
Copyright 2007 Data Techniques, Inc. All Rights Reserved.