I have an app that runs in Asterisk and I am trying port it to FS.Below, I pasted a small sip.conf that sums up all my needs.1. We register out in a VOIP_PROVIDER2. An external asterisk register in our asterisk as CLIENT013. Calls from CLIENT01 route to VOIP_PROVIDER4. Yealink's, with ACL restrictions, also uses VOIP_PROVIDER to external calls5. VOIP PROVIDER and Yealinks use one NIC (eth0)6. CLIENT01 uses another NIC (eth1)In Asterisk all configs are keep together in sip.conf.However, in FS it seems I should spread out things in different configs parts.So:Should Yealink's accounts go into /usr/local/freeswitch/conf/directory/default?
Should I put VOIP_PROVIDER in sofia's external profile?
Should I create an additional external profile to CLIENT01? Where should I define CLIENT01 account to allow it register in? In /usr/local/freeswitch/conf/directory/default?
Thanks for any help.Valter=== SIP.CONF ===[general]disallow=allcontext=default ; Default context for incoming callsallowoverlap=no ; Disable overlap dialing support. (Default is yes)bindport=5060 ; UDP Port to bind to (SIP standard port is 5060)bindaddr=0.0.0.0 ; IP address to bind to (0.0.0.0 binds to all)srvlookup=yes ; Enable DNS SRV lookups on outbound callsalwaysauthreject=yesallowguest=no;voip providerregister => 185999:1010@xxx.xxx.xxx.xxx:5060 [VOIP_PROVIDER]type=peercontext=FDTRONCO_94host=xxx.xxx.xxx.xxxport=5060username=185999authuser=185999authname=185999secret=XXXXXXXXXXXXXXfromdomain=xxx.xxx.xxx.xxxfromuser=185999insecure=port,invitecanreinvite=nonat=nodisallow=allallow=ulaw:30dtmfmode=rfc2833ignoreregexpire=yeslanguage=pt_BRcall-limit=9999;EXTERNAL ASTERISK ACCOUNT - CALLS GOES THRU VOIP_PROVIDER[CLIENT01]type=peercontext=FDTRONCO_60host=dynamicport=5060username=CLIENT01authuser=CLIENT01authname=CLIENT01secret=XXXXXXXinsecure=port,invitecanreinvite=nonat=yesdisallow=allallow=g729dtmfmode=rfc2833ignoreregexpire=yeslanguage=pt_BRcall-limit=440;yealinks ip phones[1000]type=friendsecret=XXXXhost=dynamicdeny=0.0.0.0/0.0.0.0permit=192.168.0.0/16username=1000context=FASTDIALER_RAMAIScallerid=testefone <1000>requirecalltoken=nonat=nocanreinvite=noqualify=yesdisallow=allallow=alawcall-limit=2dtmfmode=RFC2833language=pt_BRCallgroup=1pickupgroup=1[2012]type=friendsecret=XXXXhost=dynamicdeny=0.0.0.0/0.0.0.0permit=192.168.0.0/255.255.0.0username=2012context=FASTDIALER_RAMAIScallerid=Telefone sem fio <2012>requirecalltoken=nonat=nocanreinvite=noqualify=nodisallow=allallow=alawcall-limit=2dtmfmode=RFC2833language=pt_BRCallgroup=1pickupgroup=1
____________________________________________________________ _____________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch- users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/ options/freeswitch-users
http://www.freeswitch.org