<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>se queda en espera hasta que uno cuelga efectivamente el colgadono sale te lo puedo poner pero es la accion que toma uno<br> <BR><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">Date: Tue, 22 Jan 2013 11:06:20 -0500<br>From: rabihbouorm@gmail.com<br>To: gustavoy@hotmail.com<br>CC: asterisk-r2@lists.digium.com<br>Subject: Re: [asterisk-r2] dtmf r2 Venezuela (Rabih Bou Orm)<br><br>
No veo que se cuelgue,
creo que no me enviaste el output completo... Te pedí esa configuración
porque en la llamada funcional saliente no se utilizó en ningún momento
DTMF y me tiene confundido eso. De allí tanta duda.<br>
<br>
Gustavo Yanes wrote:
<blockquote cite="mid:BAY002-W132EE143EFDC845D74737E2DB160@phx.gbl">
<style><!--
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:12pt;font-family:Calibri;}
--></style>
<div dir="ltr">Buenas anexo el resultado sin embargo veo que en la
configuracion que me enviaste esta desactivado el dtmf por lo que como
dice el log la llamada no sale..<br> <br>saludos<br> <br><br>[root@e1
asterisk]# tail -f /var/log/asterisk/full<br>[Jan 22 11:18:44]
VERBOSE[22405] res_agi.c: -- <SIP/151-00000000>AGI Script
hangup.agi completed, returning 0<br>[Jan 22 11:18:44] VERBOSE[22405]
pbx.c: -- Executing [s@macro-hangupcall:51]
Hangup("SIP/151-00000000", "") in new stack<br>[Jan 22 11:18:44]
VERBOSE[22405] app_macro.c: == Spawn extension (macro-hangupcall, s,
51) exited non-zero on 'SIP/151-00000000' in macro 'hangupcall'<br>[Jan
22 11:18:44] VERBOSE[22405] pbx.c: == Spawn extension (from-internal,
h, 1) exited non-zero on 'SIP/151-00000000'<br>[Jan 22 11:18:44]
DEBUG[22306] chan_dahdi.c: Chan 17 - Bits changed from 0x0C to 0x08<br>[Jan
22 11:18:44] DEBUG[22306] chan_dahdi.c: Chan 17 - CAS Rx <<
[IDLE] 0x08<br>[Jan 22 11:18:44] DEBUG[22306] chan_dahdi.c: Chan 17 -
Call ended<br>[Jan 22 11:18:44] DEBUG[22306] chan_dahdi.c: Chan 17 - CAS
Tx >> [IDLE] 0x08<br>[Jan 22 11:18:44] DEBUG[22306] chan_dahdi.c:
Chan 17 - CAS Raw Tx >> 0x09<br>[Jan 22 11:18:44] VERBOSE[22306]
chan_dahdi.c: MFC/R2 call end on channel 17<br>[Jan 22 11:19:01]
VERBOSE[22304] netsock2.c: == Using SIP RTP TOS bits 184<br>[Jan 22
11:19:01] VERBOSE[22304] netsock2.c: == Using SIP RTP CoS mark 5<br>[Jan
22 11:19:01] VERBOSE[22416] pbx.c: -- Executing
[92560819@from-internal:1] Macro("SIP/151-00000001",
"user-callerid,SKIPTTL,") in new stack<br>[Jan 22 11:19:01]
VERBOSE[22416] pbx.c: -- Executing [s@macro-user-callerid:1]
Set("SIP/151-00000001", "AMPUSER=151") in new stack<br>[Jan 22 11:19:01]
VERBOSE[22416] pbx.c: -- Executing [s@macro-user-callerid:2]
GotoIf("SIP/151-00000001", "0?report") in new stack<br>[Jan 22 11:19:01]
VERBOSE[22416] pbx.c: -- Executing [s@macro-user-callerid:3]
ExecIf("SIP/151-00000001", "1?Set(REALCALLERIDNUM=151)") in new stack<br>[Jan
22 11:19:01] VERBOSE[22416] pbx.c: -- Executing
[s@macro-user-callerid:4] Set("SIP/151-00000001", "AMPUSER=151") in new
stack<br>[Jan 22 11:19:01] VERBOSE[22416] pbx.c: -- Executing
[s@macro-user-callerid:5] Set("SIP/151-00000001", "AMPUSERCIDNAME=gus")
in new stack<br>[Jan 22 11:19:01] VERBOSE[22416] pbx.c: -- Executing
[s@macro-user-callerid:6] GotoIf("SIP/151-00000001", "0?report") in new
stack<br>[Jan 22 11:19:01] VERBOSE[22416] pbx.c: -- Executing
[s@macro-user-callerid:7] Set("SIP/151-00000001", "AMPUSERCID=151") in
new stack<br>[Jan 22 11:19:01] VERBOSE[22416] pbx.c: -- Executing
[s@macro-user-callerid:8] Set("SIP/151-00000001", "CALLERID(all)="gus"
<151>") in new stack<br>[Jan 22 11:19:01] VERBOSE[22416]
pbx.c: -- Executing [s@macro-user-callerid:9]
ExecIf("SIP/151-00000001", "0?Set(CHANNEL(language)=)") in new stack<br>[Jan
22 11:19:01] VERBOSE[22416] pbx.c: -- Executing
[s@macro-user-callerid:10] GotoIf("SIP/151-00000001", "1?continue") in
new stack<br>[Jan 22 11:19:01] VERBOSE[22416] pbx.c: -- Goto
(macro-user-callerid,s,19)<br>[Jan 22 11:19:01] VERBOSE[22416]
pbx.c: -- Executing [s@macro-user-callerid:19]
Set("SIP/151-00000001", "CALLERID(number)=151") in new stack<br>[Jan 22
11:19:01] VERBOSE[22416] pbx.c: -- Executing
[s@macro-user-callerid:20] Set("SIP/151-00000001", "CALLERID(name)=gus")
in new stack<br>[Jan 22 11:19:01] VERBOSE[22416] pbx.c: --
Executing [s@macro-user-callerid:21] NoOp("SIP/151-00000001", "Using
CallerID "gus" <151>") in new stack<br>[Jan 22 11:19:01]
VERBOSE[22416] pbx.c: -- Executing [92560819@from-internal:2]
NoOp("SIP/151-00000001", "Calling Out Route: 9_outside") in new stack<br>[Jan
22 11:19:01] VERBOSE[22416] pbx.c: -- Executing
[92560819@from-internal:3] Set("SIP/151-00000001", "_NODEST=") in new
stack<br>[Jan 22 11:19:01] VERBOSE[22416] pbx.c: -- Executing
[92560819@from-internal:4] Macro("SIP/151-00000001",
"record-enable,151,OUT,") in new stack<br>[Jan 22 11:19:01]
VERBOSE[22416] pbx.c: -- Executing [s@macro-record-enable:1]
GotoIf("SIP/151-00000001", "1?check") in new stack<br>[Jan 22 11:19:01]
VERBOSE[22416] pbx.c: -- Goto (macro-record-enable,s,4)<br>[Jan 22
11:19:01] VERBOSE[22416] pbx.c: -- Executing
[s@macro-record-enable:4] ExecIf("SIP/151-00000001", "0?MacroExit()") in
new stack<br>[Jan 22 11:19:01] VERBOSE[22416] pbx.c: -- Executing
[s@macro-record-enable:5] GotoIf("SIP/151-00000001", "0?Group:OUT") in
new stack<br>[Jan 22 11:19:01] VERBOSE[22416] pbx.c: -- Goto
(macro-record-enable,s,15)<br>[Jan 22 11:19:01] VERBOSE[22416]
pbx.c: -- Executing [s@macro-record-enable:15]
GotoIf("SIP/151-00000001", "0?IN") in new stack<br>[Jan 22 11:19:01]
VERBOSE[22416] pbx.c: -- Executing [s@macro-record-enable:16]
ExecIf("SIP/151-00000001", "1?MacroExit()") in new stack<br>[Jan 22
11:19:01] VERBOSE[22416] pbx.c: -- Executing
[92560819@from-internal:5] Macro("SIP/151-00000001",
"dialout-trunk,1,2560819,") in new stack<br>[Jan 22 11:19:01]
VERBOSE[22416] pbx.c: -- Executing [s@macro-dialout-trunk:1]
Set("SIP/151-00000001", "DIAL_TRUNK=1") in new stack<br>[Jan 22
11:19:01] VERBOSE[22416] pbx.c: -- Executing
[s@macro-dialout-trunk:2] GosubIf("SIP/151-00000001",
"0?sub-pincheck,s,1") in new stack<br>[Jan 22 11:19:01] VERBOSE[22416]
pbx.c: -- Executing [s@macro-dialout-trunk:3]
GotoIf("SIP/151-00000001", "0?disabletrunk,1") in new stack<br>[Jan 22
11:19:01] VERBOSE[22416] pbx.c: -- Executing
[s@macro-dialout-trunk:4] Set("SIP/151-00000001", "DIAL_NUMBER=2560819")
in new stack<br>[Jan 22 11:19:01] VERBOSE[22416] pbx.c: --
Executing [s@macro-dialout-trunk:5] Set("SIP/151-00000001",
"DIAL_TRUNK_OPTIONS=tr") in new stack<br>[Jan 22 11:19:01]
VERBOSE[22416] pbx.c: -- Executing [s@macro-dialout-trunk:6]
Set("SIP/151-00000001", "OUTBOUND_GROUP=OUT_1") in new stack<br>[Jan 22
11:19:01] VERBOSE[22416] pbx.c: -- Executing
[s@macro-dialout-trunk:7] GotoIf("SIP/151-00000001", "1?nomax") in new
stack<br>[Jan 22 11:19:01] VERBOSE[22416] pbx.c: -- Goto
(macro-dialout-trunk,s,9)<br>[Jan 22 11:19:01] VERBOSE[22416] pbx.c:
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/151-00000001",
"0?skipoutcid") in new stack<br>[Jan 22 11:19:01] VERBOSE[22416]
pbx.c: -- Executing [s@macro-dialout-trunk:10]
Set("SIP/151-00000001", "DIAL_TRUNK_OPTIONS=") in new stack<br>[Jan 22
11:19:01] VERBOSE[22416] pbx.c: -- Executing
[s@macro-dialout-trunk:11] Macro("SIP/151-00000001",
"outbound-callerid,1") in new stack<br>[Jan 22 11:19:01] VERBOSE[22416]
pbx.c: -- Executing [s@macro-outbound-callerid:1]
ExecIf("SIP/151-00000001", "0?Set(CALLERPRES()=)") in new stack<br>[Jan
22 11:19:01] VERBOSE[22416] pbx.c: -- Executing
[s@macro-outbound-callerid:2] ExecIf("SIP/151-00000001",
"0?Set(REALCALLERIDNUM=151)") in new stack<br>[Jan 22 11:19:01]
VERBOSE[22416] pbx.c: -- Executing [s@macro-outbound-callerid:3]
GotoIf("SIP/151-00000001", "1?normcid") in new stack<br>[Jan 22
11:19:01] VERBOSE[22416] pbx.c: -- Goto
(macro-outbound-callerid,s,6)<br>[Jan 22 11:19:01] VERBOSE[22416]
pbx.c: -- Executing [s@macro-outbound-callerid:6]
Set("SIP/151-00000001", "USEROUTCID=") in new stack<br>[Jan 22 11:19:01]
VERBOSE[22416] pbx.c: -- Executing [s@macro-outbound-callerid:7]
Set("SIP/151-00000001", "EMERGENCYCID=") in new stack<br>[Jan 22
11:19:01] VERBOSE[22416] pbx.c: -- Executing
[s@macro-outbound-callerid:8] Set("SIP/151-00000001",
"TRUNKOUTCID=9557211") in new stack<br>[Jan 22 11:19:01] VERBOSE[22416]
pbx.c: -- Executing [s@macro-outbound-callerid:9]
GotoIf("SIP/151-00000001", "1?trunkcid") in new stack<br>[Jan 22
11:19:01] VERBOSE[22416] pbx.c: -- Goto
(macro-outbound-callerid,s,12)<br>[Jan 22 11:19:01] VERBOSE[22416]
pbx.c: -- Executing [s@macro-outbound-callerid:12]
ExecIf("SIP/151-00000001", "1?Set(CALLERID(all)=9557211)") in new stack<br>[Jan
22 11:19:01] VERBOSE[22416] pbx.c: -- Executing
[s@macro-outbound-callerid:13] ExecIf("SIP/151-00000001",
"0?Set(CALLERID(all)=)") in new stack<br>[Jan 22 11:19:01]
VERBOSE[22416] pbx.c: -- Executing [s@macro-outbound-callerid:14]
ExecIf("SIP/151-00000001", "0?Set(CALLERID(all)=)") in new stack<br>[Jan
22 11:19:01] VERBOSE[22416] pbx.c: -- Executing
[s@macro-outbound-callerid:15] ExecIf("SIP/151-00000001",
"0?Set(CALLERPRES()=prohib_passed_screen)") in new stack<br>[Jan 22
11:19:01] VERBOSE[22416] pbx.c: -- Executing
[s@macro-dialout-trunk:12] GosubIf("SIP/151-00000001",
"0?sub-flp-1,s,1") in new stack<br>[Jan 22 11:19:01] VERBOSE[22416]
pbx.c: -- Executing [s@macro-dialout-trunk:13]
Set("SIP/151-00000001", "OUTNUM=2560819") in new stack<br>[Jan 22
11:19:01] VERBOSE[22416] pbx.c: -- Executing
[s@macro-dialout-trunk:14] Set("SIP/151-00000001", "custom=DAHDI/g0") in
new stack<br>[Jan 22 11:19:01] VERBOSE[22416] pbx.c: -- Executing
[s@macro-dialout-trunk:15] ExecIf("SIP/151-00000001",
"0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^))") in new stack<br>[Jan 22
11:19:01] VERBOSE[22416] pbx.c: -- Executing
[s@macro-dialout-trunk:16] Macro("SIP/151-00000001",
"dialout-trunk-predial-hook,") in new stack<br>[Jan 22 11:19:01]
VERBOSE[22416] pbx.c: -- Executing
[s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/151-00000001", "")
in new stack<br>[Jan 22 11:19:01] VERBOSE[22416] pbx.c: --
Executing [s@macro-dialout-trunk:17] GotoIf("SIP/151-00000001",
"0?bypass,1") in new stack<br>[Jan 22 11:19:01] VERBOSE[22416]
pbx.c: -- Executing [s@macro-dialout-trunk:18]
GotoIf("SIP/151-00000001", "0?customtrunk") in new stack<br>[Jan 22
11:19:01] VERBOSE[22416] pbx.c: -- Executing
[s@macro-dialout-trunk:19] Dial("SIP/151-00000001",
"DAHDI/g0/2560819,300,") in new stack<br>[Jan 22 11:19:01] DEBUG[22416]
chan_dahdi.c: Chan 17 - Requested to make call (ANI=9557211,
DNIS=2560819, category=National Subscriber)<br>[Jan 22 11:19:01]
DEBUG[22416] chan_dahdi.c: Chan 17 - Call started at Tue Jan 22 11:19:01
2013 on chan 17 [openr2 version 1.3.1, revision exported]<br>[Jan 22
11:19:01] DEBUG[22416] chan_dahdi.c: Chan 17 - Outgoing call proceeding:
ANI=9557211, DNIS=2560819, Category=National Subscriber<br>[Jan 22
11:19:01] DEBUG[22416] chan_dahdi.c: Chan 17 - CAS Tx >> [SEIZE]
0x00<br>[Jan 22 11:19:01] DEBUG[22416] chan_dahdi.c: Chan 17 - CAS Raw
Tx >> 0x01<br>[Jan 22 11:19:01] VERBOSE[22416] app_dial.c: --
Called DAHDI/g0/2560819<br>[Jan 22 11:19:02] DEBUG[22416] chan_dahdi.c:
bits changed in chan 17<br>[Jan 22 11:19:02] DEBUG[22416] chan_dahdi.c:
Chan 17 - Bits changed from 0x08 to 0x0C<br>[Jan 22 11:19:02]
DEBUG[22416] chan_dahdi.c: Chan 17 - CAS Rx << [SEIZE ACK] 0x0C<br>[Jan
22 11:19:02] DEBUG[22416] chan_dahdi.c: Chan 17 - MFC/R2 call
acknowledge!<br>[Jan 22 11:19:02] DEBUG[22416] chan_dahdi.c: Chan 17 -
Sending DNIS digit 2<br>[Jan 22 11:19:02] DEBUG[22416] chan_dahdi.c:
Chan 17 - MF Tx >> 2 [ON]<br><br> <br><div>> Date: Mon, 21 Jan
2013 16:21:10 -0500<br>> From: <a class="ecxmoz-txt-link-abbreviated" href="mailto:rabihbouorm@gmail.com">rabihbouorm@gmail.com</a><br>> To:
<a class="ecxmoz-txt-link-abbreviated" href="mailto:gustavoy@hotmail.com">gustavoy@hotmail.com</a><br>> Subject: Re: [asterisk-r2] dtmf r2
Venezuela (Rabih Bou Orm)<br>> <br>> Gustavo,<br>> <br>>
Puedes por favor intentar lo siguiente:<br>> <br>> group=1<br>>
signalling=mfcr2<br>> mfcr2_dtmf_detection=0<br>>
mfcr2_dtmf_dialing=0<br>> mfcr2_variant=ve<br>>
mfcr2_get_ani_first=yes<br>> mfcr2_max_ani=10<br>>
mfcr2_max_dnis=4<br>> mfcr2_category=national_subscriber<br>>
mfcr2_logdir=log<br>> mfcr2_logging=all<br>> mfcr2_call_files=yes<br>>
mfcr2_mfback_timeout=-1<br>> mfcr2_metering_pulse_timeout=-1<br>>
channel => 1-15<br>> <br>> group=0<br>> signalling=mfcr2<br>>
mfcr2_dtmf_detection=0<br>> mfcr2_dtmf_dialing=0<br>>
mfcr2_variant=ve<br>> mfcr2_get_ani_first=yes<br>>
mfcr2_max_ani=10<br>> mfcr2_max_dnis=4<br>>
mfcr2_category=national_subscriber<br>> mfcr2_logdir=log<br>>
mfcr2_logging=all<br>> mfcr2_call_files=yes<br>>
mfcr2_mfback_timeout=-1<br>> mfcr2_metering_pulse_timeout=-1<br>>
channel => 17-31<br>> <br>> <br>> Y validar que sucede?
Sea cual sea el resultado de una llamada <br>> saliente, copiame el
output de tail -f /var/log/asterisk/full<br>> Gustavo Yanes wrote:<br>>
> group=0<br>> > signalling=mfcr2<br>> >
mfcr2_dtmf_detection=1<br>> > mfcr2_dtmf_dialing=1<br>> >
mfcr2_variant=ve<br>> > mfcr2_get_ani_first=yes<br>> >
mfcr2_max_ani=10<br>> > mfcr2_max_dnis=4<br>> >
mfcr2_category=national_subscriber<br>> > mfcr2_logdir=log<br>>
> mfcr2_logging=all<br>> > mfcr2_call_files=yes<br>> >
mfcr2_mfback_timeout=-1<br>> > mfcr2_metering_pulse_timeout=-1<br>>
> channel => 1-15<br>> > channel => 17-31<br></div>                          
                 </div>
</blockquote></div>                                            </div></body>
</html>