OK, a slight correction: select_bearer_network correctly modifies bearer/network_required. Unfortunately this is not what Kannel actually uses. It uses the old copy of the data stored in the PPGPushMachine.
Regards J�rg -----Original Message----- From: J�rg Pommnitz To: 'Aarno Syv�nen '; J�rg Pommnitz Cc: '[EMAIL PROTECTED]' Sent: 11/29/01 10:43 AM Subject: RE: recent WAPPush with IPv4 bearer crashes Hi Aarno, I think I know what's going on. The key is the following comment: /* * We support networks using IP as a bearer and GSM using SMS as bearer, so we * must reject others. Default bearer is IP, it is (currently) not-SMS. After * the check we change meaning of the bearer_required-attribute: it will tell * do we use WAP over SMS. */ I think this attribute is never changed. With a QoS element in the PAP request and bearer-required and network-required set to true, Kannel will always send a SMS. Do you aggree? Regards J�rg -----Original Message----- From: Aarno Syv�nen To: J�rg Pommnitz Sent: 11/29/01 9:30 AM Subject: Re: recent WAPPush with IPv4 bearer crashes J�rg Pommnitz wrote: > > Aarno Syv�nen [mailto:[EMAIL PROTECTED]] wrote: > > > > <quality-of-service bearer="Any" bearer-required="true" > > > delivery-method="unconfirmed" network="Any" > > > network-required="true" priority="medium"/> > > > > If bearer and/or network are "Any", PPG should use some reasonable > > bearer and/or > > network. It should depend on address, being either "GSM+SMS" or > > "GSM+CSD". > > > > I modified my code to set bearer="CSD" and network="GSM" for IPv4 > addresses in the quality-of-service tag. It still tries to send a > SMS to an IP address. I will investigate this, too. Aarno
