public static JSONObject sendIosPush(int usrId, int grpId, String userName,
			int type, int topic, String p1, String p2, String p3) {

		// JobNotification job = new JobNotification();
		// job.getConnect();

		String appKey = "54448f6bfd98c510370002ea";
		String appMasterKey = "secdrocdfl5zsckepom65vy83hq8w4nm";
		String timestamp = "" + System.currentTimeMillis();
		iosTimeStamp = timestamp;
		UMessage msg = new UMessage();
		msg.setAppkey(appKey);
		msg.setTimestamp(timestamp);

		iosValidation = getValidationToken(appKey, appMasterKey, timestamp);
		msg.setValidation_token(getValidationToken(appKey, appMasterKey,
				timestamp));

		System.out.println(timestamp + "  " + msg.getDevice_tokens());
		PayLoad payLoad = new PayLoad();
		payLoad.setDisplay_type("notification");

		Aps aps = new Aps();
		aps.setAlert("New Message");
		List<String> keys = new ArrayList<String>();
		List<String> values = new ArrayList<String>();

		keys.add("n");
		keys.add("u");
		keys.add("g");
		keys.add("t");
		keys.add("o");
		keys.add("" + 1);
		keys.add("" + 2);
		keys.add("" + 3);

		values.add(StringUtils.gbEncoding(userName));
		values.add("" + usrId);
		values.add("" + grpId);
		values.add("" + type);
		values.add("" + topic);
		values.add(p1);
		values.add(p2);
		values.add(p3);

		payLoad.setAps(aps);

		payLoad.setKeys(keys);
		payLoad.setValues(values);

		msg.setPayLoad(payLoad);
		msg.setType("broadcast");
		System.out.println(msg.toIOSJson());

		try {
			JSONObject ob = doPost(msg.toIOSJson());
			// System.out.println(ob);
			return ob;
		} catch (Exception e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		return null;
	}