Summary: | ASTERISK-04606: [new_dialplan_function] SIPPEER function | ||
Reporter: | dbruce (dbruce) | Labels: | |
Date Opened: | 2005-07-16 15:56:07 | Date Closed: | 2008-01-15 15:42:05.000-0600 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) chan_sip_sippeer_func.diff | |
Description: | Adds the SIPPEER dialplan function to chan_sip ****** ADDITIONAL INFORMATION ****** SIPPEER Gets SIP peer information SIPPEER(<peername>[:item]) Valid items are: ip (default) The IP address. mailbox The configured mailbox. context The configured context. expire The epoch time of the next expire. dynamic Is it dynamic? (yes/no). callerid_name The configured Caller ID name. callerid_num The configured Caller ID number. codecs The configured codecs. codec[x] Preferred codec index number 'x' (beginning with zero). | ||
Comments: | By: dbruce (dbruce) 2005-07-16 15:59:19 This is a trivial modification to the IAXPEER function, shamelessly borrowed from chan_iax2. By: Olle Johansson (oej) 2005-07-18 03:35:09 Good patch! By: Kevin P. Fleming (kpfleming) 2005-07-19 20:37:36 Committed to CVS HEAD, with a mod to ensure that the peer reference returned by find_peer() is properly released. Thanks! By: Digium Subversion (svnbot) 2008-01-15 15:42:05.000-0600 Repository: asterisk Revision: 6176 U trunk/channels/chan_sip.c ------------------------------------------------------------------------ r6176 | kpfleming | 2008-01-15 15:42:05 -0600 (Tue, 15 Jan 2008) | 2 lines add SIPPEER dialplan function (bug ASTERISK-4606) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=6176 |