Hi,
I am currently sending a Post Message to the sendsms server.
The message is beeing delivered successfully, but every second time the
process is crashing, but the sms is sent and the DLR
request is also happening.
Thanks a lot.
Tom
Here my XML post :
POST /cgi-bin/sendsms HTTP/1.1
Host: xxx.lu
Connection: Close
Content-Type: text/xml
Content-Length: 524
<?xml version="1.0" encoding="ISO-8859-1"?> <message>
<submit>
<da><number>003521233456789</number></da>
<oa><number>1234</number></oa>
<ud>Tom Test é "Tom"</ud>
<statusrequest>
<dlr-mask>7</dlr-mask>
<dlr-url>http://xxx.lu/dlr.php?destination=00352123456789&origin=1234&cueid=1</dlr-url>
</statusrequest>
<from>
<username>xxx</username>
<password>yyy</password>
<account>xxx</account>
</from>
</submit>
</message>
Here is the error message :
2005-09-05 15:46:17 [26498] [3] INFO: smsbox: Got HTTP request
</cgi-bin/sendsms> from <127.0.0.1>
2005-09-05 15:46:17 [26498] [3] DEBUG: XMLParsing: XML: <<?xml version="1.0"
encoding="ISO-8859-1"?>
<message>
<submit>
<da><number>00352123456789</number></da>
<oa><number>1234</number></oa>
<ud>Tom Test é "Tom"</ud>
<statusrequest>
<dlr-mask>7</dlr-mask>
<dlr-url>http://xxxx.lu/dlr.php?destination=00352123456789&origin=1234&cueid=1</dlr-url>
</statusrequest>
<from>
<username>xxx</username>
<password>yyy</password>
<account>xxx</account>
</from>
</submit>
</message>>
2005-09-05 15:46:17 [26498] [3] DEBUG: XMLParsing: tag <from> value
<<username>xxx</username>
<password>yyy</password>
<account>xxx</account>>
2005-09-05 15:46:17 [26498] [3] DEBUG: XMLParsing: tag <username> value <xxx>
2005-09-05 15:46:17 [26498] [3] DEBUG: XMLParsing: tag <password> value <yyy>
2005-09-05 15:46:17 [26498] [3] DEBUG: XMLParsing: tag <account> value <xxx>
2005-09-05 15:46:17 [26498] [3] DEBUG: XMLParsing: tag <da> value
<<number>00352123456789</number>>
2005-09-05 15:46:17 [26498] [3] DEBUG: XMLParsing: tag <number> value
<00352123456789>
2005-09-05 15:46:17 [26498] [3] DEBUG: XMLParsing: tag <statusrequest> value
<<dlr-mask>7</dlr-mask>
<dlr-url>http://xxx.lu/dlr.php?destination=00352123456789&origin=1234&cueid=1</dlr-url>>
2005-09-05 15:46:17 [26498] [3] DEBUG: XMLParsing: tag <dlr-mask> value <7>
2005-09-05 15:46:17 [26498] [3] DEBUG: XMLParsing: tag <dlr-url> value
<http://xxx/dlr.php?destination=00352123456789&origin=1234&cueid=1>
2005-09-05 15:46:17 [26498] [3] DEBUG: XMLParsing: tag <ud> value <Tom Test é
"Tom">
2005-09-05 15:46:17 [26498] [3] INFO: sendsms used by <xxxx>
2005-09-05 15:46:17 [26498] [3] INFO: sendsms sender:<xxxx:1234> (127.0.0.1)
to:<multi-cast> msg:<Tom Test é "Tom">
2005-09-05 15:46:17 [26498] [3] DEBUG: message length 17, sending 1 messages
2005-09-05 15:46:17 [26498] [3] DEBUG: Status: 202 Answer: <Sent.>
2005-09-05 15:46:17 [26498] [3] PANIC: gwlib/octstr.c:2347: seems_valid_real:
Assertion `ostr->data[ostr->len] == '\0'' failed.
(Called from gwlib/octstr.c:317:octstr_destroy.)
2005-09-05 15:46:17 [26498] [3] PANIC: /home/kannel/sbin/smsbox(gw_panic+0x175)
[0x807d166]
2005-09-05 15:46:17 [26498] [3] PANIC: /home/kannel/sbin/smsbox [0x808348b]
2005-09-05 15:46:17 [26498] [3] PANIC:
/home/kannel/sbin/smsbox(octstr_destroy+0x23) [0x807e4f2]
2005-09-05 15:46:17 [26498] [3] PANIC: /home/kannel/sbin/smsbox [0x8059df0]
2005-09-05 15:46:17 [26498] [3] PANIC: /home/kannel/sbin/smsbox [0x8072ce0]
2005-09-05 15:46:17 [26498] [3] PANIC: /lib/tls/libpthread.so.0 [0xb7543dac]
2005-09-05 15:46:17 [26498] [3] PANIC: /lib/tls/libc.so.6(__clone+0x5a)
[0xb72e8a8a]
2005-09-05 15:46:17 [26590] [0] INFO: Added logfile
`/home/kannel/log/smsbox.log' with level `0'.
2005-09-05 15:46:17 [26590] [0] INFO: Logging accesses to
'/home/kannel/log/smsbox.access'.
2005-09-05 15:46:17 [26590] [0] INFO: Started access logfile
`/home/kannel/log/smsbox.access'.
2005-09-05 15:46:17 [26590] [0] INFO: HTTP: Opening server at port 13002.
2005-09-05 15:46:17 [26590] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller)
2005-09-05 15:46:17 [26590] [0] DEBUG: Started thread 2
(gwlib/http.c:server_thread)