Hey all,

I am currently using kannal/mbuni for a variety of tasks. 1 of those is to receive MMS. I have a GSM modem and am seeing the notification message arrive but then this causes a panic:

2005-05-20 08:58:50 [17379] [6] DEBUG: AT2[/dev/ttyS0]: <-- 07914497370190374410D04F79D87D2E379B530004505002808564408C0B05040B8423F00003C20201C306356170706C69636174696F6E2F766E642E7761702E6D6D732D6D65737361676500B13139322E3136382E3232342E31303200AF84B4818C8298516F32597463436F344D4D4141445F6141414141454141416962514141414141008D908919802B3434373937373530333038372F545950453D504C4D4E008A808E02280088
2005-05-20 08:58:50 [17379] [6] DEBUG: AT2[/dev/ttyS0]: Alphanumeric sender <OrangeMMS>
2005-05-20 08:58:50 [17379] [6] DEBUG: AT2[/dev/ttyS0]: User data length read as (140)
2005-05-20 08:58:50 [17379] [6] DEBUG: AT2[/dev/ttyS0]: Udh decoding done len=128 udhi=1 udhlen=11 udh='


#�'
2005-05-20 08:58:50 [17379] [6] DEBUG: AT2[/dev/ttyS0]: --> AT+CNMA^M
2005-05-20 08:58:50 [17379] [16] DEBUG: send_msg: sending msg to box: <127.0.0.1>
2005-05-20 08:58:50 [17379] [16] DEBUG: boxc_sender: sent message to <127.0.0.1>
PuTTY2005-05-20 08:58:50 [17379] [15] DEBUG: boxc_receiver: sms received
2005-05-20 08:58:50 [17379] [15] DEBUG: send_msg: sending msg to box: <127.0.0.1>
2005-05-20 08:58:50 [17379] [15] DEBUG: boxc_receiver: got ack
2005-05-20 08:58:50 [17379] [6] DEBUG: AT2[/dev/ttyS0]: <-- OK
2005-05-20 08:58:50 [17379] [6] PANIC: gwlib/octstr.c:1436: octstr_append_char: Assertion `ch <= UCHAR_MAX' failed.



My understanding was that the notification message was just a standard message. Is this not the case? I notice that there is some code to create notifications in mms_msg. Is there some code somewhere to decode them?


Many thanks,

Gareth


-- Gareth Reakes, Managing Director Parthenon Computing +44-1865-811184 http://www.parthcomp.com

_______________________________________________
Users mailing list
[email protected]
http://mbuni.org/mailman/listinfo/users_mbuni.org

Reply via email to