Re: [Users] Huawei config

2011-04-18 Thread Stanisław Czech
Hi,
> I can only say, that it (505) works for me, but I'm using it on
> different network, so if it's an operator related issue, it may
> happen you will have the same problem with Option.

As I remember you used Orange and P4 sim's. I also have such sims so I
will be able to test it with these providers. If it would be operator
related issue, then at least we would know that there is something
more we can do with Huawei ;) I would be grateful if anyone outside
Poland with Huawei modem could confirm that it's able to receive mms
without operators involvement.

One more thing. What Mbuni really lacks,is the list of well tested and
supported m1 modem devices. IMHO using mobiles seems to be obsolete,
and the project should be focus mainly on supporting modems. By the
way, is there any PCI (or minipci) modem cards that are supported?

Greetings,

Stanislaw Czech
NOWATEL Sp. z o.o.
http://www.nowatel.com


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


Re: [Users] Huawei config

2011-04-18 Thread Piotr Isajew
I can only say, that it (505) works for me, but I'm using it on different 
network, so if it's an operator related issue, it may happen you will have the 
same problem with Option.

P.


On 2011-04-18, at 12:11, Stanisław Czech wrote:

> Nevertheless could someone confirm that Option Icon
> modems (like 505) have native MMS support? Or I will also need to
> contact the operator to flag it as mms capable.



PGP.sig
Description: This is a digitally signed message part
___
Users mailing list
Users@mbuni.org
http://lists.mbuni.org/mailman/listinfo/users


Re: [Users] Huawei config

2011-04-18 Thread Stanisław Czech
Hi,

> I don't think there is a "secret". Receipt of the notification is
> *purely* via SMS. Which means that Mbuni hasn't even kicked in yet.
> Basically MMS reception at the network works like this: The operator
> MMSC checks (HLR, whatever) if receiving subscriber's device is
> MMS-capable.  If not, subscriber receive SMS (as you have done).
> This is the important bit. Typically the operator can flag your
> account so MMS is *always* sent to you as MMS, whether or not your device is 
> known to support MMS.

So it seems. Nevertheless could someone confirm that Option Icon
modems (like 505) have native MMS support? Or I will also need to
contact the operator to flag it as mms capable.


Greetings,

Stanislaw Czech
NOWATEL Sp. z o.o.
http://www.nowatel.com


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


Re: [Users] Huawei config

2011-04-18 Thread Piotr Isajew

On 2011-04-18, at 11:55, Paul Bagyenda wrote:

> I don't think there is a "secret". Receipt of the notification is *purely* 
> via SMS. Which means that Mbuni hasn't even kicked in yet. Basically MMS 
> reception at the network works like this: The operator MMSC checks (HLR, 
> whatever) if receiving subscriber's device is MMS-capable.  If not, 
> subscriber receive SMS (as you have done). This is the important bit. 
> Typically the operator can flag your account so MMS is *always* sent to you 
> as MMS, whether or not your device is known to support MMS.

Maybe yes, maybe no. The other truth is that most modem vendors currently focus 
on Internet access functionality. I.e. Sierra Wireless modems does not support 
USSD commands. Operator may fall back to SMS notification if device does not 
respond to a push in a specific period of time. Maybe one need use some vendor 
specific AT command to activate receiving of push notifications. After all I'm 
here arguing about something I'm not able to verify. It needs be tested by 
someone with Huawei modem.

PGP.sig
Description: This is a digitally signed message part
___
Users mailing list
Users@mbuni.org
http://lists.mbuni.org/mailman/listinfo/users


Re: [Users] Huawei config

2011-04-18 Thread Paul Bagyenda
I don't think there is a "secret". Receipt of the notification is *purely* via 
SMS. Which means that Mbuni hasn't even kicked in yet. Basically MMS reception 
at the network works like this: The operator MMSC checks (HLR, whatever) if 
receiving subscriber's device is MMS-capable.  If not, subscriber receive SMS 
(as you have done). This is the important bit. Typically the operator can flag 
your account so MMS is *always* sent to you as MMS, whether or not your device 
is known to support MMS.

P.

On Apr 18, 2011, at 12:49, Piotr Isajew wrote:

> Maybe there is some secret knowledge needed for making Huawei modem work with 
> this. I don't know :-(
> On 2011-04-18, at 11:20, Stanisław Czech wrote:
> 
>> It seems Huawei is incapable of recieving MMS. Is there a way to check
>> it to be sure?
>> 
>> I found on other forums:
>> http://broadbandforum.in/bsnl-3g/63542-mms-setting-bsnl-3g-huawei/
>> "Seems like no one has been successfully able to use MMS functionality
>> using Huawei modem"
>> 
>> On the other hand, NOWSMS seems to support it:
>> http://www.nowsms.com/sms-and-mms-with-the-huawei-e160-usb-modem
>> 
>> 
> 
> ___
> 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


Re: [Users] Huawei config

2011-04-18 Thread Piotr Isajew
Maybe there is some secret knowledge needed for making Huawei modem work with 
this. I don't know :-(
On 2011-04-18, at 11:20, Stanisław Czech wrote:

> It seems Huawei is incapable of recieving MMS. Is there a way to check
> it to be sure?
> 
> I found on other forums:
> http://broadbandforum.in/bsnl-3g/63542-mms-setting-bsnl-3g-huawei/
> "Seems like no one has been successfully able to use MMS functionality
> using Huawei modem"
> 
> On the other hand, NOWSMS seems to support it:
> http://www.nowsms.com/sms-and-mms-with-the-huawei-e160-usb-modem
> 
> 



