FYI, on the CVS the error was replaced by a warning some time ago.

So, if you update to CVS someday, no patching will be neccesary to fix
this again.

Hope it helps,

Alejandro

On 9/14/07, ashwani <[EMAIL PROTECTED]> wrote:
>
>
>
>
> Hi Samir,
>
>
>
> Good to hear that my advice helped, hope u don't have any more problem with
> kannel ….
>
>
>
>
> Regards
>
> Ashwani
>
>
>
>  ________________________________
>
>
> From: Samir Ghodasara [mailto:[EMAIL PROTECTED]
>  Sent: Friday, September 14, 2007 5:33 PM
>  To: ashwani
>  Cc: Kannel Users; Jean-Claude Adams
>
>  Subject: Re: gateway-1.4.1 and Mallformed addr `****', expected at least
> 7digits.
>
>
>
>
> Hi Ashwani,
>
>  Thank you very much.
>
>  I changed smsc_smpp.c file and installed kannel freshly and now it is
> working.
>
>  Thanks & Regards,
>  Samir.
>
>
>
>
>
> On 9/14/07, ashwani <[EMAIL PROTECTED]> wrote:
>
> Hi Samir,
>
>  I faced the similar problem while integrating with one of the operator's
>  SMSC. In that case, SMSC was sending messages with "ton =1" which means
>  international. Now, as per SMPP 3.4, international ton would require
>  destination address of at lest 7 digit. Since the destination address was a
>  shortcode and hence less than 7 digit, kannel was throwing this error
>
>  To resolve this issue, we had to change in kannel smpp file where we
> reduced
>  the minimum digit of destination number to 4
>
>  Go to  /server-location of kannel/gateway1.4.1/gw/smsc
>
>  Edit file named smsc_smpp.c  and change
>
>                  if (octstr_len(addr) < 7) {
>
>                          to
>
>  if (octstr_len(addr) < 4) {
>
>  And then recompile the kannel i.e install the kannel freshly.
>
>  Hope this will help
>
>  Regards
>  Ashwani Kumar
>
>
>
>  -----Original Message-----
>  From: Jean-Claude Adams [mailto: [EMAIL PROTECTED]
>  Sent: Thursday, September 13, 2007 9:32 PM
>  To: Samir Ghodasara; Kannel Users
>  Subject: Re: gateway-1.4.1 and Mallformed addr `****', expected at least
>  7digits.
>
>  Hi:
>
>  I guess your are received '+' or any character prefix.
>
>  You can solve this in your smsc group:
>
>  address-range = "^99011$"
>  source-addr-ton = 5
>  source-addr-npi = 0
>  source-addr-autodetect = true
>  dest-addr-ton = 4
>  dest-addr-npi = 0
>  bind-addr-ton = 0
>  bind-addr-npi = 0
>  msg-id-type = 0x01
>
>  Samir Ghodasara wrote:
>  > Hi,
>  >
>  > i am new user for Kannel and currently trying to configure kannel to
>  > receive the message for give short code.
>  >
>  > I configure kannel for two different SMSC for same short code.
>  > I am able to receive message from one SMSC,but while using other SMSC
>  > mobile i am getting
>  > "Mallformed addr `****', expected at least 7 digits." at Bear box.
>  >
>  > Conf which i am using..
>  >
>  > gateway-1.4.1
>  > source-addr-ton=1
>  > source-addr-npi=1
>  > dest-addr-ton=1
>  > dest-addr-npi=1
>  > transceiver-mode=true
>  >
>  > I am really confuse that it is working for one SMSC and not working
>  > for anhother SMSC.
>  >
>  > Waiting for your valuable response.
>  >
>  > Thanks & Regards,
>  > Samir.
>  >
>
>
>  --
>  Jean-Claude Adams
>  Encargado de Sistemas
>  PICO S.A.CI.
>  Tel. +595 21 665052
>  Cel. +595 981 833415
>  email: [EMAIL PROTECTED]
>
>
>
>
>
>
>
>


-- 
Alejandro Guerrieri
Magicom
http://www.magicom-bcn.net/
LinkedIn: http://www.linkedin.com/in/aguerrieri

Reply via email to