Connecting to FWD-FreeWorldDialUp

From Yate Documentation
Revision as of 18:35, 31 October 2013 by Monica (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

FWD stands for FreeWorldDialup.

In this example:

  • FWD_number - is the number that FWD provides, in Null Team case it's 269629.
  • FWD_password - is the password FWD provides, in Null Team case it's not public.

In this case you will be able to call any FWD prefixing it with 393 (i.e. dial 393269629 to call Null Team). Incoming FWD calls will also have 393 in front for your convenience. You need Yate09 latest CVS for this feature to work.

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...

See also

Personal tools
Namespaces

Variants
Actions
Preface
Configuration
Administrators
Developers