PGP.sig
Description: This is a digitally signed message part
___
Users mailing list
Users@mbuni.org
http://lists.mbuni.org/mailman/listinfo/users


Re: [Users] Huawei config

2011-04-18 Thread Paul Bagyenda
This is most certainly an operator issue. See Piotr's last email.
On Apr 18, 2011, at 12:20, Stanisław Czech wrote:

> Welcome,
> 
>>> 2011-04-18 07:18:55 [9017] [4] INFO: Starting to service >> wiadomosc multimedialna od +48 na http://foto.plus.pl MMS_id:
>>>  haslo: xxx> from  to <+48x>
>>> 
>>> This means I got sms msg that I have a new mulitmedia msg that I can
>>> download form the website.
>>> 
>>> As far as I understand this means that my operator couldn't send MMS
>>> directly due to incompatible the hardware/missing configuration.
> 
> I've checked by putting the sim card to phone (Nokia 6021) and MMS
> works directly.
> 
> After changing sim to Orange (different op) I have the same result in
> kannel:
> 2011-04-18 10:41:28 [10238] [4] INFO: Starting to service  nowa wiadomosc MMS do swojego Albumu od numeru 48. Aby ja 
> obejrzec zaloguj sie do portalu www.orange.pl lub kliknij tu: 
> http://79.163.127.131/getmms/?notify=M
> x==> from  to <+48x>
> 
> It seems Huawei is incapable of recieving MMS. Is there a way to check
> it to be sure?
> 
> I found on other forums:
> http://broadbandforum.in/bsnl-3g/63542-mms-setting-bsnl-3g-huawei/
> "Seems like no one has been successfully able to use MMS functionality
> using Huawei modem"
> 
> On the other hand, NOWSMS seems to support it:
> http://www.nowsms.com/sms-and-mms-with-the-huawei-e160-usb-modem
> 
> 
> 
> Greetings,
> Stanislaw Czech
> 
> NOWATEL Sp. z o.o.
> http://www.nowatel.com
> 
> 
> ___
> 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


Re: [Users] Huawei config

2011-04-18 Thread Stanisław Czech
Welcome,

>> 2011-04-18 07:18:55 [9017] [4] INFO: Starting to service > wiadomosc multimedialna od +48 na http://foto.plus.pl MMS_id:
>>  haslo: xxx> from  to <+48x>
>> 
>> This means I got sms msg that I have a new mulitmedia msg that I can
>> download form the website.
>> 
>> As far as I understand this means that my operator couldn't send MMS
>> directly due to incompatible the hardware/missing configuration.

I've checked by putting the sim card to phone (Nokia 6021) and MMS
works directly.

After changing sim to Orange (different op) I have the same result in
kannel:
2011-04-18 10:41:28 [10238] [4] INFO: Starting to service http://79.163.127.131/getmms/?notify=M
x==> from  to <+48x>

It seems Huawei is incapable of recieving MMS. Is there a way to check
it to be sure?

I found on other forums:
http://broadbandforum.in/bsnl-3g/63542-mms-setting-bsnl-3g-huawei/
"Seems like no one has been successfully able to use MMS functionality
using Huawei modem"

On the other hand, NOWSMS seems to support it:
http://www.nowsms.com/sms-and-mms-with-the-huawei-e160-usb-modem



Greetings,
Stanislaw Czech

NOWATEL Sp. z o.o.
http://www.nowatel.com


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


Re: [Users] Huawei config

2011-04-18 Thread Piotr Isajew

On 2011-04-18, at 10:20, Stanisław Czech wrote:

>> First thing to do is to make kannel to see an incoming mms
>> notification (wap-push) and dispatch it via the proper service to mbuni.
> 
>> If you don't see ANY incoming message in kannel, that could mean one of two:
> 
>> - something is broken in the delivery chain before kannel (you can
>> check this by removing a SIM card from modem, placing it in a phone
>> and checking if you receive incoming MMS messages)
> 
>> - Huawei modems do not support incoming wap push messages (in that
>> case the only solution I can think about is to change your modem)
> 
>> As for dispatch part: you have two concurrent services defined in
>> kannel. There is a chance they will compete for the same message so
>> it will never be routed to mbuni. So remove the first service
>> definition until you will be able to receive an MMS. Then you can
>> make your config more complex again.
> 
> After half an hour I got in smsbox logs:
> 
> 2011-04-18 07:18:55 [9017] [4] INFO: Starting to service  wiadomosc multimedialna od +48 na http://foto.plus.pl MMS_id:
>  haslo: xxx> from  to <+48x>
> 
> This means I got sms msg that I have a new mulitmedia msg that I can
> download form the website.
> 
> As far as I understand this means that my operator couldn't send MMS
> directly due to incompatible the hardware/missing configuration.

Or that means your account isn't configured for direct delivery of MMS 
notification. Contact your operator tech support and ask them to check if they 
can configure your card for direct mms delivery (or test via mobile phone - it 
should show a difference).

