How to Simulate SIP over Ethernet

This page describes the way to simulate a SIP User Agent with the following features:-

  • Connection to an Ethernet network.
  • Establishment of signalling and media channels using SIP.
  • No registration with a Proxy.

Connecting the unit

The Clarinet Book USB Ethernet 10/100 uses the RJ45 or AUI port and can be connected  to a 10Base2 BNC connector by using:-

  • An external transceiver (provided as an accessory) AUI-10B2 
  • The power supply of the Clarinet Book which provide the power to the transceiver

Setting the test conditions for Ethernet profile

A new profile can be created with the Wizard from the template list by selecting:-

  • LAN application.
  • Profile with a description including LAN, Simu, PH=10BT DL=SIP
  • Filter with a description including  DL=MAC802.3/Auto/SIP

Example using the wizard:-

  • Profile=>New=>LAN=>lan_simu_sip_ua.acp=>Filter?=>Lan_auto_sip.acf

The IP type simulation profile Sip_simu_mac_ua.aip invoked by the Lan_simu_sip_ua.acp is automatically copied in the same directory. 

Both profiles (*.acp and *.aip) resulting from the wizard are ready for SIP simulation over an Ethernet 10 Mbits interface.

Modifications can apply to the profile lan_simu_sip_ua.acp

  • About physical interface:-
    • IEEE 802.3 Init:  RJ45 10 Mbits or 100 Mbits.
      see also item Monitor Tx messages in Interface specification
  • About IP call simulator name
  • About acquisition limited to a set of MAC addresses
  • Save the profile under a new name:
    • Profile=>Save as=>filename.acp.

Most of the modifications apply to the profile Sip_simu_mac_ua.aip resulting from the copy.

Setting the addresses for basic SIP simulation profile

Profile Sip_simu_mac_ua.aip  needs to have some modifications of the default destination/source:-

  • Open the profile:
    • Profile=>Open IP...=>Sip_simu_mac_ua.aip
  • Modifications to setup the Emulators of the SIP User Agent:-

    • Changing the MAC address: Initialise Initialize Emulator=>MAC
      Setting the value of Own Ethernet address (hex)
    • Changing the IP address: Initialise Initialize Emulator=>IP   
      Setting the value of Own IP address
      Optionally the subnet mask and the Gateway address should be added
      That IP value will be used as IP source of transmitted IP packets 
    • Changing the TCP hostname: Initialize Initialize Emulator=>TCP-IP  (use-sockets)
      Setting the value of Hostname
      That  value will be used to "auto- update" URI's host of headers (Via, From, To, Contact..) in SIP messages 
  • Modifications to setup the SIP parameters of the SIP User Agent:-

    • Setting the stack UDP / TCP to run SIP protocol  Initialize Emulator=>SIP=>SIP Protocol Parameters 
      • Selecting TCP or USP
      • Setting  value of TCP address port  or UDP address port  
  • Modifications to setup the SIP messages used by the SIP-UA:-

    • Changing the content of INVITE Generator=>SIPDestination1=>Edit
      Setting the content of INVITE:
      • URI of destination is set in the To field (start line will be automaticaly updated)
      •  setting the content of body with sdp fields 
      That  value and field "Content-sdp" will be automatically added if the line  is removed
    • Changing the conditions for terminating calls  Responder=>SIPSource1=>Edit
      Setting the matching condition  if find :
      • by default the string is set the the beginning of the INVITE set into Generator
      If the conditions matches, it allows to reply to the first INVITE; the other ones with the same content will be discarded .
  • Save the profile under a new name:
    • Profile=>Save as=>filename.aip.
  • Select this new name in the LAN profile and save it.
    • Profile=>Save as=>filename.acp.

Running the profile

The profile is ready to generate one outgoing call and to terminate any incoming call for 30 seconds.

To launch the profile:-

  • Select Profile=>Run or click on horse_on.gif (968 octets). You will be able to select the name of profile (see Running a test).
  • The Event Editor window is automatically opened.

To stop the profile:-

  • Click on horse_off.gif (975 octets)  (see: Stopping a test).
  • The Event Editor window is automatically closed.

Troubleshooting over Ethernet

  • No messages are displayed in the Event Editor window. Check if the LED of the Clarinet Book show activity over LAN interface 

 


home     Quick start     Specifications     Connections     Features     How to?     Notes     Search     Site Map

updated:  25-Sept-02