https://github.com/embox/pjsip
Scripts for building pjsip environment for host machine
https://github.com/embox/pjsip
Last synced: about 1 year ago
JSON representation
Scripts for building pjsip environment for host machine
- Host: GitHub
- URL: https://github.com/embox/pjsip
- Owner: embox
- Created: 2015-06-02T13:42:59.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2018-10-31T15:05:23.000Z (over 7 years ago)
- Last Synced: 2025-04-04T13:44:59.275Z (about 1 year ago)
- Language: C
- Size: 1.94 MB
- Stars: 9
- Watchers: 7
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pjsip on host
Scripts for building pjsip environment for host machine
## Building
1. Place pjproject-2.4.tar.bz2 in repo folder (archieve could be obtained here http://www.pjsip.org/release/2.4/pjproject-2.4.tar.bz2).
2. Run `./build_pjproject.sh` to extract archieve and build it
3. Run `make` to build `simpleua`
## Running
Just run `simpleua` with address of remote sip client, for example:
`./simpleua sip:test@192.168.1.128`
This command will directly connect two hosts. You will be able to here .wav playing on the other end.
### Advanced running
1. There are a bunch of options in simpleua.c (`PLAYBACK_ONLY`, etc.). For example, using `PLAYBACK_AND_RECORD` option
you will be able to play sound from .wav instead of using microphone and record sound to .wav instead of using speakers.
2. You can use `simple_pjsua` to test call with server registration.
Just run `./simple_pjsua` on one host, and the `./simple_pjsua sip:6001@test`, where `6001`
is a phone number of the other peer. You have to configure asterisk server before, or use some pre-configured one.