antirek / asterisk-chan-dongle

Automatically exported from code.google.com/p/asterisk-chan-dongle
Other
5 stars 5 forks source link

CMGS ID in manager/cli - delivery reports #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Send a message through the manager
2. Send a message through cli

What is the expected output? What do you see instead?
Asterisk ID of the message and the CMGS ID given.

What version of the product are you using? On what operating system?
r3, ubuntu x86, asterisk 1.8

Please provide any additional information below.
Once the message is queued ( read the ok from the smstext ) the message is also 
given an id from the dongle itself that can be later united with the alert ( 
delivery report ) to see if a message was delivered.

Would be nice to see that CMGS ID in the manager response ( and cli ). Also 
would be useful for chan_dongle to report the cmgs id that was delivered ( or 
not delivered ) upon a delivery message !

Thanks in advance,
  Adrian

Original issue reported on code.google.com by dex...@d3xt3r01.tk on 13 May 2011 at 11:27

GoogleCodeExporter commented 9 years ago
This not defect.
id provided by modem in CMGS response not parsed and stored by chan_dongle.

ID reported by DongleSendSMS and references in event DongleSMSStatus 
is defined by chan_dongle and may repeat for SMS sended not simultaneously

You free to use DongleSendPDU and specify SMS ID in external software directly 
in PDU for future references

Original comment by bg_...@mail.ru on 17 May 2011 at 4:42

GoogleCodeExporter commented 9 years ago

Original comment by bg_...@mail.ru on 17 May 2011 at 4:42

GoogleCodeExporter commented 9 years ago

Original comment by bg_...@mail.ru on 17 May 2011 at 4:42

GoogleCodeExporter commented 9 years ago
I didn't say is a defect :) I know it isn't. I also noticed the ID reported by 
DongleSendSMS can repeat itself. The thing is that I can't correlate that ID 
with a status report ! I need the ID from the CMGS :) I already am using 
outside software to corelate stuff, would be nice to have this implemented ( 
including reading / event on sms delivery reports ) to have a full module :)

Thanks again in advance.

Original comment by dex...@d3xt3r01.tk on 17 May 2011 at 5:18

GoogleCodeExporter commented 9 years ago
has 2 problems:
1) autodelete doesn't seem to work ..
2) the ID is (nil) when notifying about a report .. also, they have to
be read manually 'till a check is implemented in the loop
- the main windows app does just that .. loops at+cpms="SM","SM","SM"
and checks if something new is in ..then loops through that.

Original comment by dex...@d3xt3r01.tk on 21 Nov 2011 at 9:31

Attachments: