Commit Graph

1329 Commits

Author SHA1 Message Date
Anthony Minessale 61f7148941 tidy up
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3196 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-25 14:01:03 +00:00
Michael Jerris 0be391132a datatype tweaks.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3193 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-25 04:47:08 +00:00
Anthony Minessale 08442ff2c4 signalling refactoring for media etc
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3192 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-25 04:28:49 +00:00
Michael Jerris 1f2d19e28e update more sip cause code to qsig cause code mappings from rfc 4497 sections 8.4.1 and 8.4.4
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3190 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-25 03:45:20 +00:00
Anthony Minessale 252afb823f add some sanity code to originate and conference
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3189 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-25 01:00:26 +00:00
Michael Jerris 0fb5729590 add the start of DTMF INFO support from Paul Tinsley. thanks.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3186 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-24 22:11:25 +00:00
Anthony Minessale 521e3b0a55 figure out when we are on hold
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3185 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-24 21:31:39 +00:00
Anthony Minessale 10ead46ffd update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3181 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-24 18:50:52 +00:00
Anthony Minessale bfab0a6efc minor tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3180 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-24 18:23:23 +00:00
Anthony Minessale 04546b6b93 fix sillyness
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3171 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-24 01:29:04 +00:00
Anthony Minessale 2d3ab6b5d8 let you pick event type
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3169 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-23 22:32:50 +00:00
Michael Jerris 39df1481c2 move to new sofia tarball for windows build, this new tarball includes fix for build w/o glib on *nix, fix for segfault on cancel during early media, and proper implementation of handing subscribe and publish requests up to the application (removes our private hacks to enable this behavior).
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3167 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-23 20:39:48 +00:00
Anthony Minessale b30eb82b84 new sofia rollout
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3166 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-23 20:28:55 +00:00
Anthony Minessale 776919d5fd tweeks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3164 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-23 17:34:03 +00:00
Michael Jerris af23ce4853 whitespace cleanup.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3158 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-22 17:44:41 +00:00
Michael Jerris 1cd8709762 add "all" member target for vol and energy commands, fix init of len for record.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3157 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-22 17:07:28 +00:00
Michael Jerris 90fe19867c initialize to null so we can check for null before we free.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3156 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-22 15:46:23 +00:00
Michael Jerris 49a130962c code before declaration
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3155 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-22 15:46:01 +00:00
Anthony Minessale aba9c77c35 your run-of-the mill nightmarish attempt at normalizing not one crazy protocol but many....
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3151 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-22 04:37:19 +00:00
Michael Jerris 1bc0db0db6 clarify in mod_skel. (thanks knhor).
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3144 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-21 23:02:36 +00:00
Michael Jerris d0f877a32f Make record only end the application, and not hangup the call on * (thanks knhor).
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3143 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-21 23:01:58 +00:00
Michael Jerris dd5d73742a add ability to specify member "all" on conference api commands taking a member (thanks knhor).
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3142 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-21 23:01:17 +00:00
Anthony Minessale f4b25c70b4 add viles patch
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3140 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-21 22:54:55 +00:00
Anthony Minessale b2f9fae6d1 conference recording
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3139 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-21 21:19:40 +00:00
Anthony Minessale 1f29ce2749 add some more nifty stuff and fix a bug or 2
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3134 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-21 04:58:15 +00:00
Anthony Minessale 7e61bcf9bb fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3133 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-21 03:19:48 +00:00
Michael Jerris beb4922646 fix typo, thanks knhor
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3132 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-21 01:33:23 +00:00
Anthony Minessale 59f3204d61 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3130 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-21 01:20:46 +00:00
Anthony Minessale a67dc0aab6 fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3126 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-20 22:26:06 +00:00
Anthony Minessale 343fd5cea5 refactor the presence stuff and add it to mod_conference
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3124 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-20 22:11:26 +00:00
Anthony Minessale db2753b78a this ascii 20 ' ' sponsored by Matt Klein aka Vile
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3122 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-20 13:32:44 +00:00
Anthony Minessale 4943c5939f another step closer
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3119 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-20 06:55:30 +00:00
Anthony Minessale 747ab41f78 bs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3118 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-20 06:44:58 +00:00
Anthony Minessale 3a32d9e53c Presence and Chat Gateway Code
This is some brand new stuff to gateway chat/presence/audio from one protocol to another
So far it only works between google/jingle and SIP

All I had to test the SIP end was X-Lite and Eyebeam and GoogleTalk on the jingle end.

With this setup registered X-Lite's can chat with each other and call each other 
as well as X-Lite to GoogleTalk and GoogleTalk to X-Lite audio calls.

