<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Hi Martin,<br>
<br>
I don't think I have any playback of answers in my extension. Please,
check the following exten.conf:<br>
<br>
[default]<br>
exten =&gt; _X.,1,SetVar(VCOL=20)<br>
exten =&gt; _X.,2,SetVar(VPRL=0)<br>
exten =&gt; _X.,3,SetVar(VDIG=0${EXTEN})<br>
exten =&gt; _X.,4,SetCIDNum(123456|a)<br>
exten =&gt; _X.,5,Wait(1)<br>
exten =&gt; _X.,6,Goto(dial,s,1)<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<br>
[dial]<br>
exten =&gt; s,1,ResetCDR()<br>
exten =&gt; s,2,Dial(<a class="moz-txt-link-abbreviated" href="mailto:IAX2/teste@192.168.110.2/${DIG">IAX2/teste@192.168.110.2/${DIG</a>})<br>
exten =&gt; s,3,Busy<br>
<pre wrap="">
</pre>
Thanks in advance,<br>
<br>
Daniel<br>
<br>
<br>
Martin Pycko wrote:<br>
<blockquote type="cite"
 cite="midPine.LNX.4.33.0403171213210.23321-100000@hoochie">
  <pre wrap="">If you have playback first before dialing the right extension on the other
side then that's why you have the call answered right away ...

Also voicemail answers and many other applications.

Martin

On Tue, 16 Mar 2004, Daniel Bichara wrote:

  </pre>
  <blockquote type="cite">
    <pre wrap="">Hi All,

I have posted before asking for a Connect message sent from Zap
(ISDN/PRI - by *) when receiving a call (incoming) and dialing to
another extension. To clarify the situation, I will describe the problem:

1) My * box is connect to a Cisco (E1-ISDN/PRI) using a crosscable.

2) Sending a call (outbound) to Cisco, I receive Q931 "Connect (15)"
message from Cisco only after the other side answer.

3) Receiving a call (inbound) from Cisco, I call an extension at another
* connected via IAX2:

X.,1,Dial(<a class="moz-txt-link-abbreviated" href="mailto:IAX2/teste@192.168.110.2/${EXTEN">IAX2/teste@192.168.110.2/${EXTEN</a>})

Before the other side (${EXTEN} at 192.168.110.2) answer, * sends a Q931 "Connect (15)" message to Cisco and it starts billing the call.

Cisco bills even if no one answer the other side or if its busy.

I tried to setup "overlapdial=yes" at Zapata.conf but E1 disconnects by "Timeout" (T_313 expires - 4secs) before IAX2 complete the call.

I noticed I get a message: "Progress Description: Called equipament is non-ISDN" from "pri debug span". Is that correct?

    </pre>
    <blockquote type="cite">
      <pre wrap="">Protocol Discriminator: Q.931 (8)  len=14
Call Ref: len= 2 (reference 32770/0x8002) (Terminator)
Message type: CONNECT (7)
Channel ID (len= 5) [ Ext: 1  IntID: Implicit, PRI Spare: 0, Exclusive Dchan:
      </pre>
    </blockquote>
    <pre wrap="">0
    </pre>
    <blockquote type="cite">
      <pre wrap="">                       ChanSel: Reserved
                      Ext: 1  Coding: 0   Number Specified   Channel Type: 3
                      Ext: 1  Channel: 1 ]
Progress Indicator (len= 2) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0
      </pre>
    </blockquote>
    <pre wrap="">Location: Private network serving the local user (1)
    </pre>
    <blockquote type="cite">
      <pre wrap="">                              Ext: 1  Progress Description: Called equipment i
      </pre>
    </blockquote>
    <pre wrap="">s non-ISDN. (2) ]
    -- IAX2[192.168.110.2:4569]/1 stopped sounds
    -- IAX2[192.168.110.2:4569]/1 is ringing


Any clue? Thanks in advance.

Daniel Bichara


_______________________________________________
Asterisk-Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Asterisk-Users@lists.digium.com">Asterisk-Users@lists.digium.com</a>
<a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a>
To UNSUBSCRIBE or update options visit:
   <a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a>

    </pre>
  </blockquote>
  <pre wrap=""><!---->
_______________________________________________
Asterisk-Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Asterisk-Users@lists.digium.com">Asterisk-Users@lists.digium.com</a>
<a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a>
To UNSUBSCRIBE or update options visit:
   <a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a>


  </pre>
</blockquote>
</body>
</html>