Yes, sorry, but:
<!-- request from Kannel to application -->
<from>
<user>username</user>
<username>username</username>
<pass>password</pass>
<password>password</password>
<account>account</account>
</from>
<to>smsc-id</to>
<!-- request from application to Kannel -->
<from>smsc-id</from>
<to>service-name</to>
<from>
<user>username</user>
<username>username</username>
<pass>password</pass>
<password>password</password>
<account>account</account>
</from>
<to>smsc-id</to>
<!-- request from application to Kannel -->
<from>smsc-id</from>
<to>service-name</to>
TO is in the case kannel to app
you are using APP to kannel, so is FROM.
On 11/13/06, Κωνσταντίνος Λιαδάκης <[EMAIL PROTECTED]> wrote:
When using xml to post messages this parameter is to
Manual says in post xml example
<to>smsc-id</to>
Thank you very much for your reply
O/H Diego Helmann έγραψε:
> "parameter to" is for destination msisdn
>
> I think the parameter you need is smsc.
>
> regards
>
> Diego
>
>
> On 11/13/06, *Κωνσταντίνος Λιαδάκης* <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED] >> wrote:
>
> Hello, i have posted before about this problem i am facing with
> kannel.
> So far i have tried 1.4.1 stable and cvs version but problem remains.
>
> I have read in manual:
>
> If you have several SMS center connections (multiple operators or a
> number of GSM modems) you need to configure one smsc group per SMS
> center (or GSM modem). When doing this, you might want to use routing
> systems to rout messages to specific centers - for example, you have 2
> operator SMS centers, and the other is much faster and cheaper to use.
>
> To set up routing systems, first give an unique ID for each SMS
> center -
> or if you want to treat multiple ones completely identical, give them
> identical ID. Then use preferred-smsc-id and denied-smsc-id to set up
> the routing to your taste. See also SMS PUSH settings ('sendsms-user'
> groups)
>
> I have been try to do that but with no luck. I send messages i specify
> which smsc-id to be used in the xml post (parameter to)but still no
> luck. I even tried from browser but again same thing. Also tryied to
> force user with forced or default smsc but again no luck.
>
> If this cannot work then how can kannel be used.PLEASE HELP. I think i
> have tried all possible things that can be done, and have extensivelly
> searched mailing list about this.
>
> Thank you very much in advance
>
> I am also posting my kannel.conf.
>
> group = core
>
> admin-port = 13000
>
> admin-password = xxxxxxx
>
> status-password = xxxxxxxx
>
> wapbox-port = 13002
>
> #admin-deny-ip = ""
>
> #admin-allow-ip = ""
>
> smsbox-port = 13003
>
> log-file = "/kannel/kannel.log"
>
> log-level = 0
>
> access-log = "/kannel/access.log"
>
> dlr-storage = internal
>
> # Wapbox related
>
> group = wapbox
>
> bearerbox-host = "127.0.0.1 <http://127.0.0.1>"
>
> log-file = "/kannel/wapbox.log"
>
> log-level = 0
>
> # SMSC EMI
>
> group = smsc
>
> smsc = emi
>
> smsc-id = ROUTE3
>
> #smsc = emi_ip to use the old implementation
>
> host = xxx.xxx.xxx.xxx
>
> port = xxxx
>
> smsc-username = xxxxxxxx
>
> smsc-password = xxxxxxxx
>
> receive-port = xxxx
>
> keepalive = 60
>
> denied-smsc-id = ROUTE4;ROUTE1;ROUTE2;ROUTE5
>
> #preferred-smsc-id = ROUTE3
>
> #allowed-smsc-id = ROUTE3
>
>
>
> # SMSC SMPP
>
> group = smsc
>
> smsc = smpp
>
> smsc-id = ROUTE4
>
> host = xxx.xxx.xxx.xxx
>
> port = xxxx
>
> receive-port = xxxx
>
> smsc-username = xxxxxxxx
>
> smsc-password = xxxxxxxxx
>
> system-type = VMA
>
> transceiver-mode = TRUE
>
> source-addr-ton = 5
>
> source-addr-npi = 1
>
> dest-addr-ton = 0
>
> dest-addr-npi = 1
>
> alt-charset = "ISO-8859-1"
>
> denied-smsc-id = ROUTE1;ROUTE2;ROUTE3;ROUTE5
>
> #preferred-smsc-id = ROUTE4
>
> #allowed-smsc-id = ROUTE4
>
>
>
> # SMSC SMPP
>
> group = smsc
>
> smsc = smpp
>
> smsc-id = ROUTE2
>
> host = xxx.xxx.xxx.xxx
>
> port = xxxx
>
> receive-port = xxxx
>
> smsc-username = xxxxxxxx
>
> smsc-password = xxxxxxxx
>
> system-type = VMA
>
> transceiver-mode = TRUE
>
> source-addr-ton = 5
>
> source-addr-npi = 1
>
> dest-addr-ton = 0
>
> dest-addr-npi = 1
>
> alt-charset = "ISO-8859-1"
>
> denied-smsc-id = ROUTE1;ROUTE3;ROUTE4;ROUTE5
>
> #preferred-smsc-id = ROUTE2
>
> #allowed-smsc-id = ROUTE2
>
>
>
> # SMSC SMPP
>
> group = smsc
>
> smsc = smpp
>
> smsc-id = ROUTE5
>
> host = xxx.xxx.xxx.xxx
>
> port = xxxx
>
> receive-port = xxxx
>
> smsc-username = xxxxxxxx
>
> smsc-password = xxxxxxx
>
> system-type = smpp
>
> transceiver-mode = TRUE
>
> #address-range =
>
> source-addr-ton = 5
>
> source-addr-npi = 1
>
> dest-addr-ton = 0
>
> dest-addr-npi = 1
>
> alt-charset = "ISO-8859-1"
>
> denied-smsc-id = ROUTE1;ROUTE4;ROUTE3;ROUTE2
>
> #preferred-smsc-id = ROUTE2
>
> #allowed-smsc-id = ROUTE2
>
> # SMSC SMPP
>
> group = smsc
>
> smsc = smpp
>
> smsc-id = ROUTE1
>
> host = xxx.xxx.xxx.xxx
>
> port = xxxx
>
> receive-port = xxxx
>
> smsc-username = xxxxxxxx
>
> smsc-password = xxxxxxx
>
> system-type = VMA
>
> transceiver-mode = TRUE
>
> source-addr-ton = 5
>
> source-addr-npi = 1
>
> dest-addr-ton = 0
>
> dest-addr-npi = 1
>
> alt-charset = "ISO-8859-1"
>
> denied-smsc-id = ROUTE4;ROUTE3;ROUTE2;ROUTE5
>
> #preferred-smsc-id = ROUTE1
>
> #allowed-smsc-id = ROUTE1
>
> # SMSBOX SETUP
>
> group = smsbox
>
> bearerbox-host = "127.0.0.1 <http://127.0.0.1>"
>
> sendsms-port = 13013
>
> log-file = "/kannel/smsbox.log"
>
> log-level = 0
>
> access-log = "access.log"
>
>
> # SEND-SMS USERS
>
> group = sendsms-user
>
> username = tester
>
> password = foobar
>
> #default-smsc = ROUTE2
>
>
> # this sender is for Kannel relay testing (http_smsc)
>
> group = sendsms-user
>
> username = kannel
>
> password = rL4y
>
> user-deny-ip = "*.*.*.*"
>
> user-allow-ip = localhost
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> ------------------------------------------------------------------------
>
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.0.409 / Virus Database: 268.14.3/530 - Release Date: 11/11/2006
>
