Yate as SIP server
(→Setting Yate as SIP Server) |
|||
(14 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
+ | Configuring Yate to act as a SIP Server and YateClient to act as a SIP Client. | ||
+ | |||
===Why this document=== | ===Why this document=== | ||
Learn how to: | Learn how to: | ||
* modify Yate's configuration files in order to use it as SIP server; | * modify Yate's configuration files in order to use it as SIP server; | ||
− | * use | + | * use Yate Client as an SIP client; |
− | * set up a telephony account on a SNOM 360 phone. | + | * set up a telephony account on a SNOM 360 phone. |
=== Main concepts === | === Main concepts === | ||
− | The important issue in this article is that Yate knows SIP protocol. | + | The important issue in this article is that Yate knows SIP protocol. Yate can be used as a SIP Server and Yate Client can be used as a SIP client. |
===Test situation=== | ===Test situation=== | ||
To check this functionality ''Yate as a SIP server'' use: | To check this functionality ''Yate as a SIP server'' use: | ||
− | * a Yate installed on a server | + | * a Yate installed on a server, this is used as SIP Server |
* a Yate Client installed on another server.See [http://yateclient.yate.ro/index.php/Download/Download Download] section. | * a Yate Client installed on another server.See [http://yateclient.yate.ro/index.php/Download/Download Download] section. | ||
* a SNOM phone (you can follow the steps from this tutorial:[[Yate_as_H323_GateKeeper_and_YateClient_as_H323_client#Configuring_Snom_phone| to configure SNOM phone]]) | * a SNOM phone (you can follow the steps from this tutorial:[[Yate_as_H323_GateKeeper_and_YateClient_as_H323_client#Configuring_Snom_phone| to configure SNOM phone]]) | ||
− | The purpose of this configuration schema is to make calls from SNOM phone to account in | + | The purpose of this configuration schema is to make calls from SNOM phone to the account in YateClient using the Yate SIP Server or reverse. |
+ | |||
+ | ===Setting Yate as SIP Server=== | ||
The easiest way to do it is to register this 2 accounts in regfile.conf and in ysipchan.conf you can use the general set up. The port options sets the port to which Yate will bind for SIP signalling. You may also specify an IP address (for multihomed machines) else Yate will listen on all interfaces. | The easiest way to do it is to register this 2 accounts in regfile.conf and in ysipchan.conf you can use the general set up. The port options sets the port to which Yate will bind for SIP signalling. You may also specify an IP address (for multihomed machines) else Yate will listen on all interfaces. | ||
Line 30: | Line 34: | ||
password=mysecret2 | password=mysecret2 | ||
− | + | Steps to follow to test your configuration: | |
− | Configure SNOM phone | + | * Start Yate Server. See [[Starting Yate]] for this step. |
− | + | * Configure SNOM phone, follow this [[Yate_as_H323_GateKeeper_and_YateClient_as_H323_client#Configuring_Snom_phone| steps]]. | |
− | Configure the other account in | + | * Configure the other account set in regfile in your YateClient: |
[[File:YC_sip_account.png]] | [[File:YC_sip_account.png]] | ||
− | After all configuration it is done you can | + | After all configuration it is done you can test your phones. |
+ | |||
+ | For the softphone, from the telephony tab, dial one of the following (what you should hear in your headphones is listed next to the number): 99991001 (dial tone), 99991002 (busy tone), 99991003 (ring tone). For the other phone you can use the same numbers to test. | ||
+ | |||
+ | After that you, you can start making calls between them. | ||
+ | |||
+ | |||
+ | '''See also''' | ||
+ | |||
+ | * [[Regfile| Register Module]] | ||
+ | * [[SIP in Yate]] | ||
+ | * [[SIP Security in Yate]] | ||
+ | * [[How To's]] | ||
+ | |||
+ | [[Category:SIP]] [[Category:Server]] [[Category:Client]] |
Latest revision as of 17:16, 31 October 2013
Configuring Yate to act as a SIP Server and YateClient to act as a SIP Client.
Contents |
[edit] Why this document
Learn how to:
- modify Yate's configuration files in order to use it as SIP server;
- use Yate Client as an SIP client;
- set up a telephony account on a SNOM 360 phone.
[edit] Main concepts
The important issue in this article is that Yate knows SIP protocol. Yate can be used as a SIP Server and Yate Client can be used as a SIP client.
[edit] Test situation
To check this functionality Yate as a SIP server use:
- a Yate installed on a server, this is used as SIP Server
- a Yate Client installed on another server.See Download section.
- a SNOM phone (you can follow the steps from this tutorial: to configure SNOM phone)
The purpose of this configuration schema is to make calls from SNOM phone to the account in YateClient using the Yate SIP Server or reverse.
[edit] Setting Yate as SIP Server
The easiest way to do it is to register this 2 accounts in regfile.conf and in ysipchan.conf you can use the general set up. The port options sets the port to which Yate will bind for SIP signalling. You may also specify an IP address (for multihomed machines) else Yate will listen on all interfaces.
So in configuration files set:
regfile.conf
[100] password=mysecret1 [200] password=mysecret2
Steps to follow to test your configuration:
- Start Yate Server. See Starting Yate for this step.
- Configure SNOM phone, follow this steps.
- Configure the other account set in regfile in your YateClient:
After all configuration it is done you can test your phones.
For the softphone, from the telephony tab, dial one of the following (what you should hear in your headphones is listed next to the number): 99991001 (dial tone), 99991002 (busy tone), 99991003 (ring tone). For the other phone you can use the same numbers to test.
After that you, you can start making calls between them.
See also