An open API service indexing awesome lists of open source software.

https://github.com/elasticrash/tiggy

A naïve implementation of a non media UA (softphone)
https://github.com/elasticrash/tiggy

rust softphone telco ua user-agent

Last synced: 8 months ago
JSON representation

A naïve implementation of a non media UA (softphone)

Awesome Lists containing this project

README

          

# tiggy
----------
A Naive implementation of non Media enabled cli softphone. This id my rust/sip playground

Features & Flaws:

* Autoanswers incoming calls
* Can Make outbound calls
* State is in a messy state, but kind of useable
* SIP can be logged automaticall in a pcap file, if provided which interface needs to be monitored
* Its only been tested in few specific setups
* Naive attempt to implement RTP on my own

I am dropping the TUI interface in favour for an http interface.

Ill keep the tui tagged if anyone is interested.

### Config
```JSON
{
"username": "username",
"extension": "xxxx",
"password": "password",
"sip_port": 5060,
"sip_server": "test.server.com",
"pcap": "3588BAE5-461C-4B83-B99E-287DEAE44B0E"
}
```

Pcap property is optional and it's the name of the interface you need to monitor. [1]

#### Windows
* Install Npcap.
* Download the Npcap SDK.
* Add the SDK's /Lib or /Lib/x64 folder to your LIB environment variable.

#### Linux (not tested yet)

Install the libraries and header files for the libpcap library. For example:

* On Debian based Linux: install libpcap-dev.

[1] I have pcap commented out because its annoying to setup Npcap everytime