dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

172 Commits

Author SHA1 Message Date
dhubbard 5c02cc5ae6 merged jcmoore's patch for configurable SDP origin-field username and session field, closes issue# 10795
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@83671 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-24 17:10:14 +00:00
qwell 8df5ac75ab 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: http://svn.digium.com/svn/asterisk/trunk@82752 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-18 15:29:26 +00:00
file 14ac0d9dfa Lil' bit more documentation to keep folks happy.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82258 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-11 18:37:39 +00:00
file 0523896934 (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: http://svn.digium.com/svn/asterisk/trunk@82257 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-11 17:58:48 +00:00
file 6b390a46f3 (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: http://svn.digium.com/svn/asterisk/trunk@80962 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-27 12:18:13 +00:00
file 74bdec43b2 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: http://svn.digium.com/svn/asterisk/trunk@78570 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-08 13:52:13 +00:00
rizzo 07754d5dfd 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: http://svn.digium.com/svn/asterisk/trunk@76221 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-21 01:01:10 +00:00
file 0d36c161da Update documentation for proper CLI commands. (issue #9936 reported by eserra)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@68662 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-11 11:49:48 +00:00
russell 20f34a09e9 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: http://svn.digium.com/svn/asterisk/trunk@67895 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-06 22:27:18 +00:00
russell a7b70da385 Add some more information about the SIP Disclaimer header.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@66856 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-01 13:48:29 +00:00
russell 464129c917 fix a typo.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@66818 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-31 21:23:55 +00:00
russell 5b1c2de262 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: http://svn.digium.com/svn/asterisk/trunk@66777 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-31 19:41:03 +00:00
oej 7da4f002e3 Issue #6789 - Marquis - Add option to support regexten removal when host becomes unreachable
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@64497 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-16 07:35:56 +00:00
russell 3d2428efd4 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: http://svn.digium.com/svn/asterisk/trunk@62457 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-30 16:16:26 +00:00
russell 9c61ba7c81 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: http://svn.digium.com/svn/asterisk/trunk@62292 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-28 21:01:44 +00:00
file 7a13285227 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: http://svn.digium.com/svn/asterisk/trunk@58780 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-12 00:54:13 +00:00
oej 40ad6c100d Make documentation match the source code.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@54379 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-14 17:02:16 +00:00
oej 5ba4828ffc 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: http://svn.digium.com/svn/asterisk/trunk@53932 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-11 19:42:55 +00:00
kpfleming 4f15869b21 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: http://svn.digium.com/svn/asterisk/trunk@53577 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-08 16:41:23 +00:00
oej 9cee6624de 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: http://svn.digium.com/svn/asterisk/trunk@53110 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-02 00:26:25 +00:00
oej f7031572b3 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: http://svn.digium.com/svn/asterisk/trunk@53082 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-01 20:43:49 +00:00
oej 47c5b52698 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: http://svn.digium.com/svn/asterisk/trunk@53063 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-01 16:42:24 +00:00
oej fe9c72a950 Added some docs
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49081 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-31 09:34:11 +00:00
oej 51d97b494e Be politically correct
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48986 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-27 18:02:10 +00:00
oej 9314b03a00 Add support for buggy Cisco MWI firmware > 8.0.3 (issue 8575 - flewid)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48983 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-27 16:56:11 +00:00
oej f25fbe1e34 Adding docs on t.38
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48269 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-05 16:48:15 +00:00
oej 10d3f3f5ba - 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: http://svn.digium.com/svn/asterisk/trunk@48200 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-02 12:05:40 +00:00
oej a85decf9c3 - Remove T.38 early media, since T.38 requires two way communication (imported from 1.4)
- Small fixes to limitonpeer


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48178 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-01 18:16:16 +00:00
file aacc6d95d7 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: http://svn.digium.com/svn/asterisk/trunk@48144 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-30 17:58:53 +00:00
oej 8b2960e19d Clarify some settings for status reports in subscriptions, queues and manager
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48114 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-29 20:57:48 +00:00
oej 464f2cd0b2 Explain RTP timeouts
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48112 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-29 19:47:45 +00:00
oej f9f4ea8922 Update docs for videosupport
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47846 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-20 11:46:45 +00:00
oej c4f8f8d6b3 Make it possible to enable/disable onhold tracking, in order to make life easier
for realtime users.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47756 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-16 19:29:28 +00:00
oej 735aaa7959 - CANCEL never uses authentication
- Add docs on canreinvite


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47734 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-16 15:12:30 +00:00
oej e3babcf0fc 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: http://svn.digium.com/svn/asterisk/trunk@47201 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-04 19:13:30 +00:00
oej 592dadee29 Fix rport handling.
...where did the 1.2 properties come from, really? they're back.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@46629 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-31 10:29:24 +00:00
oej 117cf34fd9 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: http://svn.digium.com/svn/asterisk/trunk@46489 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-30 19:56:14 +00:00
rizzo dd1178c588 document the match_auth_username option
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@46308 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-26 07:32:00 +00:00
oej 491cd75797 Update of docs
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@45333 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-17 17:51:34 +00:00
file 37043c611d 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: http://svn.digium.com/svn/asterisk/trunk@45286 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-16 20:26:56 +00:00
file 25fe75c6c7 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: http://svn.digium.com/svn/asterisk/trunk@45281 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-16 20:08:23 +00:00
file 7948364c8f 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: http://svn.digium.com/svn/asterisk/trunk@45263 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-16 19:43:33 +00:00
oej e5da0ef111 Recommend using "sip reload" since it's much easier to learn and
remember.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44707 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-07 16:26:11 +00:00
rizzo 37986f0db0 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: http://svn.digium.com/svn/asterisk/trunk@44579 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-06 16:43:36 +00:00
rizzo 4c633422a6 document the "contact" option a bit better.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44578 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-06 16:20:42 +00:00
rizzo 7db4ea326c 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: http://svn.digium.com/svn/asterisk/trunk@44566 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-06 15:41:12 +00:00
rizzo dcc7fb222e update example commands to match current syntax
(does not apply to 1.4)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44537 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-06 06:43:49 +00:00
qwell 62752745f5 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: http://svn.digium.com/svn/asterisk/trunk@43344 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-20 17:39:59 +00:00
tilghman 9b9ca6cac5 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: http://svn.digium.com/svn/asterisk/trunk@42717 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-11 16:41:49 +00:00
file 3f22aa53af 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: http://svn.digium.com/svn/asterisk/trunk@41507 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-31 01:59:02 +00:00