בקשת קוד
-
@amp-Software
יש גם אפשרות שישמיע תאריך? כי השרת מקבל מימות את התאריך בצורה לא ברורה בכלל. -
@אליהושש כן אני יתן קוד
-
<?php $ApiEnterId = $_GET['ApiEnterID']; $ApiEnterId = str_replace("phone-" , "" , $ApiEnterId); $ApiEnterId = str_replace("digits-" , "" , $ApiEnterId); $ApiEnterId = str_replace("teudat_zehut-" , "" , $ApiEnterId); $ApiEnterId = str_replace("list-" , "" , $ApiEnterId); $ApiEnterId = str_replace("enter_phone_list-" , "" , $ApiEnterId); $ApiEnterId = str_replace("list_all_information-" , "" , $ApiEnterId); $ApiEnterId = str_replace("phone_from_list_all_information-" , "" , $ApiEnterId); $ApiEnterId = str_replace("phone_or_enter_phone-" , "" , $ApiEnterId); $data = date('d@m/Y'); $data = str_replace("@" , ".t-ל.n-" , $data); $data = str_replace("/" , ".n-" , $data); echo "id_list_message=f-file1.d-" . $ApiEnterId . ".f-file2.t-" . $_GET['ApiEnterIDName'].".t-התאריך כעת הוא.n-".$data; ?> -
@קו-כשר-מערכות-טל
תודה!!! עובד מצויין!!!
מסתמא אין אפשרות שישמיע תאריך עברי.
וסתם שאלה מה זה הח.ל. שמשמיע אחרי היום לפני החודש -
@אליהושש זה לא ח.ל. אלא .t-ל.n- שישמע "ל" ואחר כך יחזור להשמעת מספרים
-
@קו-כשר-מערכות-טל עובד מצוין אין עליך
-
1 121244 סימן נושא זה כשאלה ב
-
1 121244 סימן נושא זה כנפתר ב
-
@121244 שמחתי לעזור
-
@קו-כשר-מערכות-טל אתה יכול לעשות שהמאזין ישמא את הסיסמה האישית שלו באנטר id?
-
@קו-כשר-מערכות-טל אתה יכול לעשות שהמאזין ישמא את הסיסמה האישית שלו באנטר id?
איזה התחברות?
איפה הקובץ? -
@קו-כשר-מערכות-טל הקובץ בשלוחה הראשית כנ"ל ההתחברות
-
-
@קו-כשר-מערכות-טל ליסט. ועל הדרך אם תוכל לעשות שלא יגיד את התאריך....
-
ועל הדרך אם תוכל לעשות שלא יגיד את התאריך....
-
@קו-כשר-מערכות-טל בזה הוא לא אומר טוב את השם ולגבי מה שביקשתי , אתה לא יכול?
-
-
-
מודול המשמיע את הסיסמה האישית
עריכה: תוקן באג<?php $ApiEnterId = $_GET['ApiEnterID']; $ApiEnterId = str_replace("phone-" , "" , $ApiEnterId); $ApiEnterId = str_replace("digits-" , "" , $ApiEnterId); $ApiEnterId = str_replace("teudat_zehut-" , "" , $ApiEnterId); $ApiEnterId = str_replace("list-" , "" , $ApiEnterId); $ApiEnterId = str_replace("enter_phone_list-" , "" , $ApiEnterId); $ApiEnterId = str_replace("list_all_information-" , "" , $ApiEnterId); $ApiEnterId = str_replace("phone_from_list_all_information-" , "" , $ApiEnterId); $ApiEnterId = str_replace("phone_or_enter_phone-" , "" , $ApiEnterId); $did="מספר מערכת"; $password="סיסמה"; $url="https://www.call2all.co.il/ym/api/GetTextFile?token={$did}:{$password}&what=ivr2:/EnterIDPassword.ini"; $str = file_get_contents($url); $str = json_decode($str, true); $str=$str['contents']; $str = str_replace("\n" , "..." , $str); $st = strpos( $str, "{$ApiEnterId}=", $offset = 0); $stre = mb_substr($str, $st, 999, "UTF-8"); $t = strpos( $stre, "...", $offset = 0); $y = mb_substr($str, $st, $t, "UTF-8"); $y = str_replace("{$ApiEnterId}=" , "" , $y); if($y==null){$yy=".t-עדיין אין סיסמה אישית";}else{$yy=".d-{$y}";} print "id_list_message=t-הסיסמה האישית שלך היא{$yy}"; ?>עריכה: תוקן באג
-
@קו-כשר-מערכות-טל כתב בבקשת קוד:
<?php $ApiEnterId = $_GET['ApiEnterID']; $ApiEnterId = str_replace("phone-" , "" , $ApiEnterId); $ApiEnterId = str_replace("digits-" , "" , $ApiEnterId); $ApiEnterId = str_replace("teudat_zehut-" , "" , $ApiEnterId); $ApiEnterId = str_replace("list-" , "" , $ApiEnterId); $ApiEnterId = str_replace("enter_phone_list-" , "" , $ApiEnterId); $ApiEnterId = str_replace("list_all_information-" , "" , $ApiEnterId); $ApiEnterId = str_replace("phone_from_list_all_information-" , "" , $ApiEnterId); $ApiEnterId = str_replace("phone_or_enter_phone-" , "" , $ApiEnterId); $data = date('d@m/Y'); $data = str_replace("@" , ".t-ל.n-" , $data); $data = str_replace("/" , ".n-" , $data); echo "id_list_message=f-file1.d-" . $ApiEnterId . ".f-file2.t-" . $_GET['ApiEnterIDName'].".t-התאריך כעת הוא.n-".$data; ?>זה ממש מוצלח.
יש אפשרות שהוא גם יכניס את הנתונים [מספר טלפון, שם, תאריך ושעה ואם אפשר גם תאריך ושעה שהמאזין ניתק את השיחה כי ראיתי כאן שהשרת מקבל גם כן נתונים בניתוק השיחה מכל שלוחה במערכת ] לקובץ TTS במערכת כקובץ הגבוה בשלוחה????
אשמח מאד אם תוכל לכתוב לי כזה קוד.
תודה מראש!!!!! -
-
@קו-כשר-מערכות-טל כתב בבקשת קוד:
מודול המשמיע את הסיסמה האישית
<?php $did="מספר מערכת"; $password="סיסמה"; $path="שלוחה למעבר בסיום"; $ApiEnterId = $_GET['ApiEnterID']; $ApiEnterId = str_replace("phone-" , "" , $ApiEnterId); $ApiEnterId = str_replace("digits-" , "" , $ApiEnterId); $ApiEnterId = str_replace("teudat_zehut-" , "" , $ApiEnterId); $ApiEnterId = str_replace("list-" , "" , $ApiEnterId); $ApiEnterId = str_replace("enter_phone_list-" , "" , $ApiEnterId); $ApiEnterId = str_replace("list_all_information-" , "" , $ApiEnterId); $ApiEnterId = str_replace("phone_from_list_all_information-" , "" , $ApiEnterId); $ApiEnterId = str_replace("phone_or_enter_phone-" , "" , $ApiEnterId); $url="https://www.call2all.co.il/ym/api/GetTextFile?token={$did}:{$password}&what=ivr2:/EnterIDPassword.ini"; $str = file_get_contents($url); $str = json_decode($str, true); $str=$str['contents']; $str = str_replace("\n" , "..." , $str); $st = strpos( $str, "{$ApiEnterId}=", $offset = 0); $st = str_replace("{$ApiEnterId}=" , "" , $st); $stre = mb_substr($str, $st, 999, "UTF-8"); $t = strpos( $stre, "...", $offset = 0); $y = mb_substr($str, $st, $t, "UTF-8"); $y = str_replace("{$ApiEnterId}=" , "" , $y); print "id_list_message=t-הסיסמה האישית שלך היא.d-{$y}.g-/{$path}&"; ?>מודול המשמיע את הסיסמה האישית
זה עובד?
שלום! נראה שהשיחה הזו מעניינת אותך, אבל עדיין אין לך חשבון.
נמאס לכם לגלול בין אותם הפוסטים בכל ביקור? כשנרשמים לחשבון, תמיד תחזרו בדיוק למקום שבו הייתם קודם, ותוכלו לבחור לקבל התראות על תגובות חדשות (בין אם במייל, ובין אם בהתראת פוש). תוכלו גם לשמור סימניות ולפרגן ב-upvote לפוסטים כדי להביע הערכה לחברי קהילה אחרים.
בעזרת התרומה שלך, הפוסט הזה יכול להיות אפילו טוב יותר 💗
הרשמה התחברות