[asterisk-bugs] [Asterisk 0014488]: [patch] SIPNotify dialplan application

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Mar 24 15:42:07 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=14488 
====================================================================== 
Reported By:                alecdavis
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14488
Category:                   Channels/chan_sip/NewFeature
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     confirmed
Asterisk Version:           SVN 
JIRA:                       SWP-1151 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!): 172702 
Request Review:              
====================================================================== 
Date Submitted:             2009-02-17 04:04 CST
Last Modified:              2010-03-24 15:42 CDT
====================================================================== 
Summary:                    [patch] SIPNotify dialplan application
Description: 
It's come up before, regarding having a dialplan application to do
SIPNotify, similar to the cli command 'sip notify'

Avoids the awful way it's currently done in dialplan
exten => 2345,n,System(/usr/sbin/asterisk -rx "sip notify
grandstream-idle-screen-refresh GXP0009")

Only supports one local peer as required for our purpose, which was to
remotely request a refresh of Idle Screen on a Grandstream GXP series phone
with latest firmware 1.1.6.46.

syntax is as simple as
exten => 2345,n,SIPNotify(grandstream-idle-screen-refresh,GXP0009)

code is copied from chan_sip.c:sip_cli_notify with appropriate mods.

====================================================================== 

---------------------------------------------------------------------- 
 (0119855) alecdavis (manager) - 2010-03-24 15:42
 https://issues.asterisk.org/view.php?id=14488#c119855 
---------------------------------------------------------------------- 
If we can detect whether the SIP device actually received and accepted or
rejected then yes a function would work.

When I last looked at this and noted in
https://issues.asterisk.org/view.php?id=14488#c101301, the only method was to
send the notify, and hope that it got to the device, rejected or not... 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-03-24 15:42 alecdavis      Note Added: 0119855                          
======================================================================




More information about the asterisk-bugs mailing list