Commit Graph

126 Commits

Author SHA1 Message Date
paulc 46210b8032 As much as possible process messages in external scripts after acknowledging them.
git-svn-id: http://voip.null.ro/svn/yate@4398 acf43c95-373e-0410-b603-e72c3f656dc1
2011-05-19 14:40:26 +00:00
paulc 24fb729730 Added support for interdigit timer in overlapped dialer.
git-svn-id: http://voip.null.ro/svn/yate@4395 acf43c95-373e-0410-b603-e72c3f656dc1
2011-05-19 11:18:22 +00:00
paulc ced1af252b Added capability of handling SIP PUBLISH method in PHP features script.
git-svn-id: http://voip.null.ro/svn/yate@4354 acf43c95-373e-0410-b603-e72c3f656dc1
2011-05-04 09:33:42 +00:00
paulc 31409f1419 Accept subscription requests that have no Accept: header, assume NOTIFY body will be accepted anyway.
git-svn-id: http://voip.null.ro/svn/yate@4112 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-15 16:30:19 +00:00
paulc 4df6bf1b6f Propagate the final errors back to the channel doing overlapped dialing.
git-svn-id: http://voip.null.ro/svn/yate@4039 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-19 10:14:09 +00:00
marian 1978cacf2e Set the 'noroute' prompt on incomplete route if used only to route a call to avoid terminating the script otherwise. Use a tone language if specified in routing.
git-svn-id: http://voip.null.ro/svn/yate@4036 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-18 12:15:37 +00:00
paulc 75715da314 Added script to provide ringback when not provided by the called party.
git-svn-id: http://voip.null.ro/svn/yate@3813 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-12 18:27:36 +00:00
marian d236762fc1 Support receiving overlapped dialing on ISUP.
Send extra Called Party Number digits in a SAM message.
The overlapped dialing script accepts an initial number.
Merged branch paulc/pstn -c 3485


git-svn-id: http://voip.null.ro/svn/yate@3493 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-21 18:34:01 +00:00
paulc 6e23c56d28 Spelling cleanup of a very common error: Retrive -> Retrieve
git-svn-id: http://voip.null.ro/svn/yate@3371 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-11 11:25:10 +00:00
marian ce8bee0616 Set the expires header in sip subscribe response.
git-svn-id: http://voip.null.ro/svn/yate@3359 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-02 14:59:44 +00:00
monica 37df8e12b0 Added operations recstop and play_recstop in operations table and functions that implement them.
git-svn-id: http://voip.null.ro/svn/yate@3356 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-31 13:32:42 +00:00
paulc 6a21720af1 Added ability to trigger IVR action on state change.
Added example for ":state" matching.


git-svn-id: http://voip.null.ro/svn/yate@3353 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-31 12:51:38 +00:00
paulc d6cbb67488 Do not create CDR entries for the queue-incoming script.
git-svn-id: http://voip.null.ro/svn/yate@3293 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-06 12:35:02 +00:00
paulc 1f69318002 Use long open tags in all PHP scripts.
git-svn-id: http://voip.null.ro/svn/yate@3195 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-14 15:37:17 +00:00
paulc 93f04c937c Added variable $caller that was used in a debugging message but not defined.
git-svn-id: http://voip.null.ro/svn/yate@3179 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-12 08:07:33 +00:00
paulc 83d29c516c The echo script can play a prompt before starting to echo back voice.
git-svn-id: http://voip.null.ro/svn/yate@3102 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-02 22:52:31 +00:00
maciej deafaa3d61 yaypm.utils.outgoing works with forks now
git-svn-id: http://voip.null.ro/svn/yate@3052 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-01 13:29:19 +00:00
paulc 96c0be6a7d The decision to use stderr or extmodule's %%>output for debugging PHP can be overriden via Yate::Output(boolean).
git-svn-id: http://voip.null.ro/svn/yate@2997 acf43c95-373e-0410-b603-e72c3f656dc1
2009-12-21 12:00:34 +00:00
paulc eb9e97071b Parameter "ivrchanid" allows setting a specific ID of a libyateivr channel.
Fixed some spurious blanks.


