Changeset 491:771387b267ad in mediastreamer2


Ignore:
Timestamp:
Jun 8, 2009 11:06:17 AM (4 years ago)
Author:
smorlat <smorlat@…>
Branch:
default
Message:

update p2p proxy

git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@494 3f6dc0c8-ddfe-455d-9043-3cd528dc4637

File:
1 edited

Legend:

Unmodified
Added
Removed
  • p2pproxy/plugin-src/fonis.c

    r485 r491  
    137137} 
    138138 
     139static const char *fonis_get_notice(SipSetupContext *ssctx){ 
     140        return "<b>WARNING: experimental feature !</b>" 
     141"FONIS stands for Free Overlay Network for Instant SIP.\n" 
     142"Based on SIP and Peer to Peer technologies, it allows people to find each other through the help of a virtual network." 
     143"Once you and your friends are registered, you'll be able to call each other simply by entering your friend's username in " 
     144"linphone's sip uri box." 
     145"Read more information about FONIS at http://www.fonis.org"; 
     146} 
     147 
     148static const char *fonis_domains[]={ 
     149        "p2p.linphone.org", 
     150        NULL 
     151}; 
     152 
     153static const char ** fonis_get_domains(SipSetupContext *ssctx){ 
     154        return fonis_domains; 
     155} 
    139156 
    140157 
     
    152169        .get_relay=fonis_get_relay, 
    153170        .exit=fonis_exit, 
    154         .notice="<b>WARNING: experimental feature !</b>" 
    155 "FONIS stands for Free Overlay Network for Instant SIP.\n" 
    156 "Based on SIP and Peer to Peer technologies, it allows people to find each other through the help of a virtual network." 
    157 "Once you and your friends are registered, you'll be able to call each other simply by entering your friend's username in " 
    158 "linphone's sip uri box." 
    159 "Read more information about FONIS at http://www.fonis.org" 
     171        .get_notice=fonis_get_notice, 
     172        .get_domains=fonis_get_domains 
    160173}; 
    161174 
Note: See TracChangeset for help on using the changeset viewer.