Connecting to InPhoneX

From Yate Documentation
(Difference between revisions)
Jump to: navigation, search
(Created page with "Go to [http://www.inphonex.com/ InPhoneX website] for more information about InPhoneX. In this example: *SIP_number - your INPHONEX number, in bsd's case it's 2883221. *SIP_p...")
 
Line 27: Line 27:
 
  [to_sipx]
 
  [to_sipx]
 
  ^742\(.*\)$=sip/\1;line=iax;caller=SIP_number
 
  ^742\(.*\)$=sip/\1;line=iax;caller=SIP_number
 +
 +
'''See also'''
 +
* [[Stopping and restarting Yate]]
 +
* [[Routing]]

Revision as of 16:12, 18 September 2013

Go to InPhoneX website for more information about InPhoneX.

In this example:

  • SIP_number - your INPHONEX number, in bsd's case it's 2883221.
  • SIP_password - for logging in to INPHONEX network, in bsd's case it's not public.

You will be able to call any INPHONEX number prefixing it with 742 (i.e. dial 7422883221 to call bsd at sip.inphonex.com). Incoming INPHONEX calls will also be prefixed with 742 for your convenience. You need Yate-0.9.x or latest version from CVS for this feature to work.

In accfile.conf :

[sipx]
enabled=yes
protocol=sip
username=SIP_number
password=SIP_password
registrar=sip.inphonex.com

In regexroute.conf :

[default]
^SIP_number$=goto from_sipx
^742.=goto to_sipx

[from_sipx]
.*=sip/sip:user@ip;caller=742${caller}

[to_sipx]
^742\(.*\)$=sip/\1;line=iax;caller=SIP_number

See also

Personal tools
Namespaces

Variants
Actions
Preface
Configuration
Administrators
Developers