Ticket #3743 (new Feature Requests)

Opened 1 year ago

Last modified 1 year ago

Event_URL in Extension

Reported by: pixerp Assigned to: p_lindheimer
Priority: major Milestone: Cut Line
Component: Core - Users/Devices Version:
Keywords: Cc:
Confirmation: Unreviewed SVN Revision (if applicable):
Backend Engine: All Backend Engine Version:

Description

Snom phones are linux-based phonesets with a built-in web server. Besides browser-based configuration, this offers some handy and easy integration functions, like simulating keyboard actions by sending an http://phoneip/command.htm?key= to the phone, or so-called

. Action URL to have the phone sending http:// request(get) on some events like "Incoming call", "Outgoing call", "DND on", "DND off", "on Connected", etc...

For example, my phoneset Action URL "Incoming call" contains the following string:

http://myTomcatserver:8080/myApp/snomactionurl.jsp?action=ringing&phoneip=mysnomip&callerid=$remoteuri&extension=$localuri

So, each time my phone rings, the .jsp program will do its job with the call information.

Instead of configuring those Action URL in the phoneset, it would be much better to have Event_URL defined in the Extensions of FreePBX. The * web server would then send those "http://" strings whenever the event takes place on that extension.

Integration with external application would be greatly facilitated, no ?

Thanks for any feedback.
Ernest

Full description of Action URL can be found here:

http://kb.snom.com/kb/index.php?View=entry&CategoryID=23&EntryID=39

Change History

07/21/09 08:21:34 changed by pixerp

Up and then, i'm checking the status of this post. Not much responses so far !

This is something that others are also considering :

http://www.trixbox.org/forums/trixbox-forums/open-discussion/intelligent-call-routing-and-crm-integration

I still believe my Event_URL would be a good integration enabler. But maybe, I'm the only one ? Cheers

(follow-up: ↓ 3 ) 08/15/09 18:27:27 changed by p_lindheimer

  • version deleted.
  • milestone changed from 2.6 to 2.7.

this sounds like it belongs as part of an endpoint manager

(in reply to: ↑ 2 ) 08/17/09 00:52:49 changed by pixerp

Replying to p_lindheimer:

this sounds like it belongs as part of an endpoint manager

Not too sure that it belongs to endpoint manager. The Snom Action_URL function is described to explain what could be achieved with my proposal.

I want to REPLACE the Action_URL of the Snom with an Event_Url "fired" directly by Asterisk's web server (ie. from the dial plan, when extension "RINGING", "ANSWERED", etc...). This is a limited (GET) RESTful webservice.

So I believe it should be in Extension management with the following section:

Event URL Settings:

Incoming call: http://myServer/myApp1?parm1#value1..

On Connected: http://myServer/myApp2?parm1#value1..

On Disconnected:[ ]

DND on: [ ]

DND off: [ ]

Outgoing call: [ ]

On offhook: [ ]

On onhook: [ ]

Missed call: [ ]

Hold call: [ ]

Unhold call: [ ]

I don't know if all of the above events can be managed in the dial plan, but we can start with "incoming call" (= extension ringing, no ?) and "on connected" (= extension connected ?). I would have thought it can be done with a macro built into the dialplan using fastagi or ....

Thanks