Author Topic: on pc with multiple network cards how to associate yate sip server ?  (Read 7366 times)

manit123

  • Newbie
  • *
  • Posts: 13
    • View Profile
I am running yate 5.5.0-1 on windows 7 professional 64bit .
the desktop has two network cards and a wifi adapter .
Code: [Select]
Wireless LAN adapter Wireless Network Connection:

   Connection-specific DNS Suffix  . :
   IPv4 Address. . . . . . . . . . . : 192.168.7.2
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.7.1

Ethernet adapter Local Area Connection 1:

   Connection-specific DNS Suffix  . :
   IPv4 Address. . . . . . . . . . . : 10.3.255.102
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 10.3.255.101

Ethernet adapter Local Area Connection 2:

   Connection-specific DNS Suffix  . :
   IPv4 Address. . . . . . . . . . . : 10.0.0.2
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 10.0.0.1

I ran yate client on same pc using sip:499@10.0.0.2
i get
Unregistered account sip:499@10.0.0.2 reason: Not Implemented
Though yate service is running and regfile.conf has entry 499 with password 0000 .
Where am I going wrong ?

Is it possible to tell sip server to associate with ip 10.0.0.2 ?
In asterisk , we used to edit bind address entry in a specific file .

cc08

  • Guest
Re: on pc with multiple network cards how to associate yate sip server ?
« Reply #1 on: June 04, 2015, 02:30:52 PM »
You can see in ysipchan.conf section [general] and the parameters that you need inside.

marian

  • Hero Member
  • *****
  • Posts: 513
    • View Profile
Re: on pc with multiple network cards how to associate yate sip server ?
« Reply #2 on: June 08, 2015, 05:25:57 AM »
ysipchan.conf
[general]
port=
addr=

WARNING:
By default yate server and client use the same config directory.
Changing config affects both.
Usually the server starts first so it will bind on default port. The client will use an arbitrary one.
You mat create a new directory for client config and change the shortcut you are using to start it (see the '-c' command line parameter used to change config directory).

manit123

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: on pc with multiple network cards how to associate yate sip server ?
« Reply #3 on: November 19, 2015, 03:38:41 AM »
sorry . could not reply earlier .

suggestion works.
Here is my ysipchan.conf
Code: [Select]
[general]
port=5060
addr=10.0.0.2

Thanks.