Re: incoming originator on SMPP

Nisan Bloch <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Hi

surely just not setting my-number in the config will sort that out.

Nisan
At 11:46 AM 11/13/02 +0100, Andreas Fink wrote:
>scenario:
>
>you have
>
>global-sender = "123"
>
>so all your outgoing SMS which dont have &from=... set will be from 123
>you got one SMPP link. no "my-number" stuff defined.
>
>you get an incoming SMS from that SMPP link and it will be always "to 123" 
>even the sender might have used another short ID.
>
>The problem seems to come from gw/smsc/smsc_smpp.c line 738ff
>
>                 /* Replace MO destination number with my-number */
>                 if (octstr_len(smpp->my_number)) {
>                     octstr_destroy(msg->sms.receiver);
>                     msg->sms.receiver = octstr_duplicate(smpp->my_number);
>                 }
>
>Removing this, makes it work. However its supposed to be there for a 
>particular reason.
>whats the best way to fix this?
>
>Andreas Fink
>Global Networks, Inc.
>
>------------------------------------------------------------------
>Tel: +41-61-6666333  Fax: +41-61-6932729   Mobile: +41-79-2457333
>Global Networks, Inc. Clarastrasse 3, 4058 Basel, Switzerland
>Web: 
><http://www.global-networks.ch/ >http://www.global-networks.ch/ 
>[email protected]
>------------------------------------------------------------------
>Member of the GSM Association
></blockquote></x-html>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.