Hylafax Mailing List Archives

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: germany: SMS to D2 with UCP



> I've problems to send SMS to the german D2 telephone provider via UCP. I can
> send SMS to other provider with the IXO protocol.
> The log below shows that the message was send to the provider, but the message
> was never received by a mobile.
> So were could be the bug. Is it a problem of the provider or is my hylafax
> misconfigured. How looks a successful log??
>
> Jan 02 14:36:13.06: [ 9130]: SEND PAGE: FROM gorski@poboxes.com TO 01722278020 (sent in 0:43)
> Jan 02 14:36:13.06: [ 9130]: <-- [5:ATH0\r]
> Jan 02 14:36:18.06: [ 9130]: MODEM <Timeout>
> Jan 02 14:36:18.07: [ 9130]: SESSION END


The modem timeout occurs because the modem is in data mode, not in command
mode, so the ATH0 gets sent as data.  The following patch fixes this.

This patch is for HylaFax 4.0pl2

Martin

Index: pageSendApp.c++
===================================================================
RCS file: /cvs/hylafax/faxd/pageSendApp.c++,v
retrieving revision 1.1
retrieving revision 1.2
diff -c -r1.1 -r1.2
*** pageSendApp.c++	1998/11/24 21:19:29	1.1
--- pageSendApp.c++	2000/01/11 21:38:45	1.2
***************
*** 1,4 ****
! /*	$Id: pageSendApp.c++,v 1.1 1998/11/24 21:19:29 martin Exp $ */
  /*
   * Copyright (c) 1994-1996 Sam Leffler
   * Copyright (c) 1994-1996 Silicon Graphics, Inc.
--- 1,4 ----
! /*	$Id: pageSendApp.c++,v 1.2 2000/01/11 21:38:45 martin Exp $ */
  /*
   * Copyright (c) 1994-1996 Sam Leffler
   * Copyright (c) 1994-1996 Silicon Graphics, Inc.
***************
*** 356,361 ****
--- 356,365 ----
       * the client's remote capabilities, the machine info
       * database will be updated when the instance is destroyed.
       */
+     getModem()->pause(2100);
+     putModem("+++", 3);
+     getModem()->pause(2100);
+     flushModemInput();
      getModem()->hangup();
      /*
       * This may not be exact--the line may already have been



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services