1
0
Fork 0

Minor updates to mmsmobilsender to allow for dumping Ind. PDU

This commit is contained in:
bagyenda 2005-04-01 05:12:59 +00:00
parent da666bfcd3
commit ccaab590bc
1 changed files with 7 additions and 1 deletions

View File

@ -102,7 +102,10 @@ static void start_push(Octstr *rcpt_to, int isphonenum, MmsEnvelope *e, MmsMsg *
octstr_url_encode(to);
octstr_url_encode(s);
#if 0
octstr_dump(pduhdr, 0);
#endif
octstr_url_encode(pduhdr);
url = octstr_format("%S&text=%S%S&to=%S&udh=%%06%%05%%04%%0B%%84%%23%%F0",
@ -124,6 +127,9 @@ static void start_push(Octstr *rcpt_to, int isphonenum, MmsEnvelope *e, MmsMsg *
if (sock > 0) {
MmsEnvelopeTo *xto = list_get(e->to,0);
octstr_append(pduhdr, s);
#if 0
octstr_dump(pduhdr, 0);
#endif
udp_sendto(sock, pduhdr, addr);
close(sock); /* ?? */
mms_log2("Notify", octstr_imm("system"), to,