HI,

On each of the smsc configurations you need to set the allowed smsc- id :-

group=smsc
smsc-id = route1
allowed-smsc-id = route1
...

group=smsc
smsc-id = route2
allowed-smsc-id = route2
...

Then when you submit a message use the smsc param :-

fetch http://localhost:13013/cgi-bin/sendsms?username=tester \&password=foobar\&to=44.....&text=test%20message&smsc=route1

or

fetch http://localhost:13013/cgi-bin/sendsms?username=tester \&password=foobar\&to=44.....&text=test%20message&smsc=route2

In the above case I set the smsc-id to be the same then I can pick it up via the kannel headers in the post request.

Regards

Ben

On 25 Sep 2006, at 08:41, Huber, Gottfried wrote:


Hallo,


I want to use 2 smsc-connections to different providers.

I also have to decide in the http-request, which smsc-connection is to
be used to send this message.

How can i do this ?

Does somebody have an example, please ?


THX

Gottfried



Reply via email to