VoIP

Tuesday, January 19, 2016

Python pycall works like a champ

import sys
from pycall import CallFile, Call, Application

def call(number):
        c = Call('SIP/%s' % number)
        a = Application('Playback', 'hello-world')
        cf = CallFile(c, a, user='asterisk')
        cf.spool()

if __name__ == '__main__':
        call(sys.argv[1])

Monday, January 18, 2016

Zoiper 1.3 for Android video with Asterisk/FreePBX

vp8 does not seem to work, but h263p does work.  Zoiper crashed if fps or size were different settings on each endpoint.

Had to add the following to the sip_general_additional.conf:

allow=h263p
videosupport=yes

15fps struggled sometimes, but seems to work.  30fps can setup initial call, but then frames freeze for long periods.

Devices:

Samsung S5
Samsung S3

Wednesday, September 3, 2014

DIDs

This was referred by Glebe.

https://www.didww.com/


Tuesday, August 19, 2014

Interesting VoIP Startups

https://www.sendhub.com/

https://layer.com/

Sunday, February 19, 2012

Thursday, February 16, 2012

twinkle

domain needs to be registration switch.

Wednesday, October 19, 2011

g729 to PCM conversion

Nice write up at this link:

http://myartblog.wordpress.com/2008/06/20/how-to-playback-g729-audio-streams/


How to playback G729 audio streams

After you captured the audio stream using Wireshark, you want to playback the RTP stream.  Unfortunately, Wireshark can only decode G711 streams but the stream that you captured is G729. Follow the steps below to playback G729 streams
1- Open the capture in Wireshark, 
2- If you do not see the RTP packets (G729) , you might need to select the UDP packets -> right click and select Decode As… -> RTP (in the scrolling menu)
3- The rtp packets should now show up as G729.
4- Go to ”Statistics -> RTP -> Show All Streams”. Select the desired stream and press “Analyze”.
5- Select ”Save Payload…”. Save options are Format = .raw and Channel = forward. Name file sample.raw. The file should now be saved on your PC in RAW format.
6- Convert the .raw file to .pcm format using the Open G.729 decoder.
Syntax: va_g729_decoder.exe sample.raw sample.pcm.raw
Or for Linux: wine va_g729_decoder.exe sample.raw sample.pcm.raw
7- Open Audacity and select “Project -> Import Raw File…”.
8- Select the sample.pcm.raw file and choose 
  • Signed 16-bit pc
  • No endianness
  • 1 channel (mono)
  • Start offset: 0
  • Amount to import: 100%
  • Sample rate: 8000

Followers