Hi,

Do you need to shutdown kannel? Can mbuni notification work without kannel? You know that kannel supports HTTP smsc and therefore you can connect through it.

BR,
Nikos
----- Original Message ----- From: "Ray Pitmon" <r...@pitmon.com>
To: <users@mbuni.org>
Sent: Monday, December 28, 2009 7:45 AM
Subject: [Users] mm1 using wrong interface to send


Hi,

I'm very close to getting mbuni to send out vi MM1 on a GSM modem.

Mbuni will tell kannel to shut down (which it does), and it brings up the ppp connection.

However, it never seems to connect to AT&T's SMSC. So I did a tcpdump on the ppp0 interface, and I can see mbuni trying to send packets on port 80 to the AT&T proxy (wireless.cingular.com), but the source address is my Ethernet IP instead of what's assigned to ppp0:

tcpdump -i ppp0 -n
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on ppp0, link-type LINUX_SLL (Linux cooked), capture size 96 bytes 23:26:12.984086 IP 172.18.3.15.45500 > 66.209.11.32.80: Flags [S], seq 3553051624, win 5840, options [mss 1460,sackOK,TS val 151026241 ecr 0,nop,wscale 5], length 0


I've got a static route in place and I can do 'telnet wireless.cingular.com 80' and it connects to the proxy fine.

Any ideas? I'm looking at changing the libcurl stuff in mmsbox-mm1, but I thought I'd check to see if there was an easier way.

Here's my custom-settings:

group = mmsc
id = modem
type = custom
custom-settings = "smsc-on=lynx -dump 'http://localhost:13000/start-smsc?password=pass&smsc=modem';smsc-off=lynx -dump 'http://localhost:13000/stop-smsc?password=pass&smsc=modem';gprs-on=/root/startppp.sh;gprs-pid=cat /root/ppp-wrapper.pid|head -1;port=13014;mmsc-url=http://mmsc.cingular.com;proxy=wireless.cingular.com:80;msisdn=6128891111";
mmsc-library = /usr/local/lib/libmmsbox_mm1.so


Thanks in advance,

-Ray



_______________________________________________
Users mailing list
Users@mbuni.org
http://lists.mbuni.org/mailman/listinfo/users

_______________________________________________
Users mailing list
Users@mbuni.org
http://lists.mbuni.org/mailman/listinfo/users

Reply via email to