Find Jobs
Hire Freelancers

Need PHP function to generate PDU.

$30-250 USD

Slutfört
Publicerad över fyra år sedan

$30-250 USD

Betalning vid leverans
I am currently sending SMS with AT commands in Text mode. In order to better support concatenated SMS, line breaks, and encodings, I want to switch to PDU mode. I need a PHP function that will generate PDU to be sent by Asterisk. Output need to be a JSON array with the PDU generated and part number, and total number of parts. Maxumum parts is 10. If more than 10 parts, error needs to be returned. If a mandatory parameter is missing or if parameter has wrong format, error needs to be returned. Parameters sent: *Destination number in international format (ie: 14152470402) *Message – SMS content Validity Period - in hours (if empty, Default is 72 hours) Status Report Request - 0 or 1 (if empty, Default is 1) Response expected: Status - ok (success) / ok (error with code) Number of parts - parts in total Order - order number of each part PDU (ie: 07912160130300F411000A8158888700890000aa27D3E614D42CCEE7E17319342FBBE920B3FCDD0605A9A0E1) if status is OK Error reply { "status":"error", "id":3 } Success reply (1 part) { "status":"ok", "total":1, "parts": [ { "order":1, "pdu":"007100099121436587F90008FF8C05000329030100370033621030EC306E30E9306D662F8868308562266A29306630554EF656F330605B9A590930C430C1629E96C530A85D0E00390038524D30CF51FA5B503053305E3050653F969B7A81307C52367F8E3075305F696D514330A666F8712130EA3073540C7C7330B330DF30BD30E94ED8829D5EA78D85308B307F30B9305C30025DE830D530EC" }, ] } Success reply (3 parts) { "status":"ok", "total":3, "parts": [ { "order":1, "pdu":"007100099121436587F90008FF8C05000329030100370033621030EC306E30E9306D662F8868308562266A29306630554EF656F330605B9A590930C430C1629E96C530A85D0E00390038524D30CF51FA5B503053305E3050653F969B7A81307C52367F8E3075305F696D514330A666F8712130EA3073540C7C7330B330DF30BD30E94ED8829D5EA78D85308B307F30B9305C30025DE830D530EC" }, { "order":2, "pdu":"007100099121436587F90008FF8C05000329030230AF65AD82B830A230B530BD53168F2930CC30A230B78EE25C3130B330EF66428A664E2630EA30BD30CF30ED66F84EAC30443081304A80055CA1663C306D30B950AC7D4430AA65B05C5E30FC308F306B304D65995C0630FC72695EB75EFA62D8304B307330B9304830028A6630D830BD30CF30CA5CA179D26B62305A3060307030444E880038" }, { "order":3, "pdu":"007100099121436587F90008FF5E05000329030300317AF630AD4F7352DD30AF304882B8003375B530C3305C308230508FD1529B304E3084524D97003076305F306430885FF500350031822A30E130A676845171304A8EE299AC30EA30C459D35EA66210520652DF305E3002" } ] } Function needs to check the message encoding for the DCS. It can be alphabet (GSM 7bit) or languages such as Chinese, Korean, Japanese, Arabic... (UCS2 (16bit)) (*) Mandatory fields Expected: - The PHP function - PHP script calling the function with parameters and displaying result. - List of error codes - List of tests done
Project ID: 22320910

Om projektet

9 anbud
Distansprojekt
Senaste aktivitet fyra år sedan

Ute efter att tjäna lite pengar?

Fördelar med att lägga anbud hos Freelancer

Ange budget och tidsram
Få betalt för ditt arbete
Beskriv ditt förslag
Det är gratis att registrera sig och att lägga anbud på uppdrag
Tilldelad till:
Använd avatar
I understand that you need a php function to convert msg into PDU as well as handle serial communication that you are currently doing via AT command. Please confirm my understanding as you have detailed PDU but no details about serial/usb communication. I have implemented SMS gateways before. My proposal is for a simple communication with limited error checking. UPDATE: NOW BID IS FOR PDU PART ONLY. Regards, Kamran
$95 USD Om 4 dagar
5,0 (12 omdömen)
5,1
5,1
9 frilansar lägger i genomsnitt anbud på $145 USD för detta uppdrag
Använd avatar
Hello i hope you are fine. i have highly experience in Php base website development. Will help you to build PHP function to generate PDU. So can we discuss in detail via private chat related requirements? Looking forward here back form you soon Thanks
$210 USD Om 7 dagar
4,7 (516 omdömen)
8,3
8,3
Använd avatar
Dear Customer! I am an expert PHP developer with over 14 years of experience. Very interested to work on your project. My bid is for top quality work. Available to start immediately and finish as soon as possible. Please contact to discuss details. Thank you, zeke
$100 USD Om 5 dagar
4,5 (182 omdömen)
7,5
7,5
Använd avatar
I can start work right now and I can show you perfect result in a short time. Please contact me freely. Waiting for you with your great news.
$140 USD Om 7 dagar
5,0 (65 omdömen)
6,2
6,2
Använd avatar
Dear Client! Nice to meet you. My name is XiuZhe Gong, web&app expert from China. I'm a senior web&app developer with over 5 years of experience and very strong in this PHP. I can complete your project as you want. please contact me so that we can discuss more. Regard.
$140 USD Om 7 dagar
4,9 (3 omdömen)
2,6
2,6
Använd avatar
Hello, I have fully read your request. I would like to have chat to discuss your project in more detail. I have 10 years of experience in web development specifically in PHP/SQL and I am an expert in Angular. Contact me so we can talk more about the project.
$120 USD Om 5 dagar
5,0 (3 omdömen)
1,1
1,1
Använd avatar
Hello, My name is Xiu and I would love to work on this project. I have 5+ year of industrial experience of working with PHP, CODEIGNITOR, LARAVEL, WORDPRESS, WOOCOMMERCE, SHOPIFY, MySQL, JQUERY, PSD TO HTML, PSD TO CMS, BOOTSTRAP, HTML5, CSS3. I have gone through with your complete requirement. I assure you that I will deliver this project as per your requirement within in the given time frame and at a reasonable price.
$140 USD Om 7 dagar
0,0 (0 omdömen)
0,0
0,0

Om kunden

Flagga för SINGAPORE
singapore, Singapore
5,0
2
Verifierad betalningsmetod
Medlem sedan juli 6, 2017

Kundverifikation

Andra uppdrag från denna kund

Redo logo in SVG
$80 SGD
Tack! Vi har skickat en länk för aktivering av gratis kredit.
Något gick fel med ditt e-postmeddelande. Vänligen försök igen.
Registrerade Användare Totalt antal jobb publicerade
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Laddar förhandsgranskning
Tillstånd beviljat för geolokalisering.
Din inloggningssession har löpt ut och du har blivit utloggad. Logga in igen.