git-svn-id: http://voip.null.ro/svn/yate@2878 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-02 01:10:46 +00:00
diana 4f61d90e54 Bugfix: Ignore notify if reason is replaced
git-svn-id: http://voip.null.ro/svn/yate@2848 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-21 14:10:44 +00:00
paulc 86b791f46d Added handy PlayDTMF method and table operation n IVR library.
Added example of use of dtmf operation in a IVR sample.


git-svn-id: http://voip.null.ro/svn/yate@2820 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-02 14:18:58 +00:00
maciej f533d50ac8 utils.outgoing result changed
git-svn-id: http://voip.null.ro/svn/yate@2757 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-13 17:02:55 +00:00
paulc fe7cec640c Added sample PHP external resolver script, allows blacklisting IP addresses of failed SIP gateways.
git-svn-id: http://voip.null.ro/svn/yate@2718 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-17 15:39:17 +00:00
paulc 6198830e6e Prevent creation of undesired CDR records when answering incoming calls.
git-svn-id: http://voip.null.ro/svn/yate@2664 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-31 10:11:07 +00:00
paulc 7773f34bb6 Handle overlapped dialer routing errors properly and print a message.
git-svn-id: http://voip.null.ro/svn/yate@2610 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-05 08:37:10 +00:00
paulc 2f8fb3dc59 Use Yate::Debug instead of commented out Yate::Output to simplify activating the debug output in just one place.
git-svn-id: http://voip.null.ro/svn/yate@2575 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-13 11:50:27 +00:00
marian 64ac34a375 Added queue_in.php and queue_out.php scripts.
git-svn-id: http://voip.null.ro/svn/yate@2558 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-02 11:26:19 +00:00
paulc 3d54351315 Do not autoanswer if an analog or BRI goes off-hook.
Put the proper dial tones (and silences).


git-svn-id: http://voip.null.ro/svn/yate@2504 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-02 18:49:45 +00:00
maciej a71576ed79 logging added to Resource play method
git-svn-id: http://voip.null.ro/svn/yate@2470 acf43c95-373e-0410-b603-e72c3f656dc1
2009-02-04 11:22:18 +00:00
paulc 54f1c8c7b8 Check that queued call leg is still present when call leg to operator starts.
git-svn-id: http://voip.null.ro/svn/yate@2458 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-29 20:04:08 +00:00
paulc 9440e36154 Copy the "mohlist" parameter to chan.attach message if source is a MOH.
git-svn-id: http://voip.null.ro/svn/yate@2456 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-27 13:25:39 +00:00
maciej 9ce9ab158d resource dtmf handling improved
git-svn-id: http://voip.null.ro/svn/yate@2454 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-23 13:03:14 +00:00
paulc 686a7d4dee Hang up queue operator call leg when incoming call is picked up.
git-svn-id: http://voip.null.ro/svn/yate@2452 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-22 16:32:59 +00:00
paulc d5689976c4 Added link to sound files tarball.
git-svn-id: http://voip.null.ro/svn/yate@2443 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-18 20:05:42 +00:00
paulc fbe966453b Added sample script that allows picking up a call ringing on an extension.
git-svn-id: http://voip.null.ro/svn/yate@2409 acf43c95-373e-0410-b603-e72c3f656dc1
2008-12-19 20:56:46 +00:00
maciej 0cd3379746 loging format moved into parameters, random targetid for resources
git-svn-id: http://voip.null.ro/svn/yate@2374 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-27 15:59:09 +00:00
paulc de737d665d Added pike library and examples by Marc Dirix <marc@electronics-design.nl>
git-svn-id: http://voip.null.ro/svn/yate@2256 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-10 16:22:14 +00:00
maciej 2b8270b147 keyecho examples updated
git-svn-id: http://voip.null.ro/svn/yate@2249 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-02 15:51:06 +00:00
maciej ce68788671 Better outgoing call failure, sleep until parameter causes AbandonedException
git-svn-id: http://voip.null.ro/svn/yate@2240 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-24 13:21:35 +00:00
paulc ef6737aabe Forward the "billid" parameter through the call queue.
git-svn-id: http://voip.null.ro/svn/yate@2180 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-03 13:36:40 +00:00
paulc dd6e4a30fa Added dialout sample scripts.
git-svn-id: http://voip.null.ro/svn/yate@2142 acf43c95-373e-0410-b603-e72c3f656dc1
2008-08-05 13:33:32 +00:00
paulc fc7081c687 Use IVR name as default for registered class name.
git-svn-id: http://voip.null.ro/svn/yate@2134 acf43c95-373e-0410-b603-e72c3f656dc1
2008-08-03 20:49:31 +00:00
paulc d612da3632 Added PBX/IVR dialer and tester sample.
git-svn-id: http://voip.null.ro/svn/yate@2091 acf43c95-373e-0410-b603-e72c3f656dc1
2008-07-23 17:04:07 +00:00
maciej 3c7d1c3138 examples readded
git-svn-id: http://voip.null.ro/svn/yate@2048 acf43c95-373e-0410-b603-e72c3f656dc1
2008-07-02 13:45:29 +00:00
maciej 9ef8616f9a INSTALL renamed.
git-svn-id: http://voip.null.ro/svn/yate@2047 acf43c95-373e-0410-b603-e72c3f656dc1
2008-07-02 13:44:19 +00:00
maciej f4e9518b1d Directory structure reorganization for distutils.
git-svn-id: http://voip.null.ro/svn/yate@2046 acf43c95-373e-0410-b603-e72c3f656dc1
2008-07-02 13:37:27 +00:00
maciej 6eb20497ba INSTALL renamed, examples __init__.py added.
git-svn-id: http://voip.null.ro/svn/yate@2045 acf43c95-373e-0410-b603-e72c3f656dc1
2008-07-02 13:33:08 +00:00
paulc bb4cd6bf34 Added comments to IVR sample.
git-svn-id: http://voip.null.ro/svn/yate@2044 acf43c95-373e-0410-b603-e72c3f656dc1
2008-07-01 19:37:49 +00:00
paulc 8df9aac66a Convert PHP boolean parameters to proper string format before escaping.
git-svn-id: http://voip.null.ro/svn/yate@2042 acf43c95-373e-0410-b603-e72c3f656dc1
2008-06-30 17:09:22 +00:00
paulc 018b1ed803 Made the SIP features script autorestartable.
git-svn-id: http://voip.null.ro/svn/yate@2023 acf43c95-373e-0410-b603-e72c3f656dc1
2008-06-11 14:40:41 +00:00
paulc 84e29e323c Fixed and simplified logic, reduced debugging clutter.
git-svn-id: http://voip.null.ro/svn/yate@2021 acf43c95-373e-0410-b603-e72c3f656dc1
2008-06-11 11:13:52 +00:00
paulc 990ea49352 Handle the case when the queue outbound call leg failed to start.
git-svn-id: http://voip.null.ro/svn/yate@2020 acf43c95-373e-0410-b603-e72c3f656dc1
2008-06-11 10:44:19 +00:00
paulc 97ebfaa5fa Accept PHP bool values for Yate::SetLocal.
git-svn-id: http://voip.null.ro/svn/yate@2019 acf43c95-373e-0410-b603-e72c3f656dc1
2008-06-11 10:21:00 +00:00
maciej a694c85710 Outgoing call failure reporting.
git-svn-id: http://voip.null.ro/svn/yate@2013 acf43c95-373e-0410-b603-e72c3f656dc1
2008-06-04 12:28:55 +00:00
paulc 3873152ece Added usage mode in comments.
git-svn-id: http://voip.null.ro/svn/yate@1997 acf43c95-373e-0410-b603-e72c3f656dc1
2008-05-27 13:54:55 +00:00
maciej adc7d0a05e Flow module removed. inlinecallbacks should be used. Won't work in python < 2.5, who cares.
git-svn-id: http://voip.null.ro/svn/yate@1987 acf43c95-373e-0410-b603-e72c3f656dc1
2008-05-16 16:12:49 +00:00
paulc ccc0cf7506 Use Setparam instead of assigning to params, clarify required priority.
git-svn-id: http://voip.null.ro/svn/yate@1883 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-09 15:23:53 +00:00
maciej 21b509da28 default ports restored
git-svn-id: http://voip.null.ro/svn/yate@1874 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-03 14:27:01 +00:00
maciej c5a347ffac YAYPM update.
git-svn-id: http://voip.null.ro/svn/yate@1873 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-03 14:14:19 +00:00
paulc 969badc650 Fixed two typos in OnNotify().
git-svn-id: http://voip.null.ro/svn/yate@1869 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-01 13:05:22 +00:00
paulc ac147815c0 Added non-wave chan.notify handler.
Channel ID can be set but not later than first event handler.


