Active
Project:
Asterisk integration
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
18 Dec 2009 at 16:19 UTC
Updated:
20 Dec 2009 at 20:42 UTC
Loving this module/idea.
Here's a patch adding the ability to call numbers based on a URL. You already had the callnumber menu item and in this implementation I'm trying to follow the coding techniques of this module.. Is there a reason why this hasn't been done? It's only a few lines so I'm guessing there's a problem I'm not thinking about?
Ideally I might change hook_menu a little bit and avoid arg(2).
Also, I wonder if we should be sending these links to forms requiring the user to POST. For example, it's a bit of a problem that you can do:
to make current users call themselves when they view the page.
And with this patch:
![]()
| Comment | File | Size | Author |
|---|---|---|---|
| asterisk-callnumber.patch | 715 bytes | slip |
Comments
Comment #1
slip commentedThe example that got cut out:
Comment #2
hunmonk commentedthere are a lot of issues with the module -- i had planned a rewrite, but really don't have time for it now. it's doubtful i'll look at this in the near future, but thanks for the input, if/when i get back to making progress here, i'll be sure to look at it.