|
Home Resources Products
Developers |
Main • ConnectingToFWD
FWD - FreeWorldDialup In this example In your accfile.conf : [fwd] enabled=yes protocol=sip username=FWD_number password=FWD_password registrar=fwd.pulver.com localaddress=auto In your regexroute.conf :
[default]
^FWD_number$=goto from_fwd
^393.=goto to_fwd
^\*1700.=goto to_fwd
^\*18...=goto to_fwd
^\*31800.=goto to_fwd
^\*44\(800\|808\|500\).=goto to_fwd
^\*47800.=goto to_fwd
^\*49\(800\|130\).=goto to_fwd
^\*\*[0-9].=goto to_fwd
[from_fwd]
.*=sip/sip:user@ip;caller=393${caller}
[to_fwd]
^393\(.*\)$=sip/\1;line=fwd;caller=FWD_number
;Toll Free US, Netherlands, UK, Norway and Germany
^\*18....*$=sip/\0;line=fwd;caller=FWD_number;callername=International Call
^\*31800.*$=sip/\0;line=fwd;caller=FWD_number;callername=International Call
^\*44\(800\|808\|500\).*$=sip/\0;line=fwd;caller=FWD_number;callername=International Call
^\*47800.*$=sip/\0;line=fwd;caller=FWD_number;callername=International Call
^\*49\(800\|130\).*$=sip/\0;line=fwd;caller=FWD_number;callername=International Call
;IAXTel and all other FWD Peers!!
^\*1700.*$=sip/\0;line=fwd;caller=17009FWD_number
^\*\*[0-9].*$=sip/\0;line=fwd;caller=**393FWD_number
Note: if you don't have a routable IP address (Yate is running behind a NAT, directly or indirectly) or you have any reason to believe your address:port may be translated it is important to use the localaddress=auto line. Important: having Yate run on a Linux machine that performs NAT for a network behind it will make Yate's UDP ports to be translated, possibly to another address if there are already mappings from SIP clients running in the LAN. Found by me (paulc) the hard way... |
3 May 2010: 8 March 2010: 6-7 February 2010: 2 Nov 2009: 6 Aug 2008: 4 Aug 2008: 10 Jul 2008: Feb 2008: 21 Jan 2008: 3 September: 14 August: 16 April: 25 September: 25 September: 11 July 2006: 10 July 2006: June 1st 2006: |