fb

Instructions on how to configure VoIP equipment Yate

Setup manual / Yate

Configuring Yate for Zadarma.

Key to the information which appears in the example:

  • 111111: Your sip number from personal account.
  • Password: Your password of sip number from section "SIP Connection" personal account.
  • 1234-100: Your PBX number from з personal account.
  • Password: Your password of PBX number from personal account.
  • 100: Yate extension number that connects to the softphone / ip-phone, in order to receive incoming calls and make outgoing calls.

1. Edit a file /usr/local/etc/yate/accfile.conf


[zadarma]
enabled=yes
protocol=sip
number=111111
username=111111
authname=111111
password=Password
registrar=sip.zadarma.com
domain=sip.zadarma.com
interval=120


[zadarma]
enabled=yes
protocol=sip
number=1234-100
username=1234-100
authname=1234-100
password=Password
registrar=pbx.zadarma.com
domain=pbx.zadarma.com
interval=120

2. Edit a configuration file Dialplan /usr/local/etc/yate/regexroute.conf


;Inbound route

^111111$=return;called=100    

;Outbound route

^...$=return  
^\(.*\)$=sip/sip:\1;line=zadarma;caller    


;Inbound route

^1234-100$=return;called=100    

;Outbound route

^...$=return  
^\(.*\)$=sip/sip:\1;line=zadarma;caller 

Create a Yate extension number that connects to the softphone / ip-phone in order to receive incoming calls and make outgoing calls. Edit the file /usr/local/etc/yate/regfile.conf


[100]
password=password

Configuration is complete.