> > Why not just hardcode it? If you plan to add the phone number to > > kannel.conf anyhow, just put 'smsc=<phone number>' directly in the > > get-url string. > We've done that until now but if it could be done dynamically > by fetching the receiver number from the PDU, that would be a > nicer setup, right?
I seem to recall us having the exact same problem and wanting to add such a fix to kannel, but the receiver number is NOT in the PDU as far as I can remember (someone better correct me if I'm wrong :) ). cheers, Frederik Ammitzbøll Unwire Vestergade 12A, 3. 1456 København K Mobil: +45 27 11 99 99 Fax : +45 33 33 09 70 Web: www.unwire.dk > Jacob > > > -----Original Message----- > > From: Frederik Ammitzbøll [mailto:[EMAIL PROTECTED]] > > Sent: 23. april 2002 17:22 > > To: KannelUsers > > Subject: RE: my-number in AT2 > > > > > > > I'm missing a configuration option to set the phone number of > > > the specific modem so when an SMS is received through a modem > > > I can use the %P or %Q parameters in sms-service to tell an > > > application which modem received it in the same way as I > > > would do it with an SMSC connection. > > > > Why not just hardcode it? If you plan to add the phone number to > > kannel.conf anyhow, just put 'smsc=<phone number>' directly in the > > get-url string. > > > > Cheers, > > > > Frederik Ammitzbøll > > Unwire > > Vestergade 12A, 3. > > 1456 København K > > > > Mobil: +45 27 11 99 99 > > Fax : +45 33 33 09 70 > > > > > > > > By the way isn't the receiver number a part of the PDU when > > > the message is received? Couldn't we use that in kannel to > > > make the feature I'm asking for? > > > > > > Best regards, > > > Jacob Vennervald > > > > > > > > > > > > > >