Connecting to IAXtel
From Yate Documentation
(Difference between revisions)
(Created page with "In this example: *IAX_number - is the number that iaxtel.com provides, in bsd's case it's 17003009981. *IAX_password - is the password IAX provides, in bsd's case it's not pub...") |
|||
Line 29: | Line 29: | ||
[to_iax] | [to_iax] | ||
^1\(.*\)$=line/\1;line=iax;caller=IAX_number | ^1\(.*\)$=line/\1;line=iax;caller=IAX_number | ||
+ | |||
+ | '''See also''' | ||
+ | * [[Stopping and restarting Yate]] | ||
+ | * [[Routing]] |
Revision as of 16:11, 18 September 2013
In this example:
- IAX_number - is the number that iaxtel.com provides, in bsd's case it's 17003009981.
- IAX_password - is the password IAX provides, in bsd's case it's not public.
In this case you will be able to call any IAX/FWD prefixing it with 1700300 (i.e. dial 17003009981 to call bsd at iaxtel.com) or prefixing it with 17009 (i.e. dial 17009507897 to call bsd at fwd.pulver.com). Incoming IAX/FWD calls will also have 1700300 or 17009 in front for your convenience.
In accfile.conf :
[iax] enabled=yes protocol=iax username=IAX_username ;(Not number) password=IAX_password registrar=iaxtel.com
In regexroute.conf :
[default] ^IAX_number$=goto from_iax ^1700.=goto to_iax ^1800.=goto to_iax ^1888.=goto to_iax ^1877.=goto to_iax ^1866.=goto to_iax [from_iax] .*=iax/iax:user@ip;caller=${caller} [to_iax] ^1\(.*\)$=line/\1;line=iax;caller=IAX_number
See also