github on SFU CSIL machines

October 11, 2010 - Leave a Response

Computers in CSIL do not really force HTTP traffic to go through SFU proxy, but just proxy settings in Firefox are set that way. Outgoing port 80 and 443 are still unblocked, but port 22 is blocked. After googling about how to use github behind a firewall, the github’s website shows that ssh.github.com:443 is also provided.

submit_sm.system_type

March 10, 2009 - Leave a Response

ผมใช้ kannel ทำ smpp server แต่ส่ง submit_sm ไป มันก็ตอบมาว่า Invalid Service Type ทุกที  งมไปงมมาก็เลยพบว่าไอ้ gateway ห่านี่ต้องส่ง service_type ที่มากับ deliver_sm กลับไปด้วย (คือต้องส่ง carrier กลับไปด้วย ไม่งั้นมัน route ไม่ถูกมั๊ง)

นั่งงมตั้งนาน มีคนบอกว่าต้อง patch แต่แม่งเสือกไม่บอกว่าต้องไปเอาที่ไหน หาตั้งนาน ก็ไม่เจอ เลยแก้เอง นั่งแก้โค๊ดมันไปตั้งนาน พอ complie เสร็จก็มานั่งดู document ของ kannel อีกที ก็พบว่า ไอ้ binfo กะ system_type มันคืออันเดีียวกัน เวลาใช้ใน get-url ก็ใส่ %B ไปด้วย (ไปเจอในโค๊ดประมาณว่าถ้า system_type จะเป็น default ถ้า length ของ binfo = 0)

ต้องตั้งให้มันไม่ส่ง SMS ออก โดน max-messages = 0 แล้วก็ใช้ curl ส่ง SMS แทน

สรุปก็ยังไม่ได้ลอง driver ของ smpp ที่เพิ่งไปแก้มาอยู่ดี – -”

Follow

Get every new post delivered to your Inbox.