summaryrefslogtreecommitdiff
path: root/configs/sip.conf.sample
AgeCommit message (Collapse)Author
2007-12-19Adding the ability to specify the To: header in an outbound INVITEOlle Johansson
by adding an exclamation mark to the dial string. This patch also exists for 1.4 in the fixtoheader-1.4 branch and has been in production for quite some time. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93897 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-16HUGE improvements to QoS/CoS handling by IgorGOlle Johansson
- Refer to the proper documentation - Implement separate signalling/media QoS/CoS in many channels using RTP - Improve warnings and verbose messages - Deprecate some old settings Minor modifications by me, a big effort from IgorG. Thanks! Reported by: IgorG Patches: qoscleanup-89394-4-trunk.patch uploaded by IgorG (license 20) Tested by: IgorG (closes issue #11145) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93163 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-16Update documentationOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93160 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-16Make more timers settable in SIP so that we can force timeout earlier on ↵Olle Johansson
non-responsive SIP servers. Thanks, jcmoore, for the patch! Reported by: jcmoore Patches: peer_t1_timerb_trunk_v3.patch.txt uploaded by jcmoore (license 9) (closes issue #9771) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93159 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-05Rename "username" to "defaultuser" to match with "defaultip".Olle Johansson
"Username" still works, but is deprecated. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@91152 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-27Merged revisions 89624 via svnmerge from Olle Johansson
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r89624 | oej | 2007-11-27 08:34:19 +0100 (Tis, 27 Nov 2007) | 6 lines Clarify limitonpeers=yes (closes issue #11304) Reported by: pj ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89625 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-26Rename "limitonpeer" to "counteronpeer" since the call-limit is deprecated.Olle Johansson
Both still works in this version. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89613 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-25- Deprecate "call-limit" in chan_sip. No other channel driver enforces ↵Olle Johansson
call-limits and we now have the groupcount system to implement call-limits in the dialplan. You can use the "setvar" option in realtime/sip.conf to set limits per device. - Implement "callcounter" as a new option to enable the call counting we need to report device status to queue, manager and SIP subscriptions. The call counter setting is now enabled in the code by setting the device call-limit to 999. When we remove the call limit, we can simply enable this with a boolean setting. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89554 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-20Changed occurrences of "busy-level" to "busylevel" in sip.conf.sampleMark Michelson
in light of commit 89441. Thanks to pj for pointing out the need for this (closes issue #11307, reported by pj) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89453 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-15Add support for application/dtmf SIP INFO dtmf handling. Yep, anotherOlle Johansson
way of handling DTMF in SIP. Totally undocumented, but implemented in enough devices so we have to support it. Code by sergee, small changes by oej. Closes issue #11049 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89278 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-24merged jcmoore's patch for configurable SDP origin-field username and ↵Dwayne M. Hubbard
session field, closes issue# 10795 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83671 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-18Merged revisions 82751 via svnmerge from Jason Parker
https://origsvn.digium.com/svn/asterisk/branches/1.4 (Closes issue #10753) ........ r82751 | qwell | 2007-09-18 10:28:21 -0500 (Tue, 18 Sep 2007) | 4 lines Correct the allowexternaldomains option in SIP sample config. Issue 10753 ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@82752 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-11Lil' bit more documentation to keep folks happy.Joshua Colp
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@82258 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-11(closes issue #9433)Joshua Colp
Reported by: junky Patches: register_trying.diff.txt uploaded by jcmoore Disable sending 100 Trying on REGISTER attempts and make it an option. This has been signed off by oej. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@82257 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-27(closes issue #10569)Joshua Colp
Reported by: IgorG Patches: sip_conf-80933-1.patch uploaded by IgorG (license 20) Fix up sip.conf sample configuration. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@80962 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-08Merged revisions 78569 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r78569 | file | 2007-08-08 10:51:01 -0300 (Wed, 08 Aug 2007) | 4 lines (closes issue #10335) Reported by: adamgundy Update sip.conf to include another scenario where directrtpsetup will fail. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@78570 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-07-21Enhance NAT support as discussed on the -dev list, i.e.:Luigi Rizzo
+ extensive documentation changes both in sip.conf.sample and in the source; + allow "externip" and "externhost" to include a port number as well; + allow "bindaddr" to have a port number (making bindport unnecessary, even though it is still present for backward compatibility); + introduce the new "stunaddr" parameter to specify an STUN server to be used from the main SIP socket; + extend the "sip show settings" output to show all the above. Internally: + change related data structures from struct in_addr to struct sockaddr_in to store the port numbers as well; + reorganize ast_sip_ouraddrfor() (should also be renamed to sip_ouraddrfor() because it is not a generic API, though it might become so if called with a socket as an additional argument, in which case it can be moved elsewhere). As mentioned in the documentation, media sessions still do not use STUN so the port numbers may still be incorrect when Asterisk is behind a NAT On passing, some of the debugging messages printing media addresses are probably using the wrong values, but this will be checked/fixed in a subsequent commit if needed. Part of the following chunk in the function that handles a "sip reload" is probably needed on previous versions as well, to avoid leaking the memory used for the "localaddr" list: @@ -17244,13 +17274,17 @@ /* Reset IP addresses */ memset(&bindaddr, 0, sizeof(bindaddr)); + memset(&stunaddr, 0, sizeof(stunaddr)); + memset(&internip, 0, sizeof(internip)); + /* Free memory for local network address mask */ + ---> ast_free_ha(localaddr); <----- memset(&localaddr, 0, sizeof(localaddr)); memset(&externip, 0, sizeof(externip)); memset(&default_prefs, 0 , sizeof(default_prefs)); git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@76221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-11Update documentation for proper CLI commands. (issue #9936 reported by eserra)Joshua Colp
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68662 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-06Remove our little joke that was making fun of email disclaimers which nobodyRussell Bryant
else seemed to think was very funny. Oh well ... :) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@67895 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-01Add some more information about the SIP Disclaimer header.Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@66856 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-31fix a typo.Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@66818 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-31To satisfy some legal concerns, add an option for chan_sip to include aRussell Bryant
disclaimer along with SIP messages in the header, X-Disclaimer. This is off by default. Also, the text of the disclaimer can be customized in sip.conf. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@66777 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-16Issue #6789 - Marquis - Add option to support regexten removal when host ↵Olle Johansson
becomes unreachable git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@64497 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-30Add support for setting the CoS for VLAN traffic (802.1p) in Linux. TheRussell Bryant
file doc/qos.tex has been updated to document the new functionality. (issue #9540, patch submitted by IgorG) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@62457 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-28Merge changes from team/russell/eventsRussell Bryant
This set of changes introduces a new generic event API for use within Asterisk. I am still working on a way for events to be shared between servers, but this part is ready and can already be used inside of Asterisk. This set of changes introduces the first use of the API, as well. I have restructured the way that MWI (message waiting indication) is handled. It is now event based instead of polling based. For example, if there are a bunch of SIP phones subscribed to mailboxes, then chan_sip will not have to constantly poll the mailboxes for changes. app_voicemail will generate events when changes occur. See UPGRADE.txt and CHANGES for some more information on the effects of these changes from the user perspective. For developer information, see the text in include/asterisk/event.h. As always, additional feedback is welcome on the asterisk-dev mailing list. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@62292 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-12Merged revisions 58779 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r58779 | file | 2007-03-11 20:51:16 -0400 (Sun, 11 Mar 2007) | 2 lines Add matchexterniplocally setting which only substitutes your externip/externhost setting if it matches the localnet setting. I know of at least two people who need opposite settings, so I made it an option! (issue #8821 reported by kokoskarokoska) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58780 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-14Make documentation match the source code. Olle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54379 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-11Add support for outbound proxy for peers and [general]Olle Johansson
This replaces the older, broken, implementation where a setting in [general] did not do anything and the [peer] part was broken. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53932 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-08rename busy-limit to busy-level, since it is not a limitKevin P. Fleming
actually parse the busy-limit option from sip.conf, instead of ignoring it git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53577 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-02Patch based on this patch with small changes for trunk...Olle Johansson
Merged revisions 53109 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r53109 | oej | 2007-02-02 01:24:03 +0100 (Fri, 02 Feb 2007) | 4 lines Disable the direct p2p RTP call setup in SIP. You can enable it in sip.conf, but it is now considered experimental until we solve the AST_CONTROL_ANSWER with payload and videocaps stuff. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53110 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-01Implementing "busy-limit".Olle Johansson
If you set call limit and busy limit, chan_sip will indicate BUSY for a device that has reached the busy limit and allow calls up to the call limit, allowing for call transfers (that generate a new call). If you only set call limit, chan_sip will not indicate BUSY until that limit is filled. This affects SIP subscriptions, call queues and manager applications. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53082 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-01Merged revisions 53062 via svnmerge from Olle Johansson
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r53062 | oej | 2007-02-01 17:35:12 +0100 (Thu, 01 Feb 2007) | 2 lines Add explanation of port= in combination with defaultip= (thanks jsmith) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53063 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-31Added some docsOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49081 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27Be politically correctOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48986 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27Add support for buggy Cisco MWI firmware > 8.0.3 (issue 8575 - flewid)Olle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48983 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-05Adding docs on t.38Olle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48269 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-02- Disable RTP timeouts during T.38 transmissionOlle Johansson
- Encapsulate RTP timers to the RTP structure, so we have one set for video and one for audio - Document RTP keepalive configuration option - Cleanup and document the monitor support function to hangup on RTP timeouts - Add RTP keepalive to SIP show settings Imported from 1.4 with modifications for trunk. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48200 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-01- Remove T.38 early media, since T.38 requires two way communication ↵Olle Johansson
(imported from 1.4) - Small fixes to limitonpeer git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48178 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-30Merged revisions 48143 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r48143 | file | 2006-11-30 12:57:35 -0500 (Thu, 30 Nov 2006) | 10 lines Merged revisions 48142 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r48142 | file | 2006-11-30 12:55:23 -0500 (Thu, 30 Nov 2006) | 2 lines Document 'port' for SIP peers, came up because of the current mailing list thread. (issue #8450 reported by blitzrage) ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48144 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-29Clarify some settings for status reports in subscriptions, queues and managerOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48114 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-29Explain RTP timeoutsOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48112 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-20Update docs for videosupportOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47846 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-16Make it possible to enable/disable onhold tracking, in order to make life easierOlle Johansson
for realtime users. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47756 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-16- CANCEL never uses authenticationOlle Johansson
- Add docs on canreinvite git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47734 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-04Adding new config option "limitpeersonly" to only apply call limitsOlle Johansson
to the peer side of a type=friend. This is for trying to support BJ in his quest to solve some issues with the queue system and type=friend objects. BJ: Please test! git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47201 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-31Fix rport handling.Olle Johansson
...where did the 1.2 properties come from, really? they're back. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46629 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-30Change name of "contact" setting to "callback" which better reflects what itOlle Johansson
is to the person that configures asterisk. That we use it internally in the contact header is a totally different story. Still not convinced this is a good option. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46489 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-26document the match_auth_username optionLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46308 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-17Update of docsOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45333 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-16In the course of a data this has been turned into an option to ignore ↵Joshua Colp
replies, then ignore responses and finally I'm just getting rid of the option altogether and making it the default no matter what. C'est la vie! git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45286 65c4cc65-6c06-0410-ace0-fbb531ad65f3