projects
/
lcr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
work on chan_lcr: bridging works, interface selection possible
[lcr.git]
/
genext.c
diff --git
a/genext.c
b/genext.c
index
cab89ad
..
21689e6
100644
(file)
--- a/
genext.c
+++ b/
genext.c
@@
-55,7
+55,7
@@
int main(int argc, char *argv[])
if (!read_options())
{
if (!read_options())
{
- PERROR("
Failed to read options.conf\n"
);
+ PERROR("
%s", options_error
);
return(-1);
}
return(-1);
}
@@
-63,7
+63,7
@@
int main(int argc, char *argv[])
{
printf("Usage: %s <extension> <interfaces> <callerid>\n\n", argv[0]);
printf("extension: any number for the extension (e.g 200)\n");
{
printf("Usage: %s <extension> <interfaces> <callerid>\n\n", argv[0]);
printf("extension: any number for the extension (e.g 200)\n");
- printf("interfaces: internal interface(
e
s) to reach extension (seperated by commas. e.g Int1,Int2)\n");
+ printf("interfaces: internal interface(s) to reach extension (seperated by commas. e.g Int1,Int2)\n");
printf("callerid: normal undefined called is (use what your telco assigned you)\n");
return(0);
}
printf("callerid: normal undefined called is (use what your telco assigned you)\n");
return(0);
}
@@
-79,13
+79,6
@@
int main(int argc, char *argv[])
memset(&ext, 0, sizeof(ext));
ext.rights = 4;
memset(&ext, 0, sizeof(ext));
ext.rights = 4;
- ext.tout_setup = 120;
- ext.tout_dialing = 120;
- ext.tout_proceeding = 120;
- ext.tout_alerting = 120;
- ext.tout_disconnect = 120;
-// ext.tout_hold = 900;
-// ext.tout_park = 900;
ext.cfnr_delay = 20;
ext.vbox_codec = CODEC_MONO;
UCPY(ext.interfaces, argv[2]);
ext.cfnr_delay = 20;
ext.vbox_codec = CODEC_MONO;
UCPY(ext.interfaces, argv[2]);