~eenermckeener


#48 mmsd[]: Failed to handle incoming notification. 4 years ago

Comment by ~eenermckeener on ~anteater/mms-stack-bugs

My bad, as Fuzzy corrected me, it's trying to decode the 0x16 header MMS_SUBJECT. This returns NULL in case WSP_VALUE_TYPE_LONG: so I added

if (dec_text == NULL)

dec_text = "subject";

to that case and it manages to finish decoding. Stuck on bearer_timeout now when it goes to get the message which I"m suspecting is a problem with ofono not setting up a default route via wwan0 to get to the mmsc.

#48 mmsd[]: Failed to handle incoming notification. 4 years ago

Comment by ~eenermckeener on ~anteater/mms-stack-bugs

Well, that got me further despite not being on a Tmobile connection (Virgin/Bell Canada).

It does a lot more but still ends in failed to handle notificiation

https://gitlab.com/ikidd/mms-build/-/snippets/2027934

So this seems to be __MMS_HEADER_MAX in mmsutil.c and that case I think just returns null in the handler routine header_handler. I don't see a copy of the message in ~.mms/<modemID?> folder so I can't see what it was trying to parse there. Not sure how to get a copy of that as it would seem to delete it if it fails.

#46 thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: D-Bus error: Method "GetProperties" with signature "" on interface "org.ofono.SimManager" doesn't exist (org.freedesktop.DBus.Error.UnknownMethod)', 4 years ago

Comment by ~eenermckeener on ~anteater/mms-stack-bugs

yes, I"m getting the same issue.

Just an FYI, you might find the start and stop scripts in my git useful: https://gitlab.com/ikidd/mms-build

Also, am on with Silver and Fuzzy7k on Matrix pinephone room.

#48 mmsd[]: Failed to handle incoming notification. 4 years ago

user support added by ~eenermckeener on ~anteater/mms-stack-bugs

#48 mmsd[]: Failed to handle incoming notification. 4 years ago

Ticket created by ~eenermckeener on ~anteater/mms-stack-bugs

Please reference https://gitlab.com/ikidd/mms-build for script files

I installed the stack as per the file vgmms_setup.sh in the git. Then reboot and run startmms.sh. Everything comes up, mmsd is running in background but kicking out messages. Tried an incoming mms via https://www.twilio.com/mms demo and I get

mmsd[4090]: plugins/ofono.c:agent_receive() path /quectelqmi_0 mmsd[4090]: plugins/ofono.c:agent_receive() notification with 188 bytes mmsd[4090]: src/service.c:mms_service_push_notify() service 0xaaaae1fed580 data 0xaaaae1fefab4 len 188 mmsd[4090]: src/push.c:mms_push_notify() pdu 0xaaaae1fefab4 len 188 mmsd[4090]: src/push.c:mms_push_notify() 0006291F226170706C69636174696F6E2F766E642E7761702E6D6D732D6D657373616765008184AF848D01008C82983174696431373830373739373232355F303179797932008D928918802B31343135343033323634302F545950453D504C4D4E00960086808A808E022EA588058103093A8083687474703A2F2F6D6D7363322E6765742E62656C6C2E63612F6D6D732F776170656E633F6C6F636174696F6E3D31373830373739373232355F303179797932267269643D30333000 mmsd[4090]: Body Length: 144 mmsd[4090]: src/store.c:generate_uuid_from_pdu() pdu 0xaaaae1fefae0 len 144 mmsd[4090]: src/store.c:mms_store() pathname /home/alarm/.mms/302610917216304/09E6145123AA6AEBF37B7D75114BB6609992768E mmsd[4090]: Failed to handle incoming notification

It seems like a file goes into the .mms folder under a numbered directory, I'm not really sure what to do with these files as I assume vgmms should handle them when mmsd passes the full message on to it, but it's not getting to that point.

#46 thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: D-Bus error: Method "GetProperties" with signature "" on interface "org.ofono.SimManager" doesn't exist (org.freedesktop.DBus.Error.UnknownMethod)', 4 years ago

Comment by ~eenermckeener on ~anteater/mms-stack-bugs

I was getting this until I used ofonctl online to start the modem. You can also use the ofono/test/enable-modem and online-modem scripts from the ofono git clone before you run vgmms.

#23 unable to send group message in vgmms 4 years ago

Comment by ~eenermckeener on ~anteater/mms-stack-bugs

Update: if I submit an image via MMS, if I have nothing but the mobile data active, it actually gets to the point where it returns "Request is valid but the MMSC is unable to process it due to some temporary conditions".

I think this is probably related to the APN I get connected to via ofono. I can't see how to change APNs manually and scan-operators just times out if that were likely to give me a different APN to use.

I know there's some facility for this in ModemManager because on Arch it will populate the APN selection box with the available APNs somehow, which is something Mobian and any other Phosh implementation I've seen does not do. Now is there some facility to set that for myself in ofono?\

Incoming image MMS show up and mmsd attempts to process them, but fails on "failed to register message interface". Again, this might be the APN thing. If I connect via MM and check the SMS queue, it will give me a message #. If I use --create-file-with-data= it gives me an URL to retrieve the attachment and if I'm on mobile data only, I can wget the URL in that message to get the MMS. I don't know how to actually parse this as it's some header XML and then the image in one package.

#23 unable to send group message in vgmms 4 years ago

Comment by ~eenermckeener on ~anteater/mms-stack-bugs

I too get MissingSender for anything other than a single number no-attachment message.

Incoming SMS work fine, anything with an attachment shows up as a notification in mmsd but won't come into vgmms

#41 Documentation 4 years ago

Comment by ~eenermckeener on ~anteater/mms-stack-bugs

I'd second this. After playing with this I had all my current SMS messages gone, not a problem as I expect this sort of thing, but it seems like something is happening with the stack considering Alarm doesn't use ofono like UT.

Certainly packaging would help and I see a ticket on that front, but I'm stuck at the point where I've compiled ofono and mmsd, and then done the vgmms cargo. Ofono service will start, I'm not exactly sure what to do with mmsd since it isn't a service, so I start it manually with /usr/libexec/mmsd& and then try to run ./vgmms which ends in an error trying to connect to ofono: D-Bus error: Method "GetProperties" with signature "" on interface "org.ofono.SimManager" doesn't exist

Using Archlinux ARM on Pinephone.