marian
4590f53dc7
Documented tcp idle/keeplive intervals.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6136 acf43c95-373e-0410-b603-e72c3f656dc1
2016-09-15 10:35:31 +00:00
marian
20f5ca261b
Added separate configurable parameter to outgoing tcp keepalive. Added optional first keepalive interval (for faster first keepalive).
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6135 acf43c95-373e-0410-b603-e72c3f656dc1
2016-09-15 10:14:14 +00:00
marian
6ca595b59f
Force line to emit user.notify when tcp transport is used.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6134 acf43c95-373e-0410-b603-e72c3f656dc1
2016-09-14 10:03:36 +00:00
marian
02a214b3d0
Match incoming line by transport when tcp is used.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6132 acf43c95-373e-0410-b603-e72c3f656dc1
2016-09-14 07:53:34 +00:00
paulc
813bd8fd18
Allow the "earlymedia" parameter to override a missing source and create provisional RTP.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6128 acf43c95-373e-0410-b603-e72c3f656dc1
2016-08-12 12:38:07 +00:00
marian
9efa057328
Detect 'ipv6' default value from bind address when updating an udp transport: avoid listener restart.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6121 acf43c95-373e-0410-b603-e72c3f656dc1
2016-05-27 12:35:39 +00:00
marian
a16b32b009
Listener: default 'ipv6' parameter to true if bind address contains ':'.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6119 acf43c95-373e-0410-b603-e72c3f656dc1
2016-05-24 14:01:04 +00:00
marian
d8b25337a9
Added listener role parameter. Set it in messages sent by connections using the listener.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6118 acf43c95-373e-0410-b603-e72c3f656dc1
2016-05-24 13:33:14 +00:00
marian
cc58ef73dd
Added option to copy message headers in user.auth messages.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6117 acf43c95-373e-0410-b603-e72c3f656dc1
2016-05-23 14:43:33 +00:00
paulc
95280ee6ab
Add the SIP channel ID to the user.auth message.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6092 acf43c95-373e-0410-b603-e72c3f656dc1
2016-02-15 15:21:04 +00:00
paulc
adaad148bf
Add the connection_id parameter to user.auth, user.unregister, call.preroute and chan.startup messages.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6089 acf43c95-373e-0410-b603-e72c3f656dc1
2016-02-08 15:06:38 +00:00
paulc
5f728a9dd7
Support adding an ISUP body when rejecting a SIP call from routing.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6069 acf43c95-373e-0410-b603-e72c3f656dc1
2015-11-24 15:40:09 +00:00
paulc
5c99a83aef
Added helper class to keep extra account parameters for calls and registration.
...
Added extra account parameters handling to SIP channel.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6066 acf43c95-373e-0410-b603-e72c3f656dc1
2015-11-18 14:20:00 +00:00
paulc
9aa279f97e
Even if configured start RTP when generating 200 OK only if INVITE had SDP.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6036 acf43c95-373e-0410-b603-e72c3f656dc1
2015-09-16 08:11:49 +00:00
paulc
36afeb4b64
Copy SIP RFC3329 Security-* parameters to user.auth message.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5992 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-10 11:55:01 +00:00
paulc
95419fbe8b
Fix tel: URI parsing, try harder to pick SIP REGISTER related information.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5922 acf43c95-373e-0410-b603-e72c3f656dc1
2014-11-06 10:12:26 +00:00
paulc
f9e6470a90
Added optional message to verify reINVITE in media proxying mode.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5915 acf43c95-373e-0410-b603-e72c3f656dc1
2014-09-19 11:36:28 +00:00
paulc
a9c824e4aa
Place the configured account "description" in the From header of SIP REGISTER too.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5901 acf43c95-373e-0410-b603-e72c3f656dc1
2014-08-05 15:13:20 +00:00
paulc
2218e61708
Support forcing to generate a SIP reINVITE.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5862 acf43c95-373e-0410-b603-e72c3f656dc1
2014-07-02 07:38:16 +00:00
paulc
11fcab1ab1
Implement independent CSeq generators for INVITE dialogs and REGISTER sessions.
...
Always parse CSeq in base 10, some implementations left pad with zeros.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5855 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-25 12:27:56 +00:00
paulc
fce2aa8548
Allow retrieving and setting more SIP dialog components.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5846 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-18 08:38:30 +00:00
marian
f9c6063d92
Fixed bug: set request uri from connection uri if none given when sending a method.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5845 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-17 11:52:07 +00:00
paulc
41241ca8fc
Allow controlling the number of (re)transmission per SIP transaction.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5844 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-12 09:50:50 +00:00
paulc
f2fe82537c
Generate monotonic per-dialog Command Sequence numbers (CSeq) derived from the global sequence.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5841 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-11 12:02:40 +00:00
marian
e0eb6e0867
Unlock driver before hangup to avoid deadlock when disconnecting the channel.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5836 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-04 08:31:29 +00:00
paulc
d8d6951f67
Copy the custom username from the "username" parameter of user.auth message.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5813 acf43c95-373e-0410-b603-e72c3f656dc1
2014-04-01 16:50:12 +00:00
paulc
cbaabffc2a
Support for custom SIP bodies in call related messages.
...
Multipart MIME bodies are created as needed.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5810 acf43c95-373e-0410-b603-e72c3f656dc1
2014-04-01 07:59:03 +00:00
paulc
0c63fc4dcb
Handle the "noautoauth" error in calls as well.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5809 acf43c95-373e-0410-b603-e72c3f656dc1
2014-03-28 14:05:37 +00:00
paulc
cfbad3e138
Make "caller", "callername" and "called" available in user.auth for generic SIP messages.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5808 acf43c95-373e-0410-b603-e72c3f656dc1
2014-03-28 12:51:39 +00:00
paulc
3d6e0c5c15
Free the parsed SDP media after populating the internal update message.
...
Fixes a memory leak caused by reINVITE in RTP forward mode.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5792 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-26 16:45:23 +00:00
paulc
37a72e4bc1
Added copyright notices to sources and scripts missing them.
...
Updated copyright notices for 2014.
Fixed end of lines in many files.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5755 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-05 11:42:17 +00:00
paulc
6c99ac9558
Added reporting the number of SIP transactions to "status sip" command.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5746 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-29 13:26:24 +00:00
marian
045b5ca3a3
Fixed bug: use a binary buffer to accumulate read data on tcp connections. Fixed keep alive request check. Avoid unnecessary buffer copy if there is no data from a previous read.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5691 acf43c95-373e-0410-b603-e72c3f656dc1
2013-11-27 14:04:37 +00:00
marian
72681d377c
Safely set and use the reason string.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5681 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-22 09:01:57 +00:00
marian
bf392ed93f
Safely reset media in hangup.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5680 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-22 08:13:00 +00:00
marian
8d95b61e73
Avoid race while processing secondary transaction events.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5679 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-22 08:04:22 +00:00
marian
0c55017c41
Added SIP IPv6 support.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5673 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-18 18:30:41 +00:00
marian
e032da9bed
Fixed bug: lock mutex to reset media when processing received BYE.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5668 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-17 14:23:55 +00:00
marian
fd0c7a9d2b
Added post dial delay timeout in outgoing channel started from 'maxpdd' routing parameter. It stops when status is called with 'ringing', 'progressing' or 'answered'.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5666 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-11 12:46:20 +00:00
marian
d707336e8f
Always set cause_sip and reason_sip in channel params when processing the sip transaction.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5663 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-10 13:18:21 +00:00
paulc
1bb92e13df
Use the proper method to clear saved media parameters.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5646 acf43c95-373e-0410-b603-e72c3f656dc1
2013-09-11 11:55:50 +00:00
paulc
d317cb5729
Attempt to revert to previous media if our reINVITE was refused.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5645 acf43c95-373e-0410-b603-e72c3f656dc1
2013-09-11 11:48:41 +00:00
paulc
375c920739
Provide a mapping for SIP 488 code so it propagates correctly.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5640 acf43c95-373e-0410-b603-e72c3f656dc1
2013-09-03 16:21:23 +00:00
marian
972bfac75e
Fixed bug: allow empty address (hold) when handling re-invite with rtp forward.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5638 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-30 15:01:45 +00:00
paulc
21aced388e
Added separate config sections for SIP MESSAGE and OPTIONS.
...
Made the routed MESSAGE advertising and processing disabled by default.
Removed separate in-dialog authetication for MESSAGE, follow same rule as BYE.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5629 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-23 11:52:11 +00:00
paulc
9c5eacc28f
Emit alerts for SIP and H.323 flood / local congestions.
...
Try to detect early the OpenH323 cleaner overload for outbound calls.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5627 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-19 13:53:54 +00:00
marian
9ad1953fa6
Fixed compile error.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5620 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-13 08:32:24 +00:00
marian
9fab20a109
Always handle MESSAGE method. Route incoming MESSAGE received outside INVITE dialog using call.route and send it using msg.execute. Forward MESSAGE received inside INVITE dialogs to channel peer using chan.text.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5619 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-13 08:31:33 +00:00
paulc
cf5d0fd71a
Changed license terms in each source file to reference an external file.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5609 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-06 13:38:10 +00:00
marian
46ec59af29
Stop chan.rtp dispatch for audio or video media with empty formats list.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5608 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-06 08:37:10 +00:00
paulc
13547a1ff3
Added settings to allow matching inbound calls from broken registrars.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5606 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-05 20:45:29 +00:00
marian
acafd80e98
Reset connect retry counter when received data not when connect succeeds. Fixes forever connect retry when connection is closed after accepted without receiving any data. Improved debug.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5604 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-02 14:28:44 +00:00
marian
c367c116fb
Check ssl availability. Don't bind a tls listener if the context is not valid. Don't try to connect a tls transport if ssl is not available.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5601 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-02 11:56:53 +00:00
marian
9a13938320
Fixed bug: start transport worker thread after init to make sure data is initialized. Fixes incoming tcp transport race condition.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5600 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-02 11:11:38 +00:00
marian
a0b11fc63d
Propagate non-retryable send errors to transaction. Terminate outgoing transactions in Trying state if first send attempt failed. Reset failed message party otherwise.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5599 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-02 10:01:39 +00:00
paulc
78201aa0be
Added unHexify version that automatically detects separator presence.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5596 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-01 14:52:52 +00:00
marian
cfa0be7eb2
Incoming registration NAT detection: don't check port for non udp parties.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5588 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-23 14:39:46 +00:00
paulc
d8b1569efd
Copy a SIP remote party change to the "address" parameter.
...
Add change information for address and contact in the call.update message.
Delay updating channel parameters until the reINVITE is accepted.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5583 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-16 13:15:40 +00:00
paulc
3cf42e2828
Use Alarm() in places that could prevent normal operation.
...
This allows sending SNMP traps when parts of the service become non-operational.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5569 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-08 12:21:26 +00:00
paulc
a5bac6672b
Added settings for the SIP T1 and T4 timers.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5533 acf43c95-373e-0410-b603-e72c3f656dc1
2013-06-07 15:18:42 +00:00
paulc
55f287abd5
Copy SIP authentication headers to Yate messages when foreign auth is enabled.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5532 acf43c95-373e-0410-b603-e72c3f656dc1
2013-06-07 15:17:19 +00:00
paulc
5cbae1781a
Populate user.register with custom SIP headers.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5526 acf43c95-373e-0410-b603-e72c3f656dc1
2013-06-04 14:47:06 +00:00
paulc
2b12d13fa7
Allow returning a message body from a generic SIP handler.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5525 acf43c95-373e-0410-b603-e72c3f656dc1
2013-06-04 14:46:03 +00:00
paulc
5139fb89c5
Added possibility to set credentials in generic UAC transactions.
...
SIP headers and body can be returned from generic UAC transactions.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5524 acf43c95-373e-0410-b603-e72c3f656dc1
2013-06-04 14:45:35 +00:00
paulc
d0aba1a525
Apply NAT detection only when registering a SIP or SIPS URI.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5523 acf43c95-373e-0410-b603-e72c3f656dc1
2013-06-04 14:44:23 +00:00
paulc
7f4b7821f2
Don't warn if no Contact is received in a 387 SIP answer, that's used for something else.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5509 acf43c95-373e-0410-b603-e72c3f656dc1
2013-05-28 16:59:13 +00:00
paulc
b8d4a515d2
Reply to SIP OPTIONS with 503 is engine is exiting, congested or rejecting calls.
...
Allow the OPTIONS method to be handled generically.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5502 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-29 11:16:02 +00:00
paulc
11b90dae77
Added support (default enabled) to run generic SIP messages in their own thread.
...
Fixed the raw text body encoding.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5453 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-12 13:34:50 +00:00
paulc
3b49b78ecb
Added a shared static list of Atom strings and an YATOM macro.
...
This speeds up signifficantly the Yate RTTI on compilers that HAVE_BLOCK_RETURN.
Made the String comparison operator inline to shave off a few cycles.
Fast handle the comparison in identity case.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5449 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-12 13:19:14 +00:00
paulc
e08e529ecf
Allow specifying the encoding for binary MIME bodies in SIP.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5442 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-12 12:51:38 +00:00
paulc
cabeade94e
Made the SIP "expires" parameter available in user.auth message.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5440 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-12 12:48:52 +00:00
paulc
b19a205aa1
Added configuration to disable the preventive BYE when CANCELing an early dialog.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5420 acf43c95-373e-0410-b603-e72c3f656dc1
2013-03-15 16:24:14 +00:00
paulc
d27a157208
Send UDP keepalive even for SIP accounts without registration.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5328 acf43c95-373e-0410-b603-e72c3f656dc1
2012-11-20 15:29:23 +00:00
marian
3f794a2f53
Create general listener from 'listener general' section if the section is present in config to mantain compatibility broken in rev. 8084.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5325 acf43c95-373e-0410-b603-e72c3f656dc1
2012-11-19 08:50:10 +00:00
paulc
7a3445a4ee
Use a smarter SIP registration adjustment interval to avoid trouble with some providers.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5320 acf43c95-373e-0410-b603-e72c3f656dc1
2012-11-09 13:08:30 +00:00
paulc
62bbf17bfc
Fixed handling of automatic REGISTER local address broken by a previous revision.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5317 acf43c95-373e-0410-b603-e72c3f656dc1
2012-11-01 15:00:32 +00:00
marian
451cf8fa69
Moved listener general config in 'general' section. Allow it to be an udp/tcp/tls listener. Removed 'listener general' section from config.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5310 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-29 15:41:51 +00:00
paulc
adcdd500a9
Allow setting custom headers in SIP (de)registration answers.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5288 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-02 13:41:31 +00:00
marian
94b6e06060
Make sure the user data pointer carried by handled message is a CallEndpoint one.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5287 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-01 11:00:30 +00:00
paulc
a779f83eb0
Changed the handling of the "timeout" parameter so it (re)starts when call is answered.
...
Added "maxcall" and "timeout" setting and handling to channels that lacked it.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5282 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-25 09:39:49 +00:00
marian
ec97de2487
Honor detected method when sending DTMFs.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5277 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-20 09:29:28 +00:00
marian
08654d5b53
Override channel dtmf methods in chan.dtmf only if explicitly requested.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5276 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-19 14:11:11 +00:00
marian
0583b5cdc5
Changed info allowed debug message level. Show it when compiled with xdebug.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5266 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-18 11:14:58 +00:00
marian
2030126a5f
Allow send dtmf method(s) to be configurable. Detect remote party INFO support from 'Allow' header.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5264 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-18 08:40:29 +00:00
marian
c8466bc285
Fixed bug: don't change party when processing inactive events to avoid overriding it with a wrong one. Moved party changed debug message to DebugInfo level.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5251 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-05 10:19:37 +00:00
marian
a77586a7a9
Added configurable option (defaults to disable) used to change remote party's ip/port when a channel receives a response or a new transaction from a different address.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5250 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-03 09:41:46 +00:00
oana
4b096a8081
Added separate setting for activating the SIP flood protection mechanism.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5234 acf43c95-373e-0410-b603-e72c3f656dc1
2012-08-20 11:06:06 +00:00
oana
ca3528c6e2
Set allowed number of simultaneous calls from configuration files. If not set, default to the maxchans setting in yate.conf.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5227 acf43c95-373e-0410-b603-e72c3f656dc1
2012-08-17 13:29:31 +00:00
oana
9ad504a992
Added mechanism to drop INVITE/REGISTER/SUBSCRIBE/OPTIONS messages when detecting a flood.
...
Other messages, as well as reINVITEs are still allowed.
Note: the meaning of the floodevents setting from ysipchan.conf has changed: now it sets the threshold for dropping messages.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5226 acf43c95-373e-0410-b603-e72c3f656dc1
2012-08-17 12:31:07 +00:00
oana
3c8f472bb9
Fix bug: first check if a message is a re-INVITE and handle it if required, otherwise check if the INVITE can be accepted.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5223 acf43c95-373e-0410-b603-e72c3f656dc1
2012-08-15 12:44:53 +00:00
paulc
063adacfce
Added support for updating remote dialog and party on reINVITE.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5216 acf43c95-373e-0410-b603-e72c3f656dc1
2012-08-03 21:20:10 +00:00
paulc
bd9ac32a86
Use setMedia(0) instead of clearEndpoint() so chan.rtp with terminate=true is emitted when changing media in SIP.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5189 acf43c95-373e-0410-b603-e72c3f656dc1
2012-07-09 13:41:14 +00:00
paulc
63981eda80
Don't copy the "handlers" parameter from user.auth
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5118 acf43c95-373e-0410-b603-e72c3f656dc1
2012-06-14 17:58:58 +00:00
paulc
bf57830c7f
Added possibility to track message progress through handlers.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5107 acf43c95-373e-0410-b603-e72c3f656dc1
2012-06-12 23:47:01 +00:00
paulc
257d20c738
Protect the generic methods list with the global mutex.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5106 acf43c95-373e-0410-b603-e72c3f656dc1
2012-06-12 08:45:39 +00:00
paulc
87b5b84721
Properly map privacy=full back to SIP Remote-Party-ID and Privacy headers.
...
Got rid of a few useless String allocations.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5090 acf43c95-373e-0410-b603-e72c3f656dc1
2012-06-04 12:06:33 +00:00
paulc
e7c7b6ceba
Allow setting the external address of a NAT in the SDP sent by SIP.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5058 acf43c95-373e-0410-b603-e72c3f656dc1
2012-05-11 21:33:21 +00:00
paulc
3e24933763
Add SIP call parameters before performing authentication.
...
This allows user.auth to overwrite rather than duplicate parameters.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5055 acf43c95-373e-0410-b603-e72c3f656dc1
2012-05-11 12:57:16 +00:00
paulc
dcfa4cc8e3
Execute a hangup immediately if received a CANCEL message.
...
This fixes the total duration of a cancelled call in slow routing scenarios.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5017 acf43c95-373e-0410-b603-e72c3f656dc1
2012-04-21 11:12:35 +00:00
paulc
b682d50334
Make sure we disconnect a SIP call on all branches of hangup.
...
Fixes BYE without CANCEL not being propagated.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4994 acf43c95-373e-0410-b603-e72c3f656dc1
2012-04-04 17:36:34 +00:00