Chat May also be done between X-Lite and jabber 

You'll also need a jabber server configured for component login so you can interface.
We have only tested with jabberd2 so far.

Configure DNS so srv records for jabber for your subdomain (fs.mydomain.com in the example)
so the jabber records are pointed at your jabber server.

RELEVANT CONFIGS

<!-- Brian has no jingle support so send calls to him over to his iax url -->
<extension name="bkw">
  <condition field="destination_number" expression="^jingle\+brian@agents.cylynx.com$">
    <action application="bridge" data="iax/guest@brianwest.homeunix.org/9184290404"/>
  </condition>
</extension>

<!-- Assumption is made here that both sip and jingle have the same profile/domain name as documented below -->

<extension name="jingle2sip">
  <condition field="source" expression="mod_dingaling"/>
  <condition field="destination_number" expression="^sip\+([^\@]+)\@(.*)$">
    <action application="bridge" data="sofia/$2/$1%$2"/>
  </condition>
</extension>

<extension name="sip2jingle">
  <condition field="source" expression="mod_sofia"/>
  <condition field="destination_number" expression="^jingle\+([^\@]+)\@(.*)$">
    <action application="bridge" data="dingaling/sip+${sip_fromuser}@${sip_fromhost}/$1@$2"/>
  </condition>
</extension>


<configuration name="sofia.conf" description="sofia Endpoint">
  <global_settings>
    <param name="log-level" value="0"/>
  </global_settings>

  <profiles>
    <profile name="fs.mydomain.com">
      <registrations/>
      <settings>
	<param name="debug" value="1"/>
	<param name="rfc2833-pt" value="101"/>
	<param name="sip-port" value="5060"/>
	<param name="dialplan" value="XML"/>
	<param name="dtmf-duration" value="100"/>
	<param name="codec-prefs" value="PCMU"/>
	<param name="codec-ms" value="20"/>
	<param name="accept-blind-reg" value="true"/>
	<param name="manage-presence" value="true"/>
	<!--<param name="full-id-in-dialplan" value="true"/>-->
	<!--<param name="auth-calls" value="true"/>-->
	<!--<param name="auth-all-packets" value="true"/>-->
	<param name="use-rtp-timer" value="true"/>
	<param name="rtp-timer-name" value="soft"/>
	<param name="rtp-ip" value="100.200.100.200"/>
	<param name="sip-ip" value="fs.mydomain.com"/>
      </settings>
    </profile>
  </profiles>

</configuration>


<configuration name="dingaling.conf" description="XMPP Jingle Endpoint">
  <settings>
    <param name="debug" value="0"/>
    <param name="codec-prefs" value="PCMU"/>
  </settings>

  <profile type="component">
    <param name="name" value="fs.mydomain.com"/>
    <param name="password" value="secret"/>
    <param name="dialplan" value="XML"/>
    <param name="rtp-ip" value="208.64.200.42"/>
    <param name="server" value="jabber.freeswitch.org:5347"/>
    <!-- disable to trade async for more calls -->
    <param name="use-rtp-timer" value="true"/>
    <param name="exten" value="_auto_"/>
    <!--<param name="vad" value="both"/>-->
  </profile>

</configuration>



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3115 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-20 06:17:00 +00:00
Michael Jerris e70a025a88 fix segfault?
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3114 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-20 05:45:52 +00:00
Paul Tinsley eaf4409b45 Fix for broken trunk commit, setting contact_str size to the size of sql variable it's stored in [contact VARCHAR(1024)] + 1 for the null.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3113 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-20 03:33:49 +00:00
Anthony Minessale b9a215313d update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3112 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 19:39:18 +00:00
Anthony Minessale ce984a90fe present from tony
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3111 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 19:09:51 +00:00
Anthony Minessale 858cc7fa19 present from pdt
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3110 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 18:52:46 +00:00
Michael Jerris e6b81ff14a remove useless comment.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3109 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 17:09:48 +00:00
Michael Jerris 87aaab80d5 Get Alert-Info from inbound invite and set to the channel variable so that it can be passed through to the other end of the call if it is a sip call.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3108 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 17:04:58 +00:00
Michael Jerris c1f346b99e change to switch_mprintf
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3107 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 16:42:41 +00:00
Anthony Minessale 12243c194e tidy up, note yesterday's propagate_vars was changed to export_vars
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3106 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 16:33:54 +00:00
Michael Jerris 9d52ec2ae1 add Alert-Info: Thanks Ken.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3104 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 16:10:24 +00:00
Anthony Minessale 99e22d69bd refactor earlier junk from this eve and add ken's propagate variable thing
set this sometime before an origination (bridge etc).

<action application="set" data="propagate_vars=my_cool_var1,my_cool_var2,foo,bar"/>

and they should be cloned over to the new channel when it's substantiated



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3101 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 07:13:34 +00:00
Michael Jerris 80f91a5824 add xmlcdr to windows build of mod_cdr.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3100 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 06:30:15 +00:00
Michael Jerris 25273b6d9d add XmlCDR (like pddcdr, but xml format). Thanks ken for another great contribution.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3093 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 03:51:46 +00:00
Michael Jerris 3eb8ebd45c fix windows build from recent changes.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3091 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 01:28:29 +00:00
Michael Jerris f64ae18ac6 add endian defines on MSVC
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3088 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 01:21:17 +00:00
Anthony Minessale 930fc4dee4 fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3087 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 00:26:00 +00:00
Anthony Minessale 70bfba5b63 Christmas Presence
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3083 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-18 22:57:35 +00:00
Michael Jerris 56c9608c4d finish ani-ii name change.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3078 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-18 18:29:29 +00:00
Brian West 614010db63 Rename ani2 to aniii and ANI2 to ANI-II where appropriate. Because its not ANI2 its ANI II (eye eye)
What is ANI II ?

Refer to:

http://en.wikipedia.org/wiki/Automatic_number_identification

Thanks,
/b



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3073 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-17 23:33:32 +00:00
Michael Jerris 3b47c3e85c raise warning levels.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3069 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-17 03:45:51 +00:00
Michael Jerris 782725241f typo
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3068 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-17 03:41:05 +00:00
Anthony Minessale b01828b6a1 let * be end playback not hangup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3065 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-16 20:24:11 +00:00
Anthony Minessale 0e2a7c122c find missing ret = and put them back
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3064 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-16 19:56:42 +00:00
Michael Jerris 786cfc4557 Make error message more descriptive, and less antagonistic.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3060 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-16 16:06:44 +00:00
Michael Jerris b2ac3d1bdc add privacy application, thanks ken.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3059 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-16 15:04:54 +00:00
Anthony Minessale 438cf0327e rpid for sofia
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3058 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-16 04:39:00 +00:00
Michael Jerris d6f7158094 cast atoi returns.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3055 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-15 05:24:00 +00:00
Michael Jerris 4c795c3d1c update to new tarball for sofia
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3054 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-15 05:21:40 +00:00
Michael Jerris 7311675768 add tport_log redirect, fix typo.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3053 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-15 05:20:49 +00:00
Anthony Minessale 277ce65dca work in progress should not seem much different
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3052 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-15 05:10:34 +00:00
Anthony Minessale 4933582aad update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3051 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-15 04:44:33 +00:00
Anthony Minessale 4c386b1959 dont write nulls in event_socket
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3045 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-13 14:32:38 +00:00
Anthony Minessale a2b11dd93d in the name of interop
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3043 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-12 20:37:08 +00:00
Anthony Minessale efd246babd add auto-reply option to dingaling to allow the gateway bot to auto-reply to chat msgs recieved outside the context of a call
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3041 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-12 14:06:09 +00:00
Anthony Minessale e1125f336c udpate
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3037 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-12 02:26:20 +00:00
Anthony Minessale ba46200539 refactoring and general improvement (do a make sure)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3035 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-12 00:59:09 +00:00
Michael Jerris dfb9845d85 making the world a little less ugly, one commit at a time.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3026 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-10 12:00:22 +00:00
Anthony Minessale 691a8ac558 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3021 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-10 03:19:59 +00:00
Anthony Minessale ba984f35d7 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3020 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-10 02:16:29 +00:00
Anthony Minessale b1b18faa04 improve dingaling
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3019 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-10 00:11:41 +00:00
Anthony Minessale ed15d399a0 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3018 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-09 23:00:11 +00:00
Anthony Minessale 672842361b update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3017 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-09 22:46:51 +00:00
Michael Jerris 514a73bcb1 we don't need glib so disable it.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3016 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-09 21:53:39 +00:00
Michael Jerris 8651542608 force sdp to allways be in 200 OK regardless of 100rel and SDP O/A state. Some devices demand it (Cisco 5300 at least).
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3015 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-09 20:40:46 +00:00
Michael Jerris 21bb1bd2b0 update to new sofia tarball.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3014 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-09 20:13:12 +00:00
Michael Jerris 42f8237ed1 fix checks in new logger function.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3013 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-09 20:04:38 +00:00
Anthony Minessale ab65dab071 update sofia
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3012 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-09 19:30:54 +00:00
Anthony Minessale 8b4e110053 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3011 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-09 17:46:23 +00:00
Anthony Minessale 5efcd0d3ee update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3010 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-09 17:12:00 +00:00
Anthony Minessale 071e720f87 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3009 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-09 17:11:39 +00:00
Anthony Minessale dcdc0cdaac bug pointed out by stkn, thanks\!
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3008 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-09 14:47:36 +00:00
Anthony Minessale 6a96670267 refine code
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3006 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-09 02:24:43 +00:00
Anthony Minessale d44c204f5b fix goofy 183 madness
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3004 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-08 15:51:10 +00:00
Michael Jerris 3667da49b6 add description and syntax to interface database, add description and syntax headers to events for interface add for api and application interface, add appropriate output to show and help commands.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3003 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-08 08:35:27 +00:00
Michael Jerris e9af9e02fe make help an api command, still need to add syntax and descriptions to the db so we can output those as well.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3002 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-08 08:09:57 +00:00
Michael Jerris c822f94125 add syntax to api structures, use them for usage returns, do more checking on valid usage and cleanup some output of api commands.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3001 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-08 07:11:42 +00:00
Michael Jerris 2b53e80e34 add syntax field to the api interface struct.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3000 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-08 05:04:34 +00:00
Michael Jerris dd3cd99301 add more usage checking and return usage information on invalid usage of api commands.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2999 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-08 04:40:15 +00:00
Michael Jerris 3958734b85 switch_ivr_uuid_bridge make return SWITCH_STATUS_SUCESS on success.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2998 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-08 04:39:21 +00:00
Michael Jerris d95fdb0ccc type tweaks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2997 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-08 04:37:03 +00:00
Anthony Minessale bc7a378c4e Modify Originate input syntax
This adds the | to the originate syntax 
making it possible to put a list of urls to call and attempt
to call them one at a time until one of them is successful or there
are none of them left

