[asterisk-dev] AMI command for SIP Notify

Maxim Malygin mmalygin at yahoo.com
Thu Aug 23 03:24:10 CDT 2007


Regarding format of multiples devices:
How about single variable with comma-separated list of devices? For example:

Action: SIPnotify 
Notify: <notify-type> 
Peers: <sip-peer-name-1>,<sip-peer-name-2>,<sip-peer-name-3>,...,<sip-peer-name-N>

The same format can be used for a single device.

Regards,
Maxim

----- Original Message ---- 
From: Igor A. Goncharovsky <igi-go at ya.ru> 
To: Asterisk Developers Mailing List <asterisk-dev at lists.digium.com> 
Sent: Wednesday, August 22, 2007 11:34:22 AM 
Subject: [asterisk-dev] AMI command for SIP Notify 


Hello, 

In continue of work on bug 9896 I've decided to make manager command for 
notifying SIP devices. It make possible to notify big number of devices 
at one time. I have write code, but want to describe new command in -dev 
before submitting patch to tracker: 

Action: SIPnotify 
Notify: <notify-type> 
Peer: <sip-peer-name> 

or (for notify multiple devices): 

Action: SIPnotify 
Notify: <notify-type> 
Peers: 3 
<sip-peer-name-1> 
<sip-peer-name-2> 
<sip-peer-name-3> 

But name "Peer" already in use. Should I use other name or use peer in 
format "Techology/Name"? 

-- 
Best regards, 
Goncharovsky Igor 


_______________________________________________ 
--Bandwidth and Colocation Provided by http://www.api-digital.com-- 

asterisk-dev mailing list 
To UNSUBSCRIBE or update options visit: 
http://lists.digium.com/mailman/listinfo/asterisk-dev


       
____________________________________________________________________________________
Yahoo! oneSearch: Finally, mobile search 
that gives answers, not web links. 
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC



More information about the asterisk-dev mailing list