Hi, sorry for what would say a very late response from me....
On my last install of Xastir I found this starting at line 16211
output_igate_rf(call,
addr,
path,
ipacket_message,
port,
third_party,
NULL);
igate_msgs_tx++;
}
}
done = 1;
}
if (debug_level & 1)
fprintf(stderr,"3\n");
//-------
--------
so If I understand the sample below I have to add this after the text
show above ? like this
output_igate_rf(call,
addr,
path,
ipacket_message,
port,
third_party,
NULL);
igate_msgs_tx++;
}
}
done = 1;
}
if (debug_level & 1)
fprintf(stderr,"3\n");
//--------------------------------------------------------------------------
if (!done && strncmp(addr,"BLN",3) == 0) { //
Bulletin
// fprintf(stderr,"found BLN: |%s| |%s|\n",addr,message);
bulletin_data_add(addr,call,message,"",MESSAGE_BULLETIN,from);
output_igate_rf(call,
addr,
path,
ipacket_message,
port,
third_party,
NULL);
done = 1;
}
if (debug_level & 1)
fprintf(stderr,"4\n");
//--------------------------------------------------------------------------
--
Lasse
Den 06.02.2011 03:05, skrev Curt, WE7U:
This idea might be more useful to you:
In xastir/src/db.c at about line 16230 is the section dealing with
"BLN", while the section near line 16610 processes "Other message with
linenumber".
At the end of that second section is this bit of code which causes the
igating of messages:
output_igate_rf(call,
addr,
path,
ipacket_message,
port,
third_party,
NULL);
Try making the "BLN" processing section look like this:
//--------------------------------------------------------------------------
if (!done && strncmp(addr,"BLN",3) == 0) {
// Bulletin
// fprintf(stderr,"found BLN: |%s| |%s|\n",addr,message);
bulletin_data_add(addr,call,message,"",MESSAGE_BULLETIN,from);
output_igate_rf(call,
addr,
path,
ipacket_message,
port,
third_party,
NULL);
done = 1;
}
if (debug_level & 1)
fprintf(stderr,"4\n");
//--------------------------------------------------------------------------
Then compile/install/test to see if Xastir passes the bulletins to RF
in the proper format. Note: I haven't tried this.
Please let us know your results.
_______________________________________________
Xastir mailing list
[email protected]
http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir