On Montag, Februar 3, 2003, at 12:52 Uhr, Stipe Tolj wrote:
Hi list, Hi Aarno,
I'm wondering how we can do something like this: (has been discussed
already)
...
group = ppg
...
default-smsc-id = <foo> # the default smsc-id to use in bearerbox
this is pretty easy, but what about this:
...
grou = wap-push-user
...
smsc-id = <foo> # user specific smsc-id to use
this is harder.
I don't see any easy way in passing the smsc-id config value of a
specific wap-push-user, let's say from
gateway/wap_push_ppg.c:655:pap_request_thread() up to
gateway/wapbox.c:334:pack_sms_datagram() where the sms splits are send
to the bearerbox.
I think both variants make sense. I would actually recommend the following approach:
a) if &smsc=... is set on the push, use it otherwhise use the one defined in group=ppg
b) if group wap-push user has a default-smsc-id, use it if &smsc=.. is not set by step a)
c) if group wap-push user has a smsc-id, discard any already set smsc-id and force it to the value of the config file.
Andreas Fink
Global Networks Switzerland AG
------------------------------------------------------------------
Tel: +41-61-6666333 Fax: +41-61-6666334 Mobile: +41-79-2457333
Global Networks, Inc. Clarastrasse 3, 4058 Basel, Switzerland
Web: http://www.global-networks.ch/� [EMAIL PROTECTED]
------------------------------------------------------------------
Member of the GSM Association
