First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 126331
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Mobile Phone Developers <mobile-phone@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Lubor Kolar <kolar@porcus.cz>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
kannel-patch.tar.bz2 New eBuild + patch file patch Lubor Kolar 2006-03-15 12:27 0000 5.42 KB Details | Diff
kannel-1.4.0-custom-ports.patch Patch only in plaintext patch Lubor Kolar 2006-03-16 04:33 0000 12.98 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 126331 depends on: Show dependency tree
Bug 126331 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-03-15 12:23 0000
In the mobile Internet world, there are standard UDP ports (9200-9203) on which
mobile phones are trying to connect the WAP gateway. Unfortunatelly, some
mobile network operators are blocking  these ports to force users to use their
(expensive) WAP gateways. Some mobile phones manufacturers (like Siemens) allow
users to override the the default port. This "workaround" let users to use
custom and free WAP gateways. Original Kannel WAP gateway uses standard ports
without  possibility to change it. I made a patch which solves this problem.
User can add to the /etc/kannel/kannel.conf under section "group = wapbox"
lines like these:

wsp-port = 1081
wtp-port = 1082
wsps-port = 1083
wtps-port = 1084

------- Comment #1 From Lubor Kolar 2006-03-15 12:27:14 0000 -------
Created an attachment (id=82233) [edit]
New eBuild + patch file

------- Comment #2 From Alin Năstac 2006-03-16 04:28:16 0000 -------
please reattach the patch without bzipping it.

------- Comment #3 From Lubor Kolar 2006-03-16 04:33:42 0000 -------
Created an attachment (id=82293) [edit]
Patch only in plaintext

------- Comment #4 From Alin Năstac 2006-03-16 07:44:14 0000 -------
1) any reason for defining port_w* global variables as long instead of unsigned
short?
2) did you sent this patch to upstream for inclusion in the future versions? 

------- Comment #5 From Alin Năstac 2006-03-25 01:45:05 0000 -------
a slightly changed version of this patch is applied in kannel-1.4.0-r1.
please send
/usr/portage/app-mobilephone/kannel/files/kannel-1.4.0-custom-wap-ports.patch
to upstream, for inclusion in future versions.
thanks for your contribution!

------- Comment #6 From GoranB 2006-05-01 03:41:56 0000 -------
Please fix this patch for configurations, which do not use the WAP
functionality of Kannel.

My setup uses only the SMS features and this patch breaks my configuration,
because it expects the custom port configuration values to be present.
Startup fails with this message: PANIC: Trying to fetch variable `wsp-port' in
non-existing group

As I do not have a wapbox group (don't need it), this is a normal thing to
happen! Sure, a workaround is to add the group and values, but this is not "a
nice thing" to do ;)

Thanks

------- Comment #7 From Alin Năstac 2006-05-01 05:20:22 0000 -------
fixed in 1.4.0-r2.
thanks for reporting this!

First Last Prev Next    No search results available      Search page      Enter new bug