[asterisk-users] Semi-Transfer

Danny Nicholas
Tue, 02 Feb 2010 20:13:22 -0000

You might also consider the DISA command instead of Dial.



  _____

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of James A.
Shigley
Sent: Tuesday, February 02, 2010 2:02 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] Semi-Transfer



There are times when I need to call a client from my cell and I want a
recording of the call. I was trying to put into an * a way of doing that.
Below is what I'm using in my extensions.conf



exten=>
X,1,Read(num,"/var/lib/asterisk/sounds/mtas/10digit",10,,,5)

exten=> X,2,SayDigits(${num})

exten=> X,3,Background(/var/lib/asterisk/sounds/mtas/verify)

exten=> X,4,WaitExten(3)

exten=>
X,5,Monitor(wav,/var/store/calls/InOutRec-${STRFTIME(${EPOCH},,%Y%m%d-%H%M%S
)}-${CALLERID(num)}-${EXTEN},mb)

exten=> X,6,dial(${belltd}/${num})





Here is what I see in the CMD when the dial fails



-- Timeout on DAHDI/52-1, continuing...

    -- Executing [XXXXXXXXXX at RecOut:5] Monitor("DAHDI/52-1",
"wav,/var/store/calls/InOutRec-20100202-133012-XXXXXXXXXX-XXXXXXXXXX,mb")
in
new stack

    -- Executing [XXXXXXXXXX @RecOut:6] Dial("DAHDI/52-1",
"DAHDI/G3/4099819750") in new stack

    -- Requested transfer capability: 0x00 - SPEECH

    -- Called G3/4099819750

== Everyone is busy/congested at this time (1:0/0/1)

    -- Auto fallthrough, channel 'DAHDI/52-1' status is
'CHANUNAVAIL'

    -- Hungup 'DAHDI/52-1'





Now all of my lines are NOT ties up so there is available paths for the call
to go out.



Anyway so how would I accomplish this transfer of sorts?

James Shigley

Monroe Telephone Answering Service

409-981-9750

Infinity 5.51,UC 4.02.3803, Blink 3.0.104

Ecreator:2.21, eResponse 1.1.7

Webportal,WebApps,



CONFIDENTIALITY NOTICE: This email, including any attachments, contains
information which may be confidential or privileged. The information =is
intended to be for the use of the individual or entity named above. If you
are not the intended recipient, be aware that any disclosure, copying,
distribution or use of the contents of this information is prohibited. If
you have received this email in error, please notify the sender immediately
by "reply to sender only" message and destroy all electronic and hard
copies
of the communication, including attachments.



cid:image003.png at 01C9F268.65A4F5C0

Side Note: I am James, Jim is my future father in law!



-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20100202/d192be45/attachment-0001.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 5478 bytes
Desc: not available