Callwait 3partycall
Call Waiting Test cases:
TC1- VENDOR_BT is defined in the build .Make a call from A to B ,from C call B and B hears a beeptone indicating call waiting.Press the flash button in B and connect the call to C ,C can hear B now.Press flash button in B again to swtich call to A and put C on hold. Terminate the call - We can see re-invite sdp going with sendonly/recvonly whenputting call on hold and sendrecv when unhold is done.
TC2- If VENDOR_BT is not defined in build the default IOPSYS behaviour is set. if call waiting is enabled ,we can hear beeptone when a call comes while another is in progress if call waiting is disabled we get a 486 busy response and call get closed down for the 3rd party
TC3 -Set asterisk.call_features.moh_passthrough='0' and Copy call-waiting tone like 'cp /usr/share/asterisk/sounds/call-waiting.gsm /usr/lib/asterisk/moh ' .When a party is put on hold announcement can be heared.
TC4- When was have call waiting in progree a new header is see in the 180 ringing i.e Alert-Info if VENDOR_BT is set Alert-Info: urn:alert:service:call-waiting
TC5- In folder /usr/share/asterisk/sound (for testing setup purpose copy sound files) in dut cp call-waiting.gsm cw_on.gsm cp cancelled.gsm cw_off.gsm dial *43# for call-waiting activation from the phone ,call waiting sound is played and ,#43# to hear the cw_off recording.
3-Party call test cases:
The iopsys is using the recall button for the functionality of 3-party call
#if a 2-way call is in progress and flash is pressed , the callee goes to hold .The caller calls the anther party and on call connection and
later with flash press ,all are in a 3-party conference call .
TC1- Register 3 users .A and B are in call ,B press flash and put A on hold .B calls to C ,B press flash again to setup 3 party conference calls btw A,B ,C .C leaves call ,A and B continue to be in the call -- PASS
TC2- Try Setting max session per line via asterisk config file by uci set asterisk.tel_options.maxsessionsperline='0' If set > 20 or less then 1 will be default to 2. Can be verified by logs,see error :chan_brcm.c: Incorrect session limit per line '0', defaulting to '2' -- PASS
TC3- 2-way call in progress ,recall pressed ,dial tone is heared and number is dailled ,3 party answers,recall pressed,3-party call is establised ,susequent recall are ignored - PASS
TC4 - if the intiator of 3 party leaves.call is cleared and other 2 callers are disconneced. ---pass
TC5 - if anyone else then intiator of 3 party leaves ,call is converted to 2-way call --pass
TC6- 2-way call in progress ,recall pressed ,dial tone is heared and number is dailled ,3 party doent answers .hangup for ringback .call is returned and hold is removed. -PASS