mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-25 23:28:09 +00:00
update p2p proxy
git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@494 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
This commit is contained in:
parent
ea233cb9af
commit
9f8e458068
1 changed files with 19 additions and 6 deletions
|
|
@ -136,6 +136,23 @@ static void fonis_exit(){
|
|||
p2pproxy_application_stop();
|
||||
}
|
||||
|
||||
static const char *fonis_get_notice(SipSetupContext *ssctx){
|
||||
return "<b>WARNING: experimental feature !</b>"
|
||||
"FONIS stands for Free Overlay Network for Instant SIP.\n"
|
||||
"Based on SIP and Peer to Peer technologies, it allows people to find each other through the help of a virtual network."
|
||||
"Once you and your friends are registered, you'll be able to call each other simply by entering your friend's username in "
|
||||
"linphone's sip uri box."
|
||||
"Read more information about FONIS at http://www.fonis.org";
|
||||
}
|
||||
|
||||
static const char *fonis_domains[]={
|
||||
"p2p.linphone.org",
|
||||
NULL
|
||||
};
|
||||
|
||||
static const char ** fonis_get_domains(SipSetupContext *ssctx){
|
||||
return fonis_domains;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
@ -151,12 +168,8 @@ static SipSetup fonis_sip_setup={
|
|||
.get_stun_servers=fonis_get_stun_servers,
|
||||
.get_relay=fonis_get_relay,
|
||||
.exit=fonis_exit,
|
||||
.notice="<b>WARNING: experimental feature !</b>"
|
||||
"FONIS stands for Free Overlay Network for Instant SIP.\n"
|
||||
"Based on SIP and Peer to Peer technologies, it allows people to find each other through the help of a virtual network."
|
||||
"Once you and your friends are registered, you'll be able to call each other simply by entering your friend's username in "
|
||||
"linphone's sip uri box."
|
||||
"Read more information about FONIS at http://www.fonis.org"
|
||||
.get_notice=fonis_get_notice,
|
||||
.get_domains=fonis_get_domains
|
||||
};
|
||||
|
||||
void libfonisprovider_init(void){
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue