578 Commits

Author SHA1 Message Date
Mathieu Rene
f51c540b82 mod_sofia: we need to handle redirects before checking for proxy mode if we want them to work in bypass or proxy media (IRC-00)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14537 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-16 19:01:35 +00:00
Mathieu Rene
4c3086e5b1 Revert 14535
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14536 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-16 18:05:35 +00:00
Mathieu Rene
94ea7ab5f4 mod_sofia: sofia_handle_sip_i_state needs a valid tech_pvt
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14535 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-16 18:03:24 +00:00
Mathieu Rene
c2d5f970bc Per-call logging, part one
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14509 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-13 20:35:02 +00:00
Mathieu Rene
485014bf7c MODSOFIA-20 with changes
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14482 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-11 00:54:39 +00:00
Brian West
426d3ea9fa stupid stupid stupid stupid stupid
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14441 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-31 21:21:33 +00:00
Michael Jerris
7d205f5d6c fix patch from (MODENDP-231)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14376 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-27 16:18:16 +00:00
Michael Jerris
e7ec98273f mod_sofia: Optionally rewrite fs_path element of sip contact string on multicasted registrations (MODENDP-231)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14353 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-24 19:34:32 +00:00
Brian West
8155f453a8 part 2 of (SFSIP-167)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14345 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-24 15:07:16 +00:00
Brian West
ab0e67ccec doh these are backwards. (SFSIP-167)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14344 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-24 14:33:46 +00:00
Mathieu Rene
068efb1118 Also support 300 redirections
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14329 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-23 15:42:12 +00:00
Anthony Minessale
87c2c0d398 MODSOFIA-18
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14319 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-22 19:14:47 +00:00
Brian West
2d86be922f init from_domain to NULL
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14305 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-21 00:18:20 +00:00
Anthony Minessale
75c978812f do not auto-set from-domain
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14304 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-21 00:11:03 +00:00
Anthony Minessale
70a91c8f09 sort out proxy stuff SFSIP-165
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14263 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-16 00:46:35 +00:00
Brian West
e3a2e3d41d cleanup since from_domain is now in the gateway and will default to proxy , realm or from-domain if set properly.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14253 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-14 20:56:09 +00:00
Brian West
6136965cd5 MODSOFIA-17
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14251 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-14 19:49:34 +00:00
Anthony Minessale
1f180a673d MODSOFIA-16
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14245 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-14 15:09:03 +00:00
Anthony Minessale
a2b4bf69fe make anything that remotely resembles a reply to options count as successful
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14242 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-14 14:36:59 +00:00
Brian West
4170be7261 don't nuke proxy
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14221 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-13 16:37:00 +00:00
Michael Jerris
85b2d07f68 add sip_auto_answer_detected var set when we get intercom request on inbound invite.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14220 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-13 15:50:05 +00:00
Brian West
1cd02d9054 sigh...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14219 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-13 14:31:24 +00:00
Michael Jerris
1ccd61b097 cleanup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14203 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-10 20:32:23 +00:00
Michael Jerris
dbbaa2fc47 always send user in 200 ok
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14200 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-10 19:22:39 +00:00
Brian West
4f6f7d285b mod_sofia: Have I said how dumb sip is sometimes?
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14142 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-06 22:04:09 +00:00
Anthony Minessale
ac208c8be3 manually handle bye to delay the 200 OK till after the call is torn down (reversable with a define)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14121 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-02 17:40:16 +00:00
Brian West
f5fc2e9296 mod_sofia: this one was my fault, it shouldn't set them as sip_h just in case. Moved it to set the full header into sip_HEADERNAME so you can use it as you see fit or re-export it to a sip_h on the b-leg if needed unchanged.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14081 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-01 15:02:27 +00:00
Brian West
b6363dc294 LOOK OUT BELOW... (FSCORE-381)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14055 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-30 18:59:05 +00:00
Brian West
c8c7d94f4b fix FSCORE-391
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14030 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-29 17:30:55 +00:00
Brian West
f06a25fb93 mod_sofia: BOUNTY-7 and MODENDP-146
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13977 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-26 17:33:19 +00:00
Brian West
643722db5f mod_sofia: Dereferencing a null pointer causes segfault: sofia_handle_sip_r_invite doesn't check profile->extsipip before use (FSCORE-386)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13937 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-24 16:04:05 +00:00
Michael Jerris
6348359d95 change odbc handling in code to be runtime instead of build time
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13936 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-24 16:02:43 +00:00
Brian West
984d2f9dd1 addition register_proxy issues
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13914 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-23 19:38:14 +00:00
Brian West
c7700294c9 mod_sofia: use the register proxy for the R-URI on register when register-proxy is set (MODSOFIA-12)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13911 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-23 17:52:46 +00:00
Michael Jerris
11d53ae7dc mod_sofia: fix segfault on refer with no content-type or body (SFSIP-153)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13889 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-22 14:12:35 +00:00
Andrew Thompson
d03163bf5d Fix multicast replication of sofia registrations (OKed by anthm)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13786 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-16 18:46:28 +00:00
Anthony Minessale
2eac35df99 increase compat on NDLB-to-in-200-contact to handle NAT
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13759 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-11 17:17:52 +00:00
Brian West
1d05845368 SFSIP-151 thanks good catch
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13736 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-09 20:16:01 +00:00
Anthony Minessale
55c8fbad76 add sofia tracelevel <level> and tracelevel param in <settings>
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13735 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-09 19:52:07 +00:00
Brian West
c64b31c12c improve handling of 302 redirect and add option to handle them in the dialplan if needed. Also all redirects back to ourself will be transfered to the dialplan automatically now bypassing the loop.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13734 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-09 19:05:11 +00:00
Mathieu Rene
75797d5071 Revert 13615
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13733 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-09 19:00:15 +00:00
Brian West
e44ef22b23 don't print misleading info when nat_type isn't set on auto_nat
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13704 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-08 23:26:30 +00:00
Mathieu Rene
b633d3298e add an external port output parameter to switch_nat_add_mapping and use it in sofia_glue_tech_choose_port
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13629 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-05 02:30:44 +00:00
Mathieu Rene
5a149bfcb4 mod_sofia: Move siptrace to loglevel INFO
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13615 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-04 17:26:05 +00:00
Michael Jerris
1dd780e697 merge sip nat improvements from branches/brian
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13594 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-03 21:08:34 +00:00
Anthony Minessale
b82984fe97 add netmask detection for nat discovery work
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13549 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-02 16:55:10 +00:00
Brian West
dd1e4b2d23 sigh, guess we can only do this on snom and polycom right now to be safe
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13527 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-01 13:45:50 +00:00
Brian West
44c27f9922 don't throw error on this event now
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13519 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-30 03:44:14 +00:00
Michael Jerris
5b27226a07 handle vegastream broken sip info packets
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13506 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-29 18:08:05 +00:00
Brian West
af9b1b6989 doh this is the right way for this
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13497 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-28 23:39:46 +00:00