> 
> I've tried to test different op (Orange) and the result seems to be
> the same (sms works both ways, no recieving mms)
> 
> I will try using only one rule to see if it makes any difference but I
> don't think it will help.
> 
> I already ordered  OPTION iCON 505 MODEM so I will see if there will
> be any difference in behaviour.
> 
> Greetings,
> 
> Stanislaw Czech
> 
> NOWATEL Sp. z o.o.
> http://www.nowatel.com
> 
> 
> ___
> Users mailing list
> Users@mbuni.org
> http://lists.mbuni.org/mailman/listinfo/users



PGP.sig
Description: This is a digitally signed message part
___
Users mailing list
Users@mbuni.org
http://lists.mbuni.org/mailman/listinfo/users


Re: [Users] Huawei config

2011-04-18 Thread Stanisław Czech
> First thing to do is to make kannel to see an incoming mms
> notification (wap-push) and dispatch it via the proper service to mbuni.

> If you don't see ANY incoming message in kannel, that could mean one of two:

> - something is broken in the delivery chain before kannel (you can
> check this by removing a SIM card from modem, placing it in a phone
> and checking if you receive incoming MMS messages)

> - Huawei modems do not support incoming wap push messages (in that
> case the only solution I can think about is to change your modem)

> As for dispatch part: you have two concurrent services defined in
> kannel. There is a chance they will compete for the same message so
> it will never be routed to mbuni. So remove the first service
> definition until you will be able to receive an MMS. Then you can
> make your config more complex again.

After half an hour I got in smsbox logs:

2011-04-18 07:18:55 [9017] [4] INFO: Starting to service http://foto.plus.pl MMS_id:
 haslo: xxx> from  to <+48x>

This means I got sms msg that I have a new mulitmedia msg that I can
download form the website.

As far as I understand this means that my operator couldn't send MMS
directly due to incompatible the hardware/missing configuration.

I've tried to test different op (Orange) and the result seems to be
the same (sms works both ways, no recieving mms)

I will try using only one rule to see if it makes any difference but I
don't think it will help.

I already ordered  OPTION iCON 505 MODEM so I will see if there will
be any difference in behaviour.

Greetings,

Stanislaw Czech

NOWATEL Sp. z o.o.
http://www.nowatel.com


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


Re: [Users] Huawei config

2011-04-18 Thread Piotr Isajew

On 2011-04-18, at 09:32, Stanisław Czech wrote:
> I have no problems sending and recieving sms, and sending MMS but i
> can't recieve any  MMS. Does anyone have some clues where there can be
> a problem? smsbox see's nothing when I send mms from a mobile to the mbuni's
> modem.
> 
> In kannel.conf I have:
> 
> group = sms-service
> keyword-regex = .*
> catch-all = true
> max-messages = 0
> get-url = http://localhost/run.php
> concatenation = true
> 
> group = sms-service
> keyword = default
> catch-all = true
> get-url = http://localhost:13014/?text=%b
> max-messages = 0
> concatenation = true
> 

First thing to do is to make kannel to see an incoming mms notification 
(wap-push) and dispatch it via the proper service to mbuni.

If you don't see ANY incoming message in kannel, that could mean one of two:

- something is broken in the delivery chain before kannel (you can check this 
by removing a SIM card from modem, placing it in a phone and checking if you 
receive incoming MMS messages)

- Huawei modems do not support incoming wap push messages (in that case the 
only solution I can think about is to change your modem)

As for dispatch part: you have two concurrent services defined in kannel. There 
is a chance they will compete for the same message so it will never be routed 
to mbuni. So remove the first service definition until you will be able to 
receive an MMS. Then you can make your config more complex again.




PGP.sig
Description: This is a digitally signed message part
___
Users mailing list
Users@mbuni.org
http://lists.mbuni.org/mailman/listinfo/users


Re: [Users] Huawei config

2011-04-18 Thread Paul Bagyenda
When you send MMS to the modem, you should see an incoming SMS in Kannel's 
logs. This contains the notification. One would have to see the logs (both 
kannel and mbuni) to understand what's going on.
On Apr 18, 2011, at 10:32, Stanisław Czech wrote:

> Hi again,
>> ___
>> kannel.conf
> 
> 
>> group = smsc
>> smsc-id = moj
>> smsc = at
>> port = 1
>> modemtype = huawei_e220_00
>> device = /dev/ttyUSB0
>> sms-center = +48601000310
>> my-number = +48663837206
>> connect-allow-ip = "127.0.0.1;192.168.*.*"
> 
> For Huawei modems, as they appear as 3 usb devices (ttyUSB0,1,2) I had
> to change config to:
> 
> device = /dev/ttyUSB2
> 
> for SMS to get recieved.
> 
> I have no problems sending and recieving sms, and sending MMS but i
> can't recieve any  MMS. Does anyone have some clues where there can be
> a problem? smsbox see's nothing when I send mms from a mobile to the mbuni's
> modem.
> 
> In kannel.conf I have:
> 
> group = sms-service
> keyword-regex = .*
> catch-all = true
> max-messages = 0
> get-url = http://localhost/run.php
> concatenation = true
> 
> group = sms-service
> keyword = default
> catch-all = true
> get-url = http://localhost:13014/?text=%b
> max-messages = 0
> concatenation = true
> 
> group = wapbox
> bearerbox-host = localhost
> log-file = "/var/log/kannel/wapbox.log"
> #log-level = 0
> #syslog-level = 0
> timer-freq = 10
> map-url = "http://mmsc/* http://localhost:13014";
> 
> In mmsbox.conf:
> 
> group = mms-service
> #name = me
> post-url = http://localhost/run.php
> catch-all = true
> http-post-parameters = fx=true&images[]=%i&text[]=%t&skip=1
> accept-x-mbuni-headers = true
> keyword =
> 
> I run bearbox, smsbox, wapbox and mmsbox...
> 
> There is nothing I can see in logs when sending the mms to modem.
> 
> 
> Pozdrawiam
> 
> Stanislaw Czech
> NOWATEL Sp. z o.o.
> 
> tel. +48 58 732 25 91
> fax. +48 58 732 25 94
> mob. +48  693 059 058
> http://www.tygrys.net
> http://www.nowatel.com
> 
> 
> ___
> 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


Re: [Users] Huawei config

2011-04-18 Thread Stanisław Czech
Hi again,
> ___
> kannel.conf


> group = smsc
> smsc-id = moj
> smsc = at
> port = 1
> modemtype = huawei_e220_00
> device = /dev/ttyUSB0
> sms-center = +48601000310
> my-number = +48663837206
> connect-allow-ip = "127.0.0.1;192.168.*.*"

For Huawei modems, as they appear as 3 usb devices (ttyUSB0,1,2) I had
to change config to:

device = /dev/ttyUSB2

for SMS to get recieved.

I have no problems sending and recieving sms, and sending MMS but i
can't recieve any  MMS. Does anyone have some clues where there can be
a problem? smsbox see's nothing when I send mms from a mobile to the mbuni's
modem.

In kannel.conf I have:

group = sms-service
keyword-regex = .*
catch-all = true
max-messages = 0
get-url = http://localhost/run.php
concatenation = true

group = sms-service
keyword = default
catch-all = true
get-url = http://localhost:13014/?text=%b
max-messages = 0
concatenation = true

group = wapbox
bearerbox-host = localhost
log-file = "/var/log/kannel/wapbox.log"
#log-level = 0
#syslog-level = 0
timer-freq = 10
map-url = "http://mmsc/* http://localhost:13014";

In mmsbox.conf:

group = mms-service
#name = me
post-url = http://localhost/run.php
catch-all = true
http-post-parameters = fx=true&images[]=%i&text[]=%t&skip=1
accept-x-mbuni-headers = true
keyword =

I run bearbox, smsbox, wapbox and mmsbox...

There is nothing I can see in logs when sending the mms to modem.


Pozdrawiam

Stanislaw Czech
NOWATEL Sp. z o.o.

tel. +48 58 732 25 91
fax. +48 58 732 25 94
mob. +48  693 059 058
http://www.tygrys.net
http://www.nowatel.com


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


Re: [Users] Huawei config

2011-04-16 Thread Emmanuel CHANSON
Thanks !

2011/4/17 Stanisław Czech 

>
> > In 1.5.0 this is no longer (necessarily) a custom MMSC. So you could add
> something like this:
>
> > group = mmsc
> > id=modem
> > type = mm1
> > mm1-sms-on-command = lynx -dump
> > 'http://localhost:13000/start-smsc?password=bar&smsc=modemsmsc'
> > mm1-sms-off-command = lynx -dump
> > 'http://localhost:13000/stop-smsc?password=bar&smsc=modemsmsc'
> > incoming-port = 13014
> > mmsc-url = http://mms.orange.pl
> > mm1-http-proxy = 192.168.6.104:8080
> > mm1-msisdn=0048505505505
> > mm1-gprs-on-command = /usr/local/mbuni/sbin/start-mms-gprs
> > mm1-gprs-pid-command = "cat /var/run/ppp-mms.pid|head -1"
>
> IT WORKS :)
>
> Simply by changing custom-mms to this format everything started to
> work and I'm able to send mms. Thanks for the support.
>
> On the http://www.hardill.me.uk/wordpress/?p=17 Ben posted complete
> config for the ppp connection on Huawei if anyone would need it.
>
> Greetings,
>
> Stanislaw Czech
>
> NOWATEL Sp. z o.o.
> http://www.nowatel.com
>
>
> ___
> 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


Re: [Users] Huawei config

2011-04-16 Thread Stanisław Czech

> In 1.5.0 this is no longer (necessarily) a custom MMSC. So you could add 
> something like this:

> group = mmsc
> id=modem
> type = mm1
> mm1-sms-on-command = lynx -dump
> 'http://localhost:13000/start-smsc?password=bar&smsc=modemsmsc'
> mm1-sms-off-command = lynx -dump
> 'http://localhost:13000/stop-smsc?password=bar&smsc=modemsmsc'
> incoming-port = 13014
> mmsc-url = http://mms.orange.pl
> mm1-http-proxy = 192.168.6.104:8080
> mm1-msisdn=0048505505505
> mm1-gprs-on-command = /usr/local/mbuni/sbin/start-mms-gprs
> mm1-gprs-pid-command = "cat /var/run/ppp-mms.pid|head -1"

IT WORKS :)

Simply by changing custom-mms to this format everything started to
work and I'm able to send mms. Thanks for the support.

On the http://www.hardill.me.uk/wordpress/?p=17 Ben posted complete
config for the ppp connection on Huawei if anyone would need it.

Greetings,

Stanislaw Czech

NOWATEL Sp. z o.o.
http://www.nowatel.com


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


Re: [Users] Huawei config

2011-04-15 Thread Paul Bagyenda
In 1.5.0 this is no longer (necessarily) a custom MMSC. So you could add 
something like this:

group = mmsc
id=modem
type = mm1
mm1-sms-on-command = lynx -dump 
'http://localhost:13000/start-smsc?password=bar&smsc=modemsmsc'
mm1-sms-off-command = lynx -dump 
'http://localhost:13000/stop-smsc?password=bar&smsc=modemsmsc'
incoming-port = 13014
mmsc-url = http://mms.orange.pl
mm1-http-proxy = 192.168.6.104:8080
mm1-msisdn=0048505505505
mm1-gprs-on-command = /usr/local/mbuni/sbin/start-mms-gprs
mm1-gprs-pid-command = "cat /var/run/ppp-mms.pid|head -1"


On Apr 15, 2011, at 21:45, Piotr Isajew wrote:

> As for mmsc settings, here are mine:
> 
> custom-settings = "smsc-on=lynx -dump 
> 'http://localhost:13000/start-smsc?password=bar&smsc=modemsmsc';smsc-off=lynx 
> -dump 
> 'http://localhost:13000/stop-smsc?password=bar&smsc=modemsmsc';gprs-on=/usr/local/mbuni/sbin/start-mms-gprs;gprs-pid=cat
>  /var/run/ppp-mms.pid|head 
> -1;port=13014;mmsc-url=http://mms.orange.pl;proxy=192.168.6.104:8080;msisdn=0048505505505";
> 
> those work well for Orange, and similar ones work with P4. 
> 
> I use CVS versions for kannel & mbuni (but mbuni recently
> advanced to next release, so it's better to start with it).
> 
> Also note, that kannel is only relevant if you want to receive
> mms messages or send push notifications to mobile phones. For
> sending mms messages you don't need running kannel. You only need
> it's gwlib to compile mbuni.
> 
> I had no chance to play with Huawei, but I can tell that Option
> modems work without problems.
> 
> 
> 
> 
> On Fri, Apr 15, 2011 at 08:25:34PM +0200, Stanisław Czech wrote:
>>> I haven't upgrade to current stable yet, so I don't know if my
>>> comment will be appropriate for you, however, I think in mmsc
>>> section you should uncomment custom settings, and provide setting
>>> for port (i.e. port=8976). That's the port on which MM1 module
>>> will listen for incoming notifications, and perhaps lack of this
>>> setting makes it impossible for notify thread to start.
>> 
>> I did. It was commented since I wanted to know if it makes any
>> difference. With and without custom settings parameter the same error
>> occurs.
>> 
>> What kind of version setup is known to be the most stable/proven
>> (kannel/mbuni) ? Maybe you could suggest any known to work combination
>> of mm1 modem and kannel/mbuni version that is available on polish
>> market?
>> 
>> Greetings,
>> Stanislaw Czech
>> 
>> NOWATEL Sp. z o.o.
>> http://www.nowatel.com
>> 
>> 
>> ___
>> 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

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


Re: [Users] Huawei config

2011-04-15 Thread Piotr Isajew
As for mmsc settings, here are mine:

custom-settings = "smsc-on=lynx -dump 
'http://localhost:13000/start-smsc?password=bar&smsc=modemsmsc';smsc-off=lynx 
-dump 
'http://localhost:13000/stop-smsc?password=bar&smsc=modemsmsc';gprs-on=/usr/local/mbuni/sbin/start-mms-gprs;gprs-pid=cat
 /var/run/ppp-mms.pid|head 
-1;port=13014;mmsc-url=http://mms.orange.pl;proxy=192.168.6.104:8080;msisdn=0048505505505";

those work well for Orange, and similar ones work with P4. 

I use CVS versions for kannel & mbuni (but mbuni recently
advanced to next release, so it's better to start with it).

Also note, that kannel is only relevant if you want to receive
mms messages or send push notifications to mobile phones. For
sending mms messages you don't need running kannel. You only need
it's gwlib to compile mbuni.

I had no chance to play with Huawei, but I can tell that Option
modems work without problems.




On Fri, Apr 15, 2011 at 08:25:34PM +0200, Stanisław Czech wrote:
> > I haven't upgrade to current stable yet, so I don't know if my
> > comment will be appropriate for you, however, I think in mmsc
> > section you should uncomment custom settings, and provide setting
> > for port (i.e. port=8976). That's the port on which MM1 module
> > will listen for incoming notifications, and perhaps lack of this
> > setting makes it impossible for notify thread to start.
> 
> I did. It was commented since I wanted to know if it makes any
> difference. With and without custom settings parameter the same error
> occurs.
> 
> What kind of version setup is known to be the most stable/proven
> (kannel/mbuni) ? Maybe you could suggest any known to work combination
> of mm1 modem and kannel/mbuni version that is available on polish
> market?
> 
> Greetings,
> Stanislaw Czech
> 
> NOWATEL Sp. z o.o.
> http://www.nowatel.com
> 
> 
> ___
> Users mailing list
> Users@mbuni.org
> http://lists.mbuni.org/mailman/listinfo/users
> 


pgpuDw4lAsSkb.pgp
Description: PGP signature
___
Users mailing list
Users@mbuni.org
http://lists.mbuni.org/mailman/listinfo/users


Re: [Users] Huawei config

2011-04-15 Thread Stanisław Czech
> I haven't upgrade to current stable yet, so I don't know if my
> comment will be appropriate for you, however, I think in mmsc
> section you should uncomment custom settings, and provide setting
> for port (i.e. port=8976). That's the port on which MM1 module
> will listen for incoming notifications, and perhaps lack of this
> setting makes it impossible for notify thread to start.

I did. It was commented since I wanted to know if it makes any
difference. With and without custom settings parameter the same error
occurs.

What kind of version setup is known to be the most stable/proven
(kannel/mbuni) ? Maybe you could suggest any known to work combination
of mm1 modem and kannel/mbuni version that is available on polish
market?

Greetings,
Stanislaw Czech

NOWATEL Sp. z o.o.
http://www.nowatel.com


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


Re: [Users] Huawei config

2011-04-15 Thread Piotr Isajew
I haven't upgrade to current stable yet, so I don't know if my
comment will be appropriate for you, however, I think in mmsc
section you should uncomment custom settings, and provide setting
for port (i.e. port=8976). That's the port on which MM1 module
will listen for incoming notifications, and perhaps lack of this
setting makes it impossible for notify thread to start.




On Fri, Apr 15, 2011 at 04:02:54PM +0200, Stanisław Czech wrote:
> Hi,
> 
> > looks like one of mm1 threads not being started... That would
> > rather be due to some of ports being blocked by some other app
> > than because of modem-specific problem. Check your MM1 config for
> > port conflicts.
> 
> I can't see any port conflicts, neither I have any port used by other app.
> I disabled selinux, iptables and all unnecessary services - there shouldn't 
> be any
> port conflict. Do you see any possible conflicts in configuration?
> 
> Is there a more accurate way to diagnose the problem?
> 
> Thanks for such a quick response, especially from Poland ;-)
> 
> 
> Greetings
> Stanislaw Czech
> 
> NOWATEL Sp. z o.o.
> http://www.nowatel.com
> 
> 
> ___
> Users mailing list
> Users@mbuni.org
> http://lists.mbuni.org/mailman/listinfo/users
> 


pgpo6QfRQvk56.pgp
Description: PGP signature
___
Users mailing list
Users@mbuni.org
http://lists.mbuni.org/mailman/listinfo/users


Re: [Users] Huawei config

2011-04-15 Thread Stanisław Czech
Hi,

> looks like one of mm1 threads not being started... That would
> rather be due to some of ports being blocked by some other app
> than because of modem-specific problem. Check your MM1 config for
> port conflicts.

I can't see any port conflicts, neither I have any port used by other app.
I disabled selinux, iptables and all unnecessary services - there shouldn't be 
any
port conflict. Do you see any possible conflicts in configuration?

Is there a more accurate way to diagnose the problem?

Thanks for such a quick response, especially from Poland ;-)


Greetings
Stanislaw Czech

NOWATEL Sp. z o.o.
http://www.nowatel.com


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


Re: [Users] Huawei config

2011-04-15 Thread Piotr Isajew
looks like one of mm1 threads not being started... That would
rather be due to some of ports being blocked by some other app
than because of modem-specific problem. Check your MM1 config for
port conflicts.

Regards,

Piotr

On Fri, Apr 15, 2011 at 03:39:26PM +0200, Stanisław Czech wrote:
> Welcome,
> 
> > Would be helpful yes.
> 
> > I still did not get this config too.
> 
> Thats a pity. I tried and got the same result as you did:
> "2011-04-15 15:23:11 [29837] [7] DEBUG: Queued to thread 2 for 
> /var/spool/mbuni/mmsbox_outgoing/1/9l/qf3489.1.x837.54, sendt=1302873790, 
> tnow=1302873791
> 2011-04-15 15:23:11 [29837] [15] ERROR: bearerbox.c:1679
>  [MM7] [n/a] Retry later MMSBox Outgoing Queue MMS Send: 
> From 100/TYPE=PLMN, to 48/TYPE=PLMN, msgsize=98: internal error, mm1 
> notify not started!
> "
> I tired Kannel 1.4.3 with recent Mbuni 1.5.0 without any luck.
> 
> As far as I can see everything 'by hand' works ok (ppp connection,
> stoping and starting service) but thoes actions are not even executed.
> 
> Sending sms by pure Kannel works ok.
> 
> I use:
> Bus 001 Device 002: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem
> 
> Any advice?
> 
> My configs:
> ___
> mmsbox.conf
> 
> group = core
> log-file = /var/log/kannel/mmsbox.log
> access-log = /var/log/kannel/mmsbox-access.log
> log-level = 0
> 
> group = mbuni
> storage-directory = /var/spool/mbuni
> max-send-threads = 5
> maximum-send-attempts = 50
> default-message-expiry = 36
> queue-run-interval = 5
> send-attempt-back-off = 300
> sendmms-port = 10001
> sendsms-url = http://localhost:6113/cgi-bin/sendsms
> sendsms-username = ginn
> sendsms-password = ginn
> 
> # Sample conf for MMSBox using a modem (MM1)
> group = mmsc
> id = modem
> type = custom
> #custom-settings = "smsc-on=lynx -dump
> 'http://localhost:13000/start-smsc?password=kira&smsc=moj';smsc-off=lynx
> -dump 'http://localhost:13000/stop-smsc?password=kira&smsc=moj';gprs-on=pon 
> plus; gprs-pid=cat /var/run/ppp0.pid | head -
> mmsc-library = /usr/local/lib/libmmsbox_mm1.so
> 
> group = send-mms-user
> username = ginn
> password = ginn
> faked-sender = 100
> ___
> kannel.conf
> # Default kannel configuration file
> group = core
> admin-port = 13000
> admin-password = kira
> status-password = kira
> admin-deny-ip = "*.*.*.*"
> admin-allow-ip = "127.0.0.1;192.168.*.*"
> smsbox-port = 13001
> wapbox-port = 13002
> #box-deny-ip = "*.*.*.*"
> box-allow-ip = "127.0.0.1"
> wdp-interface-name = "*"
> log-file = "/var/log/kannel/kannel.log"
> log-level = 1
> access-log = "/var/log/kannel/kannel.access"
> 
> group = smsbox
> bearerbox-host = localhost
> sendsms-port = 6113
> global-sender = 6113
> sendsms-chars = "0123456789"
> access-log = "/var/log/kannel/kannel.access"
> log-file = "/var/log/kannel/smsbox.log"
> log-level = 0
> 
> group = sendsms-user
> username="ginn"
> password="ginn"
> max-messages = 10
> concatenation = true
> 
> 
> group = smsc
> smsc-id = moj
> smsc = at
> port = 1
> modemtype = huawei_e220_00
> device = /dev/ttyUSB0
> sms-center = +48601000310
> my-number = +48663837206
> connect-allow-ip = "127.0.0.1;192.168.*.*"
> 
> 
> group = modems
> id = huawei_e220_00
> name = "Huawei E220"
> detect-string = "huawei"
> init-string = "AT+CNMI=2,1,2,2,0"
> message-storage = sm
> speed = 460800
> 
> #The sms-service group configures how Kannel gets messages to your web 
> application.
> 
> group = sms-service
> keyword = default
> text = "No service specified"
> 
> group = sms-service
> #keyword =
> keyword-regex = .*
> catch-all = yes
> max-messages = 0
> get-url = "www.whatever.net"
> 
> group = sms-service
> keyword = default
> catch-all = true
> get-url = http://localhost:13014/?text=%b # kannel sends the binary data from
> #the message(%b) to mbuni
> #denied-prefix = ""
> max-messages = 0
> concatenation = true
> 
> group = wapbox
> bearerbox-host = localhost
> log-file = "/var/log/kannel/wapbox.log"
> log-level = 0
> syslog-level = 0
> timer-freq = 10
> map-url = "http://mms/* http://localhost:13014";
> ___
> 
> 
> In logs I have:
> 2011-04-15 15:16:46 [29803] [0] INFO: Added logfile 
> `/var/log/kannel/kannel.log' with level `1'.
> 2011-04-15 15:16:46 [29803] [0] INFO: Started access logfile 
> `/var/log/kannel/kannel.access'.
> 2011-04-15 15:16:46 [29803] [0] INFO: HTTP: Opening server at port 13000.
> 2011-04-15 15:16:46 [29803] [0] INFO: BOXC: 'smsbox-max-pending' not set, 
> using default (100).
> 2011-04-15 15:16:46 [29803] [0] INFO: Set SMS resend frequency to 60 seconds.
> 2011-04-15 15:16:46 [29803] [0] INFO: SMS resend retry set to unlimited.
> 2011-04-15 15:16:46 [29803] [0] INFO: DLR rerouting for smsc id  
> disabled.
> 2011-04-15 15:16:46 [29803] [0] INFO: AT2[moj]: configuration shows modemtype 
> 
> 2011-04-15 15:16:46 [29803] [

Re: [Users] Huawei config

2011-04-15 Thread Stanisław Czech
Welcome,

> Would be helpful yes.

> I still did not get this config too.

Thats a pity. I tried and got the same result as you did:
"2011-04-15 15:23:11 [29837] [7] DEBUG: Queued to thread 2 for 
/var/spool/mbuni/mmsbox_outgoing/1/9l/qf3489.1.x837.54, sendt=1302873790, 
tnow=1302873791
2011-04-15 15:23:11 [29837] [15] ERROR: bearerbox.c:1679
 [MM7] [n/a] Retry later MMSBox Outgoing Queue MMS Send: From 
100/TYPE=PLMN, to 48/TYPE=PLMN, msgsize=98: internal error, mm1 notify 
not started!
"
I tired Kannel 1.4.3 with recent Mbuni 1.5.0 without any luck.

As far as I can see everything 'by hand' works ok (ppp connection,
stoping and starting service) but thoes actions are not even executed.

Sending sms by pure Kannel works ok.

I use:
Bus 001 Device 002: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem

Any advice?

My configs:
___
mmsbox.conf

group = core
log-file = /var/log/kannel/mmsbox.log
access-log = /var/log/kannel/mmsbox-access.log
log-level = 0

group = mbuni
storage-directory = /var/spool/mbuni
max-send-threads = 5
maximum-send-attempts = 50
default-message-expiry = 36
queue-run-interval = 5
send-attempt-back-off = 300
sendmms-port = 10001
sendsms-url = http://localhost:6113/cgi-bin/sendsms
sendsms-username = ginn
sendsms-password = ginn

# Sample conf for MMSBox using a modem (MM1)
group = mmsc
id = modem
type = custom
#custom-settings = "smsc-on=lynx -dump
'http://localhost:13000/start-smsc?password=kira&smsc=moj';smsc-off=lynx
-dump 'http://localhost:13000/stop-smsc?password=kira&smsc=moj';gprs-on=pon 
plus; gprs-pid=cat /var/run/ppp0.pid | head -
mmsc-library = /usr/local/lib/libmmsbox_mm1.so

group = send-mms-user
username = ginn
password = ginn
faked-sender = 100
___
kannel.conf
# Default kannel configuration file
group = core
admin-port = 13000
admin-password = kira
status-password = kira
admin-deny-ip = "*.*.*.*"
admin-allow-ip = "127.0.0.1;192.168.*.*"
smsbox-port = 13001
wapbox-port = 13002
#box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
wdp-interface-name = "*"
log-file = "/var/log/kannel/kannel.log"
log-level = 1
access-log = "/var/log/kannel/kannel.access"

group = smsbox
bearerbox-host = localhost
sendsms-port = 6113
global-sender = 6113
sendsms-chars = "0123456789"
access-log = "/var/log/kannel/kannel.access"
log-file = "/var/log/kannel/smsbox.log"
log-level = 0

group = sendsms-user
username="ginn"
password="ginn"
max-messages = 10
concatenation = true


group = smsc
smsc-id = moj
smsc = at
port = 1
modemtype = huawei_e220_00
device = /dev/ttyUSB0
sms-center = +48601000310
my-number = +48663837206
connect-allow-ip = "127.0.0.1;192.168.*.*"


group = modems
id = huawei_e220_00
name = "Huawei E220"
detect-string = "huawei"
init-string = "AT+CNMI=2,1,2,2,0"
message-storage = sm
speed = 460800

#The sms-service group configures how Kannel gets messages to your web 
application.

group = sms-service
keyword = default
text = "No service specified"

group = sms-service
#keyword =
keyword-regex = .*
catch-all = yes
max-messages = 0
get-url = "www.whatever.net"

group = sms-service
keyword = default
catch-all = true
get-url = http://localhost:13014/?text=%b # kannel sends the binary data from
#the message(%b) to mbuni
#denied-prefix = ""
max-messages = 0
concatenation = true

group = wapbox
bearerbox-host = localhost
log-file = "/var/log/kannel/wapbox.log"
log-level = 0
syslog-level = 0
timer-freq = 10
map-url = "http://mms/* http://localhost:13014";
___


In logs I have:
2011-04-15 15:16:46 [29803] [0] INFO: Added logfile 
`/var/log/kannel/kannel.log' with level `1'.
2011-04-15 15:16:46 [29803] [0] INFO: Started access logfile 
`/var/log/kannel/kannel.access'.
2011-04-15 15:16:46 [29803] [0] INFO: HTTP: Opening server at port 13000.
2011-04-15 15:16:46 [29803] [0] INFO: BOXC: 'smsbox-max-pending' not set, using 
default (100).
2011-04-15 15:16:46 [29803] [0] INFO: Set SMS resend frequency to 60 seconds.
2011-04-15 15:16:46 [29803] [0] INFO: SMS resend retry set to unlimited.
2011-04-15 15:16:46 [29803] [0] INFO: DLR rerouting for smsc id  disabled.
2011-04-15 15:16:46 [29803] [0] INFO: AT2[moj]: configuration shows modemtype 

2011-04-15 15:16:46 [29803] [0] INFO: AT2[moj]: read modem definition for 

2011-04-15 15:16:46 [29803] [0] INFO: Adding interface *
2011-04-15 15:16:46 [29803] [0] INFO: 
2011-04-15 15:16:46 [29803] [0] INFO: Kannel bearerbox II version 1.4.3 starting
2011-04-15 15:16:46 [29803] [0] INFO: MAIN: Start-up done, entering mainloop
2011-04-15 15:16:46 [29803] [6] INFO: AT2[moj]: trying to use speed <460800> 
from modem definition
2011-04-15 15:16:46 [29803] [6] INFO: AT2[moj]: opening device
2011-04-15 15:16:46 [29803] [6] INFO: AT2[moj]: speed set to 460800
2011-04-15 15:16:48 [29803] [6] INFO: AT2[moj

Re: [Users] Huawei config

2011-04-14 Thread Emmanuel CHANSON
Would be helpful yes.

I still did not get this config too.

BR

Emmanuel

2011/4/14 Stanisław Czech 

> Hi,
>
> After browsing few hours through various posts and sites I didn't find
> complete setup for Huawei modems (E220 or other). Does anyone have such
> working
> configuration (including pppd configurations etc) ?
>
> I know Emmanuel was looking for such configs a while ago.
>
> That would help a lot of guys here :)
>
>
> Greetings,
> Stanislaw Czech
>
> NOWATEL Sp. z o.o.
> http://www.nowatel.com
>
>
> ___
> 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


[Users] Huawei config

2011-04-14 Thread Stanisław Czech
Hi,

After browsing few hours through various posts and sites I didn't find
complete setup for Huawei modems (E220 or other). Does anyone have such working
configuration (including pppd configurations etc) ?

I know Emmanuel was looking for such configs a while ago.

That would help a lot of guys here :)
  

Greetings,
Stanislaw Czech

NOWATEL Sp. z o.o.
http://www.nowatel.com


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