Virtual Phones
We have provided some standalone, virtual phones designed to help you with testing your applications. The virtual phones can be used to isolate problems which may arise during typical call states and may even be used to automate your testing.
Happy - The cheerful one. Happy and eager to talk whenever you choose.
[Phone initially connects, then disconnects after 60 seconds].
sip:happy@mockphones.nat.bt.com:5660
Bashful - The shy one. Shy and very soon gets too bashful to talk, then hastily hangs up.
[Phone initially connects, then disconnects after 3 seconds].
sip:bashful.3000@mockphones.nat.bt.com:5660
Dopey - The slow one. Has never really grasped the concept of using a telephone, so you never get connected.
[Phone never connects, phone reports problem with status = SERVICE_UNAVAILABLE].
sip:dopey@mockphones.nat.bt.com:5660
Doc - The clever one. Always in demand, you connect after 10 seconds, but his wise answers only ever take 3 seconds to tell you, then he disconnects.
[Phone connects after a delay of 10 seconds, then disconnects after a further 3 seconds].
sip:doc.10000.3000@mockphones.nat.bt.com:5660
Sneezy - The respiratorially challenged one. You get connected, but he sneezes after 10 seconds and accidently disconnects the call.
[Phone initially connects, then disconnects after 10 seconds].
sip:sneezy.10000@mockphones.nat.bt.com:5660
Sleepy - The sleepy one. You never get connected to this one.
[Phone never connects, after 60 seconds status becomes status = SERVICE_UNAVAILABLE].
sip:sleepy@mockphones.nat.bt.com:5660
Note: The old notation, with dashes instead of dots, and a random identifier is still valid for those using that notation.
Usage Examples (C#)
voiceComponent.Caller = CapabilityHelper.GetMockPhone(CapabilityHelper.MockPhone.Happy); voiceComponent.Callee = CapabilityHelper.GetMockPhone(CapabilityHelper.MockPhone.Sleepy);