git-svn-id: http://voip.null.ro/svn/yate@1867 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-01 10:06:42 +00:00
paulc a87e4cd2a5 Flush stdout when Acknowledge()ing a message.
git-svn-id: http://voip.null.ro/svn/yate@1846 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-26 13:53:10 +00:00
paulc a55f962de9 Fixed escaping of colon character.
git-svn-id: http://voip.null.ro/svn/yate@1841 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-25 09:29:55 +00:00
paulc 5763ff4db2 Fixed typo.
git-svn-id: http://voip.null.ro/svn/yate@1792 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-17 19:23:13 +00:00
paulc d2970337db Install the newly added libyateivr.php
git-svn-id: http://voip.null.ro/svn/yate@1791 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-17 19:07:09 +00:00
paulc 591f0ed183 The call.execute and chan.disconnected messages are propagated on stack.
Made a variadic PlayFile that can receive a list of files to play.


git-svn-id: http://voip.null.ro/svn/yate@1790 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-17 13:47:36 +00:00
paulc 80c37080bc Filter out wave replaced notifications, added tone playing.
Added more comments.


git-svn-id: http://voip.null.ro/svn/yate@1789 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-17 12:51:03 +00:00
paulc 938ff4f47b Implemented table based operations and multi file play.
git-svn-id: http://voip.null.ro/svn/yate@1786 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-16 17:18:58 +00:00
paulc 6bb7ef75f5 Added object oriented IVR library and sample.
git-svn-id: http://voip.null.ro/svn/yate@1777 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-13 10:40:10 +00:00
monica 6f9b570cfc Made function to allow different ways of holding the voicemail files
git-svn-id: http://voip.null.ro/svn/yate@1752 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-10 17:11:55 +00:00
maciej ce392d6aff test commit
git-svn-id: http://voip.null.ro/svn/yate@1745 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-05 11:43:24 +00:00
paulc 0bf45dc432 Fixed parameters transfer, added queue assist scripts.
git-svn-id: http://voip.null.ro/svn/yate@1707 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-30 19:46:09 +00:00
paulc eed97ee954 Added example of using SetLocal to query engine run parameters.
git-svn-id: http://voip.null.ro/svn/yate@1666 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-24 11:52:28 +00:00
paulc b7b32fa03e Reverted to hardcoded relative paths because top_builddir is not portable
across autoconf versions.


git-svn-id: http://voip.null.ro/svn/yate@1484 acf43c95-373e-0410-b603-e72c3f656dc1
2007-11-23 14:14:54 +00:00
paulc d32c220960 Directory reorder #3
git-svn-id: http://voip.null.ro/svn/yate@1476 acf43c95-373e-0410-b603-e72c3f656dc1
2007-11-15 23:06:36 +00:00
paulc 0a3b86d8f4 Directory reorder #1
git-svn-id: http://voip.null.ro/svn/yate@1474 acf43c95-373e-0410-b603-e72c3f656dc1
2007-11-15 22:08:39 +00:00