see changelog

master
Evgeniy Kozhuhovskiy 19 years ago
parent 1c902c4666
commit b89f8dcb09

@ -1,3 +1,8 @@
2006-01-04 Evgeniy Kozhuhovskiy <e.kozhuhovskiy@gmail.com>
* bforce/daemon_call.c (daemon_call_branch): if phone ==
00-00-000000, we call via ip
2005-10-24 Evgeniy Kozhuhovskiy <ugenk@mgts.by> 2005-10-24 Evgeniy Kozhuhovskiy <ugenk@mgts.by>
* bforce/sess_call.c (call_system): added possibility to run * bforce/sess_call.c (call_system): added possibility to run

@ -93,7 +93,7 @@ static int daemon_call_branch(s_sysentry *syst, const char *lockdir, s_modemport
setproctitle("bforce calling %s, %s", setproctitle("bforce calling %s, %s",
ftn_addrstr(abuf, state.node.addr), state.node.phone); ftn_addrstr(abuf, state.node.addr), state.node.phone);
if( syst->tcpip ) if( ( syst->tcpip ) || (strcmp(state.node.phone,NO_PSTN_PHONE)) )
{ {
rc = call_system_tcpip(); rc = call_system_tcpip();
} }

@ -39,6 +39,9 @@
#define BF_MAXDOMAIN 40 #define BF_MAXDOMAIN 40
#define BF_MAXADDRSTR 80 #define BF_MAXADDRSTR 80
/* IP-only nodes phone */
#define NO_PSTN_PHONE "00-00-000000"
/* /*
* Maximum length of file name (without path) * Maximum length of file name (without path)
*/ */

Loading…
Cancel
Save