Posted on 2009-02-09 08:52:42-08 by schuetzi
get back OT53-notification instead of OT51-result
Dear all, I also send SMS over a german SMS service-center from t-mobile. I allways send OT51 with request for notification. The Notificatin is received from a extra Script with wait_in_loop. Generelly this works good, and i can assign the notification to the send SMS with the Field sm in the receifed OT51-result. But sometimes I receive a OT-53 in the error-text instead of the expected OT51-result. In that case, I get no Id of the send message, and I can't assign the later received notification to the send sms (and so to the email of the sender). Is there a way to avoid this? Or is there another way to assign the notification to the sender? Thanks for any help, kind regards, Klaus Schuetz
Direct Responses: 9906 | Write a response
Posted on 2009-02-09 09:12:32-08 by nemux in response to 9905
Re: get back OT53-notification instead of OT51-result
Hi Klaus, I'm sorry but what you mean with : "I receive a OT-53 in the error-text instead of..." However, when you ask for a delivery notification a common communciation flow will be something like that : 1) Client send : OP 51 type O (submit sms) 2) SMSC response : OP 51 type R (submit sms response) When available.. 3) SMSC send : OP 53 type O (delivery notification) 4) Client send : OP 53 type R (delivery notification response) Regards, Marco Romano
Direct Responses: 9908 | Write a response
Posted on 2009-02-09 10:41:58-08 by schuetzi in response to 9906
Re: get back OT53-notification instead of OT51-result
Thank you, Marco, for the fast answer. I do step 1), send OP51 type O. Then (sometimes) I get back fom the SMSC OP53 type O form a SMS, that was send before, instead of the OP 51 type R. That happened, if my 2nd. Script don't receive the OP 53 type O with wait_in_loop, and the OP 53 type O is still on the SMSC. One packet later the SMSC sends the OP 51 type R, but in the $error_text from the command
"($acknowledge, $error_number, $error_text) = $emi->transmit_msg( $ucp_string, 5, 1 )"
there is the OP 53. Maybe my script is bad, I'm not a perl-master. Should I send you a dump or any other Information? Regards, Klaus
Direct Responses: 9909 | Write a response
Posted on 2009-02-09 10:48:06-08 by nemux in response to 9908
Re: get back OT53-notification instead of OT51-result
Klaus i'm glad to help net ucp users.. if i have time :) Please send me more information to my email address. Regards, Marco.
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.