Here you got Alejandro Guerrieri's PHP way of doing it via sendsms:
http://permalink.gmane.org/gmane.comp.mobile.kannel.user/6618
regards,
Juan
Arnaud de Saint-Alary wrote:
Sending the push wap via the sendsms-user would be a good solution.
But how do you encode the push wap ? Do you have a sample request ?
Thanks for your help.
-----Message d'origine-----
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 15 février 2007 17:30
À : Arnaud de Saint-Alary; users@kannel.org
Objet : Re: RE : Random SMSC used for push waps
ummm
im lost here
i do send wap push via the sendsms-user :/
did you try to use the smsc parameter in the request
after you set the denied-smsc-id ?
in fact, i had such situation today,
because i had to use the modem smsc, instead the smpp smscs i have
so after setting the force-smsc, denied-smsc-id and the proper value for the
smsc parameter,
it worked
in all the smpp smsc groups i sed the denied-smsc-id to the id of the modem smsc
and in the request i set the smsc parameter to the name of the modem smsc ...
seik
On Thu, Feb 15, 2007 at 04:55:12PM -0400, Arnaud de Saint-Alary wrote:
Thank you for your quick replies.
But I do not have any sendsms-user group as I only send wap push and it
requires a wap-push-user instead.
I have tried the denied-smsc-id options but it does not change anything
-----Message d'origine-----
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Envoyй : jeudi 15 fйvrier 2007 15:44
А : Arnaud; users@kannel.org
Objet : Re: Random SMSC used for push waps
set several sendsms-user groups and theere set
default-smsc and
default-smsc
and,
use denied-smsc-id in the smsc group settings and use smsc parameter in the
WAP PUSH request
i.e. ?to={$msisdn}&from={$sender}&smsc=A
smsc-id = A
denied-smsc-id = C,B
smsc-id = B
denied-smsc-id = A,C
etc
check the proper names of the parameters in the manual :/
cheers
seik
On Thu, Feb 15, 2007 at 03:08:56PM -0400, Arnaud wrote:
Hi,
I have 3 different SMSC connections (group) in my config but I need
all my push waps to go through a particular SMSC.
I have tried both at the same time:
- set a "X-Kannel-SMSC" header with the corresponding smsc id while
submitting the request
- set the "default-smsc" in "ppg" group
- set the "forced-smsc" in the "wap-push-user"
But none of it worked. It just keeps picking SMSCs randomly. When it
chooses the right SMSC it sends the push wap, but I could not find
anyway to make sure Kannel uses this correct SMSC
Any help would be really appreciated.
Thanks in advance,
Arnaud