Problem in playing sound for SMS

Hi to al,

     Actually in my application i make use of AT+CRMP command for playing a melody when a SMS is received. I selected long beep i.e melody #2. Whenever i receive a SMS i can hear the beep once.But once im sending a SMS to restart my application my beep continues to be played.Where exactly my problem lies :question:  How to solve this issue :neutral_face: 

Thanks in Advance,
Chan

no reply from anyone. Not getting what i am trying to say :question: Do i need to explain it more clearly.

it sounds like the application doesn’t get the chance to stop the sms-melody.
have you tried to implement a timer to delay the restart until the sms-sound stopped playing?