[VOIPSEC] creating virtual phones

Robin Wood robin at digininja.org
Sat Jul 10 05:46:01 CDT 2010


On 10 July 2010 11:05, Saúl Ibarra Corretgé <saghul at gmail.com> wrote:
> Hi Robin,
>
> On Sat, Jul 10, 2010 at 10:46 AM, Robin Wood <robin at digininja.org> wrote:
>> I'm thinking of putting Asterisk and a few virtual machines with soft
>> phones in my lab but for the soft phones to work they will need access
>> to a handset. I could get hold of a few real handsets and share them
>> over USB to each machine so each one has a real handset but I was
>> wondering, if the clients are running on linux, is there a way to set
>> up a device that I can just cat an mp3 or wav to to simulate someone
>> talking?
>>
>> The goal of the idea is to have a script which will sit on both sides
>> of the call and either at intervals, or randomly, inject some noise
>> into the call so I can concentrate on capturing and playing with
>> packets and not have to worry about making real noise into real
>> microphones.
>>
>> Can it be done?
>>
>
> Sure, you may want to try pjsua (http://www.pjsip.org) it's a complete
> command line based SIP softphone. You can instruct it to auto answer
> and play a file.
>
> If you want complex scenarios you may want to use SIPp
> (http://sipp.sourceforge.net/). With it you can create a XML scenario
> describin the behavior you want and it can stream files in pcap
> format.

SIPp sounds like the best as it does both sides of the conversation. I
just grabbed it and did a test build and it ran straight off so I'll
give it a go when I get round to setting the lab up.

Thanks

Robin




More information about the Voipsec mailing list