Martin Pycko
2850b4962f
Don't allow to run SIPDtmfMode on other channels than SIP ones.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1750 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-14 21:58:54 +00:00
Martin Pycko
265d0a060c
A little oops ...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1749 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-14 17:57:26 +00:00
Mark Spencer
4195115d60
Fix typo
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1733 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-13 00:44:31 +00:00
Mark Spencer
d21c6b7c13
Properly decode strings in REPLACES and ignore leading whitespace
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1732 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-13 00:43:02 +00:00
Martin Pycko
9d2c55e62a
Fix SIP_CODEC support
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1729 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-12 16:36:35 +00:00
Mark Spencer
a2303e3d0f
Don't reinvite if we got a refer
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1724 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-12 00:13:55 +00:00
Mark Spencer
027d5bbf30
Add ${SIPDOMAIN} and "dynamic peer" mode
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1722 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-11 20:46:41 +00:00
Mark Spencer
9175d0a1ee
If somehow we don't have an answer, set need to destroy on CANCEL
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1717 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-10 17:18:09 +00:00
Mark Spencer
b0f482d9b3
Handle 401 for INVITE as well (should we add support for BYE too?)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1714 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-10 04:22:33 +00:00
Mark Spencer
1e95c3a4ac
Remove really broke MP3 stuff in favor of G.726 in the near future
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1689 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-04 02:40:09 +00:00
Martin Pycko
0c5ee9486b
Make SIP_CODEC warn about not supported/not configured codec
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1687 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-04 00:34:17 +00:00
Martin Pycko
da93b54687
Add externip keyword so that it's possible to use asterisk behind a NAT through port forwarding
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1681 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-31 16:13:49 +00:00
Mark Spencer
77003fea94
Fix *8# magically (bug #116 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1665 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-25 17:41:02 +00:00
Mark Spencer
c6569f5177
Check that there really is a tag
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1663 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-24 18:22:45 +00:00
Mark Spencer
37ff334508
Set joint capability as well when checking users
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1662 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-23 03:58:40 +00:00
Mark Spencer
67d2608db9
Handle capability on inbound too
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1660 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-23 03:50:34 +00:00
Mark Spencer
a1fe10de33
Add language supporrt for SIP (bug #411 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1656 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-22 04:19:22 +00:00
Mark Spencer
5e25770a83
Okay, '*' and '#' are still okay in INFO messages
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1642 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-21 17:07:18 +00:00
Mark Spencer
bc69cfe5a4
Minor typo fix
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1639 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-21 03:10:43 +00:00
Martin Pycko
f59f259586
In the SIP -> SIP if the called party disconnects with 486 make sure that the calling party gets 486 also
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1633 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-15 22:12:05 +00:00
Mark Spencer
a32f02162b
Actually add md5secret option to CVS (bug #288 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1632 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-15 17:32:19 +00:00
Mark Spencer
c8a93d08eb
Properly strip "from" line
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1626 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-12 11:43:18 +00:00
Mark Spencer
1682b2ced8
Strip "sip:" from callerid
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1625 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-10 18:58:52 +00:00
Mark Spencer
4966cfa119
Fix typo
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1624 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-10 02:05:17 +00:00
Mark Spencer
f537e2e0ec
Consider "from" when getting destination (bug #368 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1623 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-09 22:50:42 +00:00
Mark Spencer
1343c2638c
Increase sizes in SIP (bug #352 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1610 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-06 00:39:34 +00:00
Mark Spencer
e4b8d32001
Make sip show channel display a given callid when only partly specified
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1602 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-02 06:46:19 +00:00
Martin Pycko
c0dde4ac5b
Add 486 message (SIP) to 17 cause (PRI) translation when you call Dial app and then Hangup:
...
exten => _X.,1,Dial(SIP/user)
exten => _X.,2,Hangup()
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-01 16:05:40 +00:00
Mark Spencer
9e68716e0e
Check registry carefully before unlinking
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1592 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-01 04:53:53 +00:00
Mark Spencer
d3e0c54f7d
Fix leaking sip channels
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1591 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-01 04:43:43 +00:00
Mark Spencer
80f05b38b0
Fix SIP for outbound too
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1590 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-01 03:03:42 +00:00
Mark Spencer
694d3435e1
Add sayunixtime, chan_sip updates for codec negotiation
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1589 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-30 23:03:57 +00:00
Mark Spencer
b9643771af
Destroy channels on BYE when no owner is present
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1584 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-30 04:57:20 +00:00
Mark Spencer
eca42807c3
Fix counter in SIP (bug #291 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1566 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-27 02:30:03 +00:00
Mark Spencer
83e9734908
Fix capability lookup failure
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1545 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-26 03:31:57 +00:00
Mark Spencer
273e1b07d6
Keep voicemail from segging on a permissions problem (bug #245 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1543 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-25 13:18:03 +00:00
Mark Spencer
90f6d836ee
Fix deadlock pointed to by Martin
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1524 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-17 20:51:53 +00:00
Mark Spencer
c511b967ed
Outgoing limit updates (bug #98 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1505 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-13 20:26:20 +00:00
Mark Spencer
faeb2e28f2
Add extended Matching functionality (bug #97 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1504 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-13 20:20:14 +00:00
Martin Pycko
78ef0d0ebe
Add SIPDtmfMode application
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1497 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-11 22:41:30 +00:00
Mark Spencer
76b99bb025
Fix typo
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1490 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-08 22:37:47 +00:00
Mark Spencer
979dc97f36
Fix "potential" deadlock and make not-a-deadlock
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1487 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-08 19:38:24 +00:00
Mark Spencer
479a67e629
BSD portability enhancements (bug #234 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1486 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-08 16:48:07 +00:00
Martin Pycko
6e8a074912
Add restrictcid=[yes|no] for chan_zap and chan_sip. You can specify if the sip/zap users will have the callerid transmitted as ANI or CALLERID.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1476 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-05 04:00:57 +00:00
Mark Spencer
687a0e76b5
Take URI from responses (bug #215 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1473 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-04 04:40:37 +00:00
Mark Spencer
174af33085
Actually use the "get_also" function
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1425 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-25 14:17:14 +00:00
Mark Spencer
eeceb89d31
First pass at BYE/Also transfer
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1423 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-25 00:05:48 +00:00
Mark Spencer
1d7e348b8f
Make sipdebug default to 0
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1420 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-24 22:56:54 +00:00
Mark Spencer
dcb9b8f9a2
Make SIP registration persistent (bug #159 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1419 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-24 22:35:06 +00:00
Mark Spencer
2d9561427e
Enable Asterisk to register with itself (with authentication)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1418 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-24 22:33:43 +00:00
Mark Spencer
f148fe7e4f
Send registration info on 407 too
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1417 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-24 21:47:25 +00:00
Mark Spencer
d6cfcc994d
Use URI in sip, update chan_vpb
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1413 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-24 06:24:38 +00:00
Mark Spencer
8d4afb9c19
Fix call pickup with SIP
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1412 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-23 22:27:10 +00:00
Mark Spencer
6b8998b8ec
Store password for later authentication needs
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1408 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-22 18:51:58 +00:00
Mark Spencer
bc46ece67f
Use "domain" instead of "uri" if supplied
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1407 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-22 16:53:36 +00:00
Mark Spencer
438ed9e5f8
Minor fix
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1406 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-22 16:36:33 +00:00
Mark Spencer
46059b0714
Reliably transmit BYE always
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1405 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-22 16:27:53 +00:00
Mark Spencer
ddb5ae08e8
Small changes that could be useful
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1404 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-22 16:12:06 +00:00
Mark Spencer
7d8d7837b4
Never create do initreq with BYE
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1402 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-21 23:41:23 +00:00
Mark Spencer
436f02d38a
Don't actually destroy in handle_request
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1397 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-21 23:00:22 +00:00
Mark Spencer
4b1baccb2e
In some cases, no need for an initreqprep
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1396 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-21 22:20:27 +00:00
Mark Spencer
a869aae156
Only suggest destroy
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1394 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-21 16:24:55 +00:00
Mark Spencer
b79a237186
Prefer bind address if specified over our actual route address
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1390 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-21 02:27:25 +00:00
Mark Spencer
913a5331b7
Only half-ack provisional responses
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1386 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-20 23:03:44 +00:00
Mark Spencer
b938de4ea7
Check for 407 on both outbound and non-outbound calls
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1383 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-20 14:28:51 +00:00
Mark Spencer
312760c381
First attempt at fixing bug #131 (authenticate BYE)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1382 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-20 05:56:13 +00:00
Mark Spencer
9140063401
Uh, don't lock
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1364 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-18 14:05:40 +00:00
Mark Spencer
341c78552d
If we can't transfer, be sure we hangup
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1359 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-18 05:23:10 +00:00
Martin Pycko
501c800c5a
Show the names of the codecs instead of the numbers (bug #92 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1348 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-16 05:10:35 +00:00
Mark Spencer
4e82233874
Don't lock when soft hanging up
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1346 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-15 23:57:13 +00:00
Mark Spencer
3e211c91a2
Make sure strncat is > 0
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1341 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-15 18:50:49 +00:00
Mark Spencer
37b7bccc61
Asterisk:
...
#72 - Should eliminate probs on VMWI
#41 - Dynamic add survives reload
#73 - Make festival honor its arguments
#93 - Make events on FXO interfaces more logical
#26 - Prefer "bindaddr" to logical address for registrations
??? - Record crashes AGI
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1338 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-15 04:38:39 +00:00
Mark Spencer
1bb58646de
Totally revamp thread debugging to support locating and removing deadlocks
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1310 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-13 15:25:16 +00:00
Mark Spencer
e85c9cbc45
Fix typo
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1301 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-12 21:18:24 +00:00
Mark Spencer
e4614cf487
Add optional pedantic SIP checking
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1298 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-12 16:48:16 +00:00
Mark Spencer
b12891297f
Handle 501 right
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1287 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-10 19:36:46 +00:00
Mark Spencer
56f1a46121
Fix TOS bit in SIP when verbose < 2, add support for mgcp TOS bits
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1243 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-07-30 20:49:23 +00:00
Mark Spencer
d407e8e25e
Small SIP simplification
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1242 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-07-30 20:45:17 +00:00
Mark Spencer
5ea641b2d3
If local user not found, allow call to pass
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1239 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-07-30 18:39:41 +00:00
Mark Spencer
70f306e8d8
Revision to SIP
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1225 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-07-26 23:14:27 +00:00
Mark Spencer
ecf50fcee8
Add per-user limits to chan_sip
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1223 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-07-26 15:12:37 +00:00
Mark Spencer
3f1d92ad68
Merge Matteo's INFO patch
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1208 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-07-24 00:36:03 +00:00
Martin Pycko
f2d573fe85
Fix two little things
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1201 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-07-22 22:07:16 +00:00
Mark Spencer
53fab94828
Minor fix for cid name
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1197 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-07-17 18:49:05 +00:00
Martin Pycko
09a80571a5
Fix a segfault with the calls that need to register with the remote gateway (eg: when asterisk has to send REGISTER message in order to place a call)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1190 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-07-15 05:05:19 +00:00
Mark Spencer
817fc344e7
Default to allowing H.263 but not H.261
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1132 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-06-29 03:25:00 +00:00
Mark Spencer
9befc69684
Properly handle broken up packets
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1129 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-06-28 18:35:58 +00:00
Mark Spencer
f5e13431a5
Add SIP/RTP video support, video enable app_echo, start on RTCP
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1128 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-06-28 16:40:02 +00:00
Mark Spencer
733f251743
Turn off moh on SIP transfer
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1121 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-06-25 16:12:23 +00:00
Mark Spencer
0e46787829
Make names more rational
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1114 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-06-24 12:51:28 +00:00
Mark Spencer
4c021fb727
Merge (for the time being) the alert code...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1107 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-06-18 22:34:55 +00:00
Mark Spencer
2685819181
Minor fix for SIP authentication
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1101 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-06-17 16:36:24 +00:00
Mark Spencer
b04542e11e
Handle registration setups better when username contains an @
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1093 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-06-15 22:53:05 +00:00
Mark Spencer
3664ca0cbb
Remove duplicate define
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1091 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-06-14 23:01:12 +00:00
Mark Spencer
fc8d3631b4
Add SRV code to SIP, cleanup ENUM and make IAX2 do the right thing on dials
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1085 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-06-12 12:48:57 +00:00
Martin Pycko
c680adba74
Fix the segfault in get_calleridname if the From: string starts with "<sip:..."
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1079 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-06-08 16:26:08 +00:00
Martin Pycko
79c8c611db
Add intercepting the calleridname from incoming SIP calls
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1077 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-06-06 00:06:52 +00:00
Mark Spencer
1ba2edcfb2
Fix INFO on SIP with weird hardware
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1068 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-06-02 21:07:34 +00:00
Mark Spencer
acc40fafeb
Enforce mailboxes checked in increasing order
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1054 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-05-24 20:47:25 +00:00
Mark Spencer
38c28eb6cb
Restart faster on checking NOTIFY messages on mailboxes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1053 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-05-24 20:42:44 +00:00
Mark Spencer
921ffb5dd7
Only send 180 ringing once, fix CTRL+D in main code
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1052 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-05-22 14:24:06 +00:00
Mark Spencer
bbdb142d2e
Always lock call in find_call
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1037 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-05-17 14:47:17 +00:00
Mark Spencer
f345e8a77c
Handle progress in chan_sip properly
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1025 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-05-15 22:39:01 +00:00
Mark Spencer
7c2d9a9302
Clarify check for when to send message
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1022 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-05-14 21:13:53 +00:00
Mark Spencer
377303a391
If we receive OPTIONS as the start of a conversation, kill it immediately after giving our response
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1020 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-05-14 19:17:20 +00:00
Mark Spencer
4f5c46fb20
Implement transfer (first pass) in SIP
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1017 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-05-14 05:52:59 +00:00
Mark Spencer
6642fb0688
Fix get_rdnis typo
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1009 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-05-13 00:17:14 +00:00
Mark Spencer
847f8207f7
Attempt RDNIS support
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1007 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-05-12 21:12:48 +00:00
Mark Spencer
48647bfc08
Make canreinvite globally applicable
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1003 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-05-12 16:16:33 +00:00
Mark Spencer
e0458e4c27
Consider VIA on BYE and CANCEL too
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@997 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-05-11 21:07:53 +00:00
Mark Spencer
067eae567c
Fix potential seg
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@985 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-05-09 19:02:10 +00:00
Mark Spencer
c31ecfba93
Make insecure perform as expected
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@974 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-05-08 03:32:59 +00:00
Mark Spencer
01a79e3adc
Merge tilghman's updates for getourip
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@958 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-05-04 05:52:52 +00:00
Mark Spencer
8162607c58
Fix typo
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@953 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-05-03 03:30:55 +00:00
Mark Spencer
fe7038fb2d
Build tohost on options
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@952 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-05-03 03:29:58 +00:00
Mark Spencer
163898dae7
Release peer/user determination when insecure = yes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@950 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-05-02 02:37:57 +00:00
Mark Spencer
f0d069772c
Parse first line parts when copying initreq's.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@949 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-05-02 02:18:41 +00:00
Mark Spencer
6abb9f6415
Fix core on initial one
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@944 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-04-30 22:17:21 +00:00
Mark Spencer
b32daa0ed7
Queue null frame on receiving INVITE to prod ast_rtp_bridge
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@943 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-04-30 22:14:36 +00:00
Mark Spencer
4981335c1d
Keep track of redirected place for sending reinvites
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@941 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-04-30 21:53:55 +00:00
Mark Spencer
07dfb3d5f2
Fix to "Messages-waiting"
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@938 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-04-30 18:52:40 +00:00
Mark Spencer
f7e921313e
Make mimetype for NOTIFY configurable
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@937 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-04-30 18:48:30 +00:00
Mark Spencer
f6764f4722
More contributed BSD enhancements
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@919 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-04-27 21:34:27 +00:00
Mark Spencer
3cf4974cfe
AMAflags and account code honored in SIP
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@910 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-04-25 03:56:46 +00:00
Mark Spencer
ba1639e1f7
Fix TOS stuff for BSD
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@909 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-04-24 23:35:17 +00:00
Mark Spencer
5987504e82
Use 503 for CONGESTION and 486 for BUSY
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@907 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-04-24 18:21:46 +00:00
Mark Spencer
c4225d255e
More OpenBSD changes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@891 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-04-23 20:22:14 +00:00
Mark Spencer
f5652e5d4e
Copy tohost from the peer when poking
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@888 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-04-23 18:50:53 +00:00
Mark Spencer
beaab96cdf
Reuse correct sequence numbers
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@877 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-04-21 16:49:41 +00:00
Mark Spencer
0dee7f521b
Use the same call id for registrations
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@875 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-04-20 22:19:22 +00:00
Mark Spencer
732c8b2a00
Put actual host name in field where possible
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@868 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-04-18 15:47:33 +00:00
Mark Spencer
edf612581f
Contribute SIP changes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@859 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-04-16 21:42:08 +00:00
Mark Spencer
3fddf10c3e
Accept "defaultexpirey" too
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@849 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-04-14 19:18:49 +00:00
Mark Spencer
ca5ebe78cd
Don't unlock in handle_response
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@845 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-04-14 15:56:14 +00:00
Mark Spencer
8d2dcf3a32
Fix locking issue
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@844 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-04-14 15:45:09 +00:00
Mark Spencer
7b6912fd28
Add support for :authuser...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@841 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-04-12 17:06:14 +00:00
Mark Spencer
665e5bfee1
Various requested SIP enhancements
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@840 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-04-12 15:46:22 +00:00
Mark Spencer
7cabdde1ce
Fix zombie *8# channels in SIP
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@832 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-04-11 18:22:21 +00:00
Mark Spencer
c3098625ea
Fix blind transfer with macro
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@831 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-04-11 18:10:25 +00:00
Mark Spencer
256093b5da
Suppress 487 message since people think it is an error
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@828 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-04-11 16:02:23 +00:00
Mark Spencer
13dbf301c6
update CREDTS file
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@827 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-04-11 14:53:05 +00:00
Mark Spencer
5654b1b886
Use hostname instead of IP for sip registration
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@826 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-04-11 14:03:28 +00:00
Mark Spencer
f94a62d64e
Don't double ack subscribes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@825 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-04-11 04:49:00 +00:00
Mark Spencer
aa39431646
Put number in name field if name field is NULL *or* has 0 length
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@824 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-04-11 04:33:53 +00:00
Mark Spencer
a6cc0b233e
When swapping subs, queue a null frame, extend delay for hangup-on-flash
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@823 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-04-11 04:31:33 +00:00
Mark Spencer
b430999a96
Ignore ;user=phone on register
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@809 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-04-10 00:06:16 +00:00
Mark Spencer
f8a6b5e31d
Parse initial request
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@805 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-04-09 21:52:56 +00:00
Mark Spencer
1bfcc8d8d0
Don't ACK on anything but INVITE
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@804 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-04-09 21:46:58 +00:00
Mark Spencer
ec6cca344b
Add missing "Contact" line to Register
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@803 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-04-09 21:45:32 +00:00
Mark Spencer
c7c91a93f2
Allow "fromuser" option and don't append port number if it's specified (you can do it with fromdomain=temp.com:5060
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@802 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-04-09 21:30:27 +00:00