Commit Graph

238 Commits

Author SHA1 Message Date
Joshua Colp 7422f0ee37 Add documentation for setting username/password in SIP dial string.
(closes issue #11587)
Reported by: sobomax
Patches:
      dialstring_doc.diff uploaded by sobomax (license 359)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@105378 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-29 18:34:46 +00:00
Brett Bryant 55aaa80d15 Adding more tls configuration details to sip.conf sample, with a list of valid ciphers provided in both files. .. First commit since July, woot
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104088 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-25 19:00:16 +00:00
Olle Johansson c85b71bf72 Documentation updates
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@99483 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-22 09:57:16 +00:00
Russell Bryant b995c78c31 Merge changes from team/group/sip-tcptls
This set of changes introduces TCP and TLS support for chan_sip.  There are various
new options in configs/sip.conf.sample that are used to enable these features.  Also,
there is a document, doc/siptls.txt that describes some things in more detail.

This code was implemented by Brett Bryant and James Golovich.  It was reviewed
by Joshua Colp and myself.  A number of other people participated in the testing
of this code, but since it was done outside of the bug tracker, I do not have their
names.  If you were one of them, thanks a lot for the help!

(closes issue #4903, but with completely different code that what exists there.)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@99085 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-18 22:04:33 +00:00
Russell Bryant 6aaa992301 Merge the changes from issue #10665 from the team/group/sip_session_timers branch.
This set of changes introduces SIP session timers support (RFC 4028).  In short,
this prevents stuck SIP sessions that were not properly torn down due to network
or endpoint failures during an established SIP session.

To quote some of the documentation supplied with the patch:
"The SIP Session-Timers is an extension of the SIP protocol that allows end-points and proxies to
refresh a session periodically. The sessions are kept alive by sending a RE-INVITE or UPDATE
request at a negotiated interval. If a session refresh fails then all the entities that support Session-
Timers clear their internal session state. In addition, UAs generate a BYE request in order to clear
the state in the proxies and the remote UA (this is done for the benefit of SIP entities in the path
that do not support Session-Timers)."

(closes issue #10665)
Reported by: rjain
Patches:
      chan_sip.c.1.diff uploaded by rjain (license 226)
      chan_sip.c.diff uploaded by rjain (license 226)
      sip.conf.sample.diff uploaded by rjain (license 226)
      proc_422_rsp_comment.diff uploaded by rjain (license 226)
      chan_sip.c.cache.diff uploaded by rjain (license 226)
      chan_sip.memalloc uploaded by rjain (license 226)
      chan_sip.memalloc.bugfix uploaded by rjain (license 226)

      Patches tracked in team/group/sip_session_timers, with some additional fixes
      by russell and oej.

Tested by: jtodd, rjain, loloski


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@98978 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-16 21:53:10 +00:00
Russell Bryant 5c2beee6c3 Add a new global and per-peer option to chan_sip, qualifyfreq, which allows you
to set the qualify frequency.

(closes issue #11597)
Reported by: wilder
Patches:
      qualifyfreq5.patch uploaded by wilder (license 362)
	   -- with some mods by me


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@98027 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-11 00:38:23 +00:00
Olle Johansson 1d6b192ce0 Adding the ability to specify the To: header in an outbound INVITE
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-19 08:57:45 +00:00
Olle Johansson 17afebc1a6 HUGE improvements to QoS/CoS handling by IgorG
- 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-16 10:51:53 +00:00
Olle Johansson 00647ff5f7 Update documentation
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93160 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-16 08:19:38 +00:00
Olle Johansson d8795b4542 Make more timers settable in SIP so that we can force timeout earlier on 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-16 08:15:31 +00:00
Olle Johansson 0cc002a48a Rename "username" to "defaultuser" to match with "defaultip".
"Username" still works, but is deprecated.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@91152 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-05 13:09:47 +00:00
Olle Johansson b1c0c67e76 Merged revisions 89624 via svnmerge from
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-27 07:36:54 +00:00
Olle Johansson 11df6a9119 Rename "limitonpeer" to "counteronpeer" since the call-limit is deprecated.
Both still works in this version.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89613 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-26 21:23:48 +00:00
Olle Johansson 07cb09ad86 - Deprecate "call-limit" in chan_sip. No other channel driver enforces 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-25 11:46:17 +00:00
Mark Michelson f5e5a443cf Changed occurrences of "busy-level" to "busylevel" in sip.conf.sample
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-20 16:11:19 +00:00
Olle Johansson eab6b00904 Add support for application/dtmf SIP INFO dtmf handling. Yep, another
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-11-15 10:21:41 +00:00
Dwayne M. Hubbard 0f53904918 merged jcmoore's patch for configurable SDP origin-field username and session field, closes issue# 10795
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83671 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-24 17:10:14 +00:00
Jason Parker a9c2f441d3 Merged revisions 82751 via svnmerge from
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-18 15:29:26 +00:00
Joshua Colp 9bd4b3e353 Lil' bit more documentation to keep folks happy.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@82258 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-11 18:37:39 +00:00
Joshua Colp 9642d93117 (closes issue #9433)
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-09-11 17:58:48 +00:00
Joshua Colp 7c760f67c3 (closes issue #10569)
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-27 12:18:13 +00:00
Joshua Colp afceb3e4aa Merged revisions 78569 via svnmerge from
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-08-08 13:52:13 +00:00
Luigi Rizzo 2286afa3af Enhance NAT support as discussed on the -dev list, i.e.:
+ 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-07-21 01:01:10 +00:00
Joshua Colp cb55dbe8eb Update documentation for proper CLI commands. (issue #9936 reported by eserra)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68662 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-11 11:49:48 +00:00
Russell Bryant 6aec360466 Remove our little joke that was making fun of email disclaimers which nobody
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-06 22:27:18 +00:00
Russell Bryant 0b6c6b2e89 Add some more information about the SIP Disclaimer header.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@66856 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-01 13:48:29 +00:00
Russell Bryant 3ce231fe95 fix a typo.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@66818 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-31 21:23:55 +00:00
Russell Bryant 3d2b58751f To satisfy some legal concerns, add an option for chan_sip to include a
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-31 19:41:03 +00:00
Olle Johansson 90bad9d2f5 Issue #6789 - Marquis - Add option to support regexten removal when host becomes unreachable
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@64497 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-16 07:35:56 +00:00
Russell Bryant b419fc1134 Add support for setting the CoS for VLAN traffic (802.1p) in Linux. The
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-30 16:16:26 +00:00
Russell Bryant b6b1bf3213 Merge changes from team/russell/events
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-04-28 21:01:44 +00:00
Joshua Colp ea226e9d77 Merged revisions 58779 via svnmerge from
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-03-12 00:54:13 +00:00
Olle Johansson 88928f67ed Make documentation match the source code.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54379 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-14 17:02:16 +00:00
Olle Johansson 32495f91f0 Add support for outbound proxy for peers and [general]
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-11 19:42:55 +00:00
Kevin P. Fleming 44c6630e4d rename busy-limit to busy-level, since it is not a limit
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-08 16:41:23 +00:00
Olle Johansson cfe66e6b26 Patch based on this patch with small changes for trunk...
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-02 00:26:25 +00:00
Olle Johansson 0b84b386b9 Implementing "busy-limit".
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-01 20:43:49 +00:00
Olle Johansson 064e6cff1a Merged revisions 53062 via svnmerge from
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
2007-02-01 16:42:24 +00:00
Olle Johansson 0375227e5c Added some docs
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49081 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-31 09:34:11 +00:00
Olle Johansson 29ed493b40 Be politically correct
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48986 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27 18:02:10 +00:00
Olle Johansson da7a35a1cc Add support for buggy Cisco MWI firmware > 8.0.3 (issue 8575 - flewid)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48983 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27 16:56:11 +00:00
Olle Johansson d1b621c6a5 Adding docs on t.38
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48269 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-05 16:48:15 +00:00
Olle Johansson c23bc46089 - Disable RTP timeouts during T.38 transmission
- 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-02 12:05:40 +00:00
Olle Johansson 4ce5b7c080 - Remove T.38 early media, since T.38 requires two way communication (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-12-01 18:16:16 +00:00
Joshua Colp c946e3b3fb Merged revisions 48143 via svnmerge from
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-30 17:58:53 +00:00
Olle Johansson 7e46275b51 Clarify some settings for status reports in subscriptions, queues and manager
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48114 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-29 20:57:48 +00:00
Olle Johansson e5145bebe4 Explain RTP timeouts
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48112 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-29 19:47:45 +00:00
Olle Johansson 4e47ce525b Update docs for videosupport
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47846 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-20 11:46:45 +00:00
Olle Johansson a6f5adefa1 Make it possible to enable/disable onhold tracking, in order to make life easier
for realtime users.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47756 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-16 19:29:28 +00:00
Olle Johansson a427a2a89a - CANCEL never uses authentication
- Add docs on canreinvite


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47734 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-16 15:12:30 +00:00
Olle Johansson d900b47ccf Adding new config option "limitpeersonly" to only apply call limits
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-11-04 19:13:30 +00:00
Olle Johansson b136baaff4 Fix rport handling.
...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-31 10:29:24 +00:00
Olle Johansson f98f457727 Change name of "contact" setting to "callback" which better reflects what it
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-30 19:56:14 +00:00
Luigi Rizzo e85d8e98d1 document the match_auth_username option
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46308 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-26 07:32:00 +00:00
Olle Johansson a8a26ad389 Update of docs
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45333 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-17 17:51:34 +00:00
Joshua Colp c62784c10d In the course of a data this has been turned into an option to ignore 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
2006-10-16 20:26:56 +00:00
Joshua Colp da330feb60 Merged revisions 45280 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r45280 | file | 2006-10-16 16:06:18 -0400 (Mon, 16 Oct 2006) | 10 lines

Merged revisions 45265 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r45265 | file | 2006-10-16 15:59:54 -0400 (Mon, 16 Oct 2006) | 2 lines

Use responses rather then replies even though they mean the same thing.

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45281 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-16 20:08:23 +00:00
Joshua Colp b58cc9e1bd Merged revisions 45262 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r45262 | file | 2006-10-16 15:37:34 -0400 (Mon, 16 Oct 2006) | 10 lines

Merged revisions 45260 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r45260 | file | 2006-10-16 15:28:18 -0400 (Mon, 16 Oct 2006) | 2 lines

Add 'ignoreoodreplies' option which will not create a pvt structure on a SIP response but instead basically drop it.

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45263 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-16 19:43:33 +00:00
Olle Johansson 77c69dc4ef Recommend using "sip reload" since it's much easier to learn and
remember.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44707 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-07 16:26:11 +00:00
Luigi Rizzo b19b4b9764 document a bit the use of templates.
They are highly convenient for writing configuration files, especially
if you have many similar entries, or want to switch quickly between
different configurations without having to comment/uncomment large
sections of the files.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44579 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-06 16:43:36 +00:00
Luigi Rizzo f94849ca2a document the "contact" option a bit better.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44578 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-06 16:20:42 +00:00
Luigi Rizzo ccca5843fd Two things:
1. slightly rearrange/simplify the parsing of the argument in sip_register.
   This brings in a patch that has been in Mantis (5834)  for ages,
   and is the larger part of the commit;

2. implement the "contact" option for peers, similar to the one in users.conf:

   If you put a "contact" option with a non-empty argument (e.g. contact=123)
   in a peer section, asterisk will register with the provider as if you had a     

        register= username:secret@host/contact 

   line in the general section.

The latter is a very small is a new feature so i am not putting it
in the 1.4 branch, although the "contact" option in user.conf is
already in the 1.4 branch and so it wouldn't be too strange to
merge it.

Note that the implementation of "contact" is much simpler than
the one in 5834, and limited to a few lines in build_peer().



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44566 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-06 15:41:12 +00:00
Luigi Rizzo 2a7ac3f735 update example commands to match current syntax
(does not apply to 1.4)



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44537 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-06 06:43:49 +00:00
Jason Parker 8bd82ebc0d Add documentation on rtp packetization.
Technically, ooh323 doesn't support it yet, but there is a patch that should be committed very soon.

Issue #7989, patch by DEA, slightly modified.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43344 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-20 17:39:59 +00:00
Tilghman Lesher 091e1aed8d Merged revisions 42716 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r42716 | tilghman | 2006-09-11 11:39:06 -0500 (Mon, 11 Sep 2006) | 2 lines

Spelling/grammar fixes (Issue 7929)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42717 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-11 16:41:49 +00:00
Joshua Colp c6977b9983 Merge in VLDTMF support with Zaptel/Core done by the ever great Darumkilla Russell Bryant and the RTP portion done by myself, Muffinlicious Joshua Colp. This has gone through so many discussions/revisions it's not funny but we finally have it!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41507 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-31 01:59:02 +00:00
Kevin P. Fleming 6d0742fc16 merge Russell's 'hold_handling' branch, finally implementing music-on-hold handling the way it was decided at AstriDevCon Europe 2006 (and the way people really want it to be)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37988 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-19 20:44:39 +00:00
Kevin P. Fleming 4376af0080 actually make the non-standard G726-32 behavior available for SIP clients
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37564 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-13 20:35:41 +00:00
Olle Johansson 0e0059c0f3 Remove configuration option "restrictcid" that is nowhere to
be seen in the code. Did it exist, was it planned to exist
or was it documentationware only? Ask Dr Asterisk.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37324 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-10 11:20:49 +00:00
Olle Johansson b971f65978 - Make use of system name in realtime SIP peers optional
- Fix small issue with SIP history


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36602 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-02 12:00:36 +00:00
Olle Johansson f3594bd1a0 Removing configuration options that does not do anything yet. No need to
add "promises" to the sip.conf.sample...


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36355 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-30 07:18:30 +00:00
Kevin P. Fleming dec3d7d4c0 Merged revisions 36253-36254 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r36253 | kpfleming | 2006-06-29 02:19:27 -0500 (Thu, 29 Jun 2006) | 2 lines

add documentation for peer-specific 'outboundproxy' setting

........
r36254 | kpfleming | 2006-06-29 02:19:54 -0500 (Thu, 29 Jun 2006) | 2 lines

clarify documentation for 'persistentmembers' setting

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36262 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-29 08:01:08 +00:00
Olle Johansson 4177596e8d reformatting sip.conf.sample a bit, adding dumphistory that was not documented
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36251 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-29 07:04:43 +00:00
Olle Johansson cc43f0bdc7 Speling error. Avoid swenglish :-) (thanks, jtodd!)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36109 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-26 18:34:29 +00:00
Olle Johansson e2b0c5b558 Add example of permit/deny to sip.conf.sample
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36054 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-26 16:24:43 +00:00
Joshua Colp 5456f425c6 Allow AST_FRAME_MODEM frames to be dumped, and document T.38 passthrough support
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33912 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-13 19:38:41 +00:00
Russell Bryant 4c76028de9 - add the ability to configure forced jitterbuffers on h323, jingle,
and mgcp channels
- remove the jitterbuffer configuration from the pvt structures in
  the sip, zap, and skinny channel drivers, as copying the same global
  configuration into each pvt structure has no benefit.
- update and fix some typos in jitterbuffer related documentation
(issue #7257, north, with additional updates and modifications)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31413 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-01 16:47:28 +00:00
Kevin P. Fleming 6bce269454 Merged revisions 31321 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r31321 | kpfleming | 2006-06-01 07:41:47 -0500 (Thu, 01 Jun 2006) | 2 lines

remove a sample entry that never should have been added (code to support it was not merged)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31322 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-01 12:43:01 +00:00
Russell Bryant bb7dd96cfe Add support for using a jitterbuffer for RTP on bridged calls. This includes
a new implementation of a fixed size jitterbuffer, as well as support for the
existing adaptive jitterbuffer implementation. (issue #3854, Slav Klenov)

Thank you very much to Slav Klenov of Securax and all of the people involved
in the testing of this feature for all of your hard work!


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31052 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-31 16:56:50 +00:00
Kevin P. Fleming 3e99be68d1 add a new option for 'obscuring' SIP user/peer names from fishers
use an enum for authentication results and clean up code
fix a bug where SUBSCRIBE for an unknown user/peer would not generate a response


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29903 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-24 03:28:49 +00:00
Kevin P. Fleming 42cf0b0a8f add another media path reinvite 'flavor', where we will only redirect our media to devices that we know are not behind a NAT (based on the evidence collected when we receive media from them)
also, documented the 'canreinvite=update' option in the sample config file


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28215 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-18 16:57:59 +00:00
Joshua Colp 6d603ec09c Allow contexts in regexten so that extensions can be added to multiple contexts when peer registers (issue #6869 reported by and created by Marquis)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28168 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-18 14:07:46 +00:00
Olle Johansson 5237a0e06d - Use systemname for realm in sip, if we have no configuration for realm
- Optionally send systemname in manager (cool when you have a manager proxy)
- Use systemname in CLI prompt


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26884 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11 13:54:00 +00:00
Olle Johansson ca6cf552f9 Add documentation on "allowtransfer"
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25614 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-08 15:46:02 +00:00
Olle Johansson 7bbb6bd3aa - fix typo in rtp.c, devicestate.h
- add information about subscriptions and realtime dial plans in sip.conf.sample


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24342 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-02 20:31:39 +00:00
Russell Bryant c38fbd246e note that group assignments must be from 0 to 63 (issue #7048)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23177 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-28 16:42:42 +00:00
Olle Johansson 5873462c2e - Add doxygen documentation for sipsock_read locking
- Improve documentation of pedantic
  (related to issue #7016)

  From the air above Russia...


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22163 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-23 06:22:29 +00:00
Olle Johansson 023e27f695 Formatting fixes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17861 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-06 15:23:14 +00:00
Olle Johansson 95de51526a Added information on call-limit and realtime
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17209 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-04 08:01:46 +00:00
Kevin P. Fleming 8410e0d681 support subscription-based MWI, and use proper Call-ID on NOTIFY messages (issue #6390)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15476 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 04:21:21 +00:00
Kevin P. Fleming 278b8e8fc7 improve IP TOS support for SIP and IAX2 (issue #6355, code from jcollie plus modifications)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15435 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 03:28:52 +00:00
Olle Johansson 83d9331261 Issue #5427
- Enable videosupport per device
- Implement maxcallbitrate setting for video calls

Patch by John Martin, thanks!


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15148 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-27 03:35:49 +00:00
Olle Johansson 18de2b7787 Issue #6705 (oej)
- Implement option for allow/disallow subscriptions
- Implement option for allow/disallow overlap dialling
- Set default to disable overlap dialling in sip.conf.sample for new installations
- Remove overlap dialling from subscription logic


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15107 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-27 02:57:17 +00:00
Olle Johansson d7b5a18f4c Fix reference to README files
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@13549 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-19 09:35:11 +00:00
Olle Johansson 1a206c1bf8 Clarify documentation for "progressinband" - imported from 1.2
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@13246 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-16 18:01:08 +00:00
Olle Johansson 6b8701cffa Whitespace changes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@11455 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-28 21:04:17 +00:00
Kevin P. Fleming b40bd71a9a restore 'rfc2833' naming for DTMF mode in chan_sip
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9391 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-10 16:33:47 +00:00
Olle Johansson 4d07b89fdd - Change "rfc2833" to "rtp" in sip.conf. Keeping backwards compatibility.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9294 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-09 15:40:53 +00:00
Olle Johansson 3f6cc5c544 - Clarify default setting of canreinvite (thanks royk)
- Add some extra headers and reference to other doc/ files for realtime


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9034 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-01 13:23:59 +00:00
Olle Johansson 125fd8446c Issue 5892: Set a minimum T1 timer for calls. Reporter: twisted
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8926 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-30 19:50:39 +00:00