The original & delimited list is valid for each step in the | separated
list

Example
sofia/test-int/3920@10.3.3.104|sofia/test-int/3910@10.3.3.104&sofia/test-int/3920@10.3.3.104

first call 1 location and if that results in a failure, try 2 at once on the next go



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2996 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-07 22:19:24 +00:00
Michael Jerris b9a350a40d update windows build to new sofia tarball
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2995 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-07 20:09:46 +00:00
Anthony Minessale 741b8329b9 Modifying the behaviour of the dialplan engine
the 'data' field in action tags may now refer to variables and api functions
to be expanded at runtime.

Syntax:

$varname
${varname}
&func_name(func args)


Exception:
variables that are numeric are still expanded at dialplan compile time based on the regex eg $1 $2 etc

Example:

<extension name="1000">
  <condition field="destination_number" expression="^(1000)$">
    <action appplication="my_route_app" data="$1"/>
    <action appplication="bridge" data="$destination"/>
  </condition>
</extension>

Here the $1 is ecaluated before the call begins setting it to 1000 based on the regex ^(1000)$
$destination is evaluated on the fly in execution once the my_route_app has run and has had a 
chance to set the variable 'destination' to the correct value.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2994 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-07 19:54:04 +00:00
Anthony Minessale 4ede7f7593 Update to new sofia snapshot, includes fixes for 100 on notify, and for sdp not in 200 after 183 when not using 100rel
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2993 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-07 18:54:29 +00:00
Anthony Minessale 0d23976f2a Insane amounts of yucky satanic code to make transfer and that kind of thing work.
Transfers work better when both legs of the call live in thier own channel eg bridged calls
A -> B where you want a to make B -> C

when you route a call to an IVR or playback app you are not really bridging you have
A all alone executing the script so it's hard to transfer that.

I do have it aparently working but it's goofy and you are better off
putting your IVR on it's own switch so they are all inbound calls
then you have A -> B -> IVR
now A can happily transfer B who can stay on line with IVR without stopping
the execution.  You can also accomplish this by calling in a loop back to the same box
if you dont want to have 2 boxes.


Also the beginning effort at bridging calls with no media is here
set this magic variable in your dialplan to convince mod_sofia
to pass A's sdp as it's own to B and return B's sdp back to A on 200 or 183

<action application="set" data="no_media=true"/>
<action application="bridge" data="sofia/id@host.com"/>

You will need a new sofia tarball for this version


There is a bunch of other odds and ends added like a function or 2 etc
Oh,

And don't be suprised if it introduces all kinds of bugs!



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2992 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-06 22:39:49 +00:00
Michael Jerris 0fbdfb60b4 update usage descriptions.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2983 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-05 20:49:09 +00:00