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-settings" 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
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
3. 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.