Or better to say: the gw library (libgw.a). gwlib is the gwlib/* directory (libgwlib.a). These are the Kannel helper functions.
== Rene -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Nikos Balkanas Sent: Monday, 16 August, 2010 22:52 To: adil nazir; Alejandro Guerrieri Cc: [email protected] Subject: Re: Need kind help in Implementation of priority queue It is in bearerbox. All gw/* files form gwlib which is statically linked to bearebox.c at compilation. They are in a library, so that they can be used in other components as well. BR, Nikos ----- Original Message ----- From: adil nazir To: Alejandro Guerrieri Cc: [email protected] Sent: Monday, August 16, 2010 9:24 PM Subject: Re: Need kind help in Implementation of priority queue Thanks for your help but in doxygen cross-reference i could not found any function in gw/smsc/smsc_smpp.c from gw-prioqueue.c file but in download version of kannel named gateway-1.4.3 i found functions name gw_prioqueue_create() in file gw/smsc/smsc_smpp.c. I don't know why its not mentioned in cross-reference. Any ways it means that kannel is maintain priority queue. but if its a bearerbox thing then why its not in bearerbox.c i mean how bearerbox is maintaining the sms comming from smsbox with priority 3so please tell me if i send an push message with priority=3 in URL then how kannel works how it deal this message tell me the process from smsbox to the delivery of this sms on mobile with priority maintenance. From: Alejandro Guerrieri <[email protected]> To: adil nazir <[email protected]> Cc: [email protected] Sent: Mon, August 16, 2010 4:34:29 PM Subject: Re: Need kind help in Implementation of priority queue You won't find any references on smsbox. It's a bearerbox thing (the queueing is implemented on the SMSC drivers themselves). Check gwlib/gw-prioqueue.* for the queue implementation. You'll see it's used on each driver supporting it: gw/smsc/smsc_at.c gw/smsc/smsc_emi.c gw/smsc/smsc_smpp.c You can check the doxygen cross-reference for further information about how all those components are related to each other: http://doxygen.kannel.org/ Hope it helps, Alex On Mon, Aug 16, 2010 at 8:43 AM, adil nazir <[email protected]> wrote: Can anyone help me in finding the implementation of sendsms in SMSBOX i mean if i have following URL: "http://localhost:13013/cgi-bin/sendsms?username=tester&password=foobar&text =hello&priority=3&to=+123456789"; then i want to know how kannel deal with priority=3 in kannel. Its handling it in smsbox.c file or in bearerbox.c file. This URL will tell tell smsbox about the priority or its telling bearerbox about this priority. In both cases how kannel handles it in code. Adil Nazir
