Revision
17301
Author
math.parent
Date
2010-04-15 04:07:45 -0500 (Thu, 15 Apr 2010)

Log Message

Skinny: calling shared lines

Modified Paths

Diff

Modified: freeswitch/trunk/src/mod/endpoints/mod_skinny/skinny_protocol.c (17300 => 17301)


--- freeswitch/trunk/src/mod/endpoints/mod_skinny/skinny_protocol.c	2010-04-15 08:54:01 UTC (rev 17300)
+++ freeswitch/trunk/src/mod/endpoints/mod_skinny/skinny_protocol.c	2010-04-15 09:07:45 UTC (rev 17301)
@@ -584,8 +584,12 @@
 	            && (line_instance == helper->line_instance)) {/* the calling line */
 	       	/* nothing */
 	    } else {
-	    	/* TODO: capture and check what should happen here*/
-	        skinny_line_set_state(listener, line_instance, helper->tech_pvt->call_id, SKINNY_IN_USE_REMOTELY);
+			send_set_lamp(listener, SKINNY_BUTTON_LINE, line_instance, SKINNY_LAMP_ON);
+			skinny_line_set_state(listener, line_instance, helper->tech_pvt->call_id, SKINNY_IN_USE_REMOTELY);
+			send_select_soft_keys(listener, line_instance, helper->tech_pvt->call_id, 10, 0xffff);
+			send_display_prompt_status(listener, 0, "\200\037",
+				line_instance, tech_pvt->call_id);
+			skinny_send_call_info(session, listener, line_instance);
 	    }
 	}
 	return 0;