Gareth,

It appears there is a problem with that module of Kannel, since the notifications are sent ok via other modules (e.g. SMPP). Decoding the MMS notification is easy since the encoding process is fairly straight-forward. Have a look inside mmsc/mmsmobilesender.c

P.

On May 20, 2005, at 18:07, Gareth Reakes wrote:

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]: <-- 07914497370190374410D04F79D87D2E379B530004505002808564408C0B05040B8423 F00003C20201C306356170706C69636174696F6E2F766E642E7761702E6D6D732D6D65 737361676500B13139322E3136382E3232342E31303200AF84B4818C8298516F325974 63436F344D4D4141445F6141414141454141416962514141414141008D908919802B34 34373937373530333038372F545950453D504C4D4E008A808E02280088 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



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

Reply via email to