Please ignore. I figured it out. I had [] around the numbers. Thanks a lot for your help. I hope to use this with a GSM datacard sometime, till then I suppose no more issues.
Regards, On Mon, Sep 17, 2012 at 8:08 PM, Manoj M N <[email protected]> wrote: > Hello, > > I have another development. Since the browser was hanging I decided to go > ahead with lynx. > > 007/-- /Applications/Lynxlet.app/Contents/Resources/lynx/bin/lynx -dump " > http://127.0.0.1:13131/cgi-bin/sendsms?username=mmn&password=mmn&to=[9900922664]&text=[helloworld]" > Number(s) has/have been denied by white- and/or black-lists. > > The number is denied by one of the lists it says. I have added the number > into the whitelist as you can see from the kannel.conf attached. > > I was looking at this link and configuring the items > > http://nmlaxaman.blogspot.in/2009/01/sms-gateway-with-kannel-and-your-mobile.html > > He doesn't talk about a white-list-regex. I added one, though still the > error is the same. Thanks a lot for the help so far, without which I would > have been stuck long time back. Now I think it is something small, but not > able to figure out. > > Regards, > > > On Mon, Sep 17, 2012 at 12:59 PM, Manoj M N <[email protected]> wrote: > >> Sorry. Was planning to save as draft and send later, so missed the >> attachment. Attached now >> >> Regards, >> >> >> On Mon, Sep 17, 2012 at 11:32 AM, Manoj M N <[email protected]> wrote: >> >>> Thanks Rene, >>> >>> I tried those as well. Still the request doesn't seem to be accepted by >>> the bearerbox. >>> >>> Can you please check if I have everything now? I have a Samsung Galaxy >>> S2 connected, Kies running as well. I will again try and run it and see. >>> >>> Regards, >>> >>> >>> On Sat, Sep 15, 2012 at 3:22 PM, Rene Kluwen <[email protected]>wrote: >>> >>>> You need to elaborate more on your group = smsbox (sendsms-port) and >>>> add a group = sendsms-user. See the users guide.**** >>>> >>>> ** ** >>>> >>>> *From:* Manoj M N [mailto:[email protected]] >>>> *Sent:* Friday, 14 September, 2012 17:22 >>>> *To:* Rene Kluwen >>>> *Cc:* [email protected] >>>> >>>> *Subject:* Re: Getting my Android Phone to send SMS**** >>>> >>>> ** ** >>>> >>>> Thanks Rene, >>>> >>>> I was able to connect this time. I didn't do everything, but I just >>>> added the init-string and detect-string. Looks like bearerbox is now able >>>> to connect. bearerbox came up and so did smsbox. Please find my kannel.conf >>>> below. I have attached the logs as well. >>>> >>>> group = core >>>> admin-port = 13000 >>>> smsbox-port = 13013 >>>> admin-password = f00bar >>>> >>>> group = smsbox >>>> bearerbox-host = localhost >>>> >>>> #group = smsc >>>> #smsc = fake >>>> #smsc-id = fake1 >>>> #port = 13021 >>>> #connect-allow-ip = *.*.*.* >>>> #allowed-smsc-id=fake1 >>>> >>>> group = smsc >>>> smsc = at >>>> smsc-id = mandroid-smsc >>>> sim-buffering = true >>>> modemtype = USB Modem >>>> my-number = 9448479985 >>>> device = /dev/cu.SAMSUNG_MDM >>>> speed = 460800 >>>> pin=8979 >>>> >>>> group = modems >>>> id = mandroid >>>> detect-string = SAMSUNG >>>> init-string = "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0" >>>> >>>> I now used control.html to try and send a message. The send hangs for >>>> ever. >>>> >>>> I think I am very near to getting my first SMS sent out, but stuck on >>>> this problem. >>>> >>>> Regards,**** >>>> >>>> On Fri, Sep 14, 2012 at 3:04 PM, Rene Kluwen <[email protected]> >>>> wrote:**** >>>> >>>> Does this help?**** >>>> >>>> **** >>>> >>>> http://www.bdsatish.in/software/android-usb-modem.html**** >>>> >>>> **** >>>> >>>> **** >>>> >>>> *From:* [email protected] [mailto: >>>> [email protected]] *On Behalf Of *Manoj M N >>>> *Sent:* Friday, 14 September, 2012 08:14 >>>> *To:* [email protected] >>>> *Subject:* Re: Getting my Android Phone to send SMS**** >>>> >>>> **** >>>> >>>> Hello folks,**** >>>> >>>> **** >>>> >>>> Please go ahead and flame me if you think this is a stupid question or >>>> I haven't done enough work. However can you please give me pointers to go >>>> forward from where I am right now?**** >>>> >>>> **** >>>> >>>> Regards,**** >>>> >>>> On Wed, Sep 12, 2012 at 6:30 PM, Manoj M N <[email protected]> wrote:** >>>> ** >>>> >>>> Hello folks, >>>> >>>> Thanks a lot for helping me getting kannel up and running. I did some >>>> playing around with the dummy center for SMS. >>>> >>>> Now I am trying to plugin my Samsung Galaxy S2 to my mac and get it to >>>> send one SMS. I checked the GSM Modem section of kannel. I am not able to >>>> find the tty to which this is connected. On a mac there is no >>>> /var/log/messages. So I checked the console and on connecting the phone the >>>> following message is printed >>>> >>>> Sep 12 18:16:52 dhcp-173-39-64-34 pcscd[8444]: Non-smartcard device >>>> launched pcscd [Vendor: 0X4E8, Product: 0X6860] >>>> >>>> But searching the web I figured it is found by doing a ls /dev/cu* and >>>> found the Samsung device. I tried to do screen /dev/cu.SAMSUNG_MDM 9600 and >>>> got just ERROR printed on the screen. >>>> >>>> Then I tried the following configuration (since I know the /dev/ value >>>> now) >>>> >>>> group = smsc >>>> smsc = at >>>> modemtype = auto >>>> device = /dev/cu.SAMSUNG_MDM >>>> speed = 9600 >>>> >>>> and got this error >>>> 2012-09-12 18:32:56 [8759] [6] DEBUG: AT2[/dev/cu.SAMSUNG_MDM]: >>>> detecting modem type >>>> 2012-09-12 18:32:56 [8759] [6] INFO: AT2[/dev/cu.SAMSUNG_MDM]: opening >>>> device >>>> 2012-09-12 18:32:56 [8759] [6] DEBUG: AT2[/dev/cu.SAMSUNG_MDM]: device >>>> opened. Telnet mode = 0 >>>> 2012-09-12 18:32:57 [8759] [6] DEBUG: AT2[/dev/cu.SAMSUNG_MDM]: device >>>> opened >>>> 2012-09-12 18:32:57 [8759] [6] INFO: AT2[/dev/cu.SAMSUNG_MDM]: speed >>>> set to 9600 >>>> 2012-09-12 18:32:57 [8759] [6] DEBUG: AT2[/dev/cu.SAMSUNG_MDM]: --> >>>> ATZ^M >>>> 2012-09-12 18:33:03 [8759] [6] ERROR: AT2[/dev/cu.SAMSUNG_MDM]: Wrong >>>> or no answer to ATZ >>>> 2012-09-12 18:33:03 [8759] [6] INFO: AT2[/dev/cu.SAMSUNG_MDM]: Closing >>>> device >>>> 2012-09-12 18:33:03 [8759] [6] ERROR: AT2[/dev/cu.SAMSUNG_MDM]: >>>> Couldn't connect (retrying in 10 seconds). >>>> >>>> I checked the permissions >>>> 007/-- ls -l /dev/cu.SAMSUNG_MDM >>>> crw-rw-rw- 1 root wheel 11, 23 Sep 12 18:25 /dev/cu.SAMSUNG_MDM >>>> >>>> I am running as root. I guess I need to do more configurations to get >>>> the connection done properly. Can you please assist me? >>>> >>>> Regards,**** >>>> >>>> **** >>>> >>>> ** ** >>>> >>> >>> >> >
