[prev in list] [next in list] [prev in thread] [next in thread] 

List:       asterisk-dev
Subject:    Re: [asterisk-dev] Reject incoming call
From:       bala murugan <fightwithme () gmail ! com>
Date:       2015-02-12 11:44:31
Message-ID: CAJQn6_zwDdWfCKykFsvVfYE5EHWVE4fOrdh-3qCNb9zQbpUFWw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Who is responsible to answer ??
On Feb 12, 2015 6:05 AM, "Raj Roy Ghandhi" <roy.gandhi@gmail.com> wrote:

> Hi Friends,
>
> I am trying to implement a simple dial plan with asterisk.
> 1. Ring the inbound call
> 2. wait for 2 seconds
> 3. call agi script with cli
> 4. hangup
>
> But when it gets hangup I see the Declined is passed from the asterisk.
> But my PSTN provider keep waiting in dialing state with no noise until 60
> seconds.
>
> any idea what I have done wrong.
>
> here is my dial plan
>
> exten => 01XXXX,1,Ringing()
> exten => 01XXXX,2,Wait(2)
> exten =>
> 01XXXX,3,Set(vxmlurl=http%3A%2F%2F127.0.0.1:8080%2Ftest%2Findex.jsp?ani=${CALLERID(num)})
> exten => 01XXXX,4,Agi(agi://127.0.0.1/url=${vxmlurl}
> <http://127.0.0.1/url=$%7Bvxmlurl%7D>)
> exten => 01XXXX,5,Hangup()
>
> Please advice,
>
> Best Regards,
> Roy.
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev
>

[Attachment #5 (text/html)]

<p dir="ltr">Who is responsible to answer ??</p>
<div class="gmail_quote">On Feb 12, 2015 6:05 AM, &quot;Raj Roy Ghandhi&quot; &lt;<a \
href="mailto:roy.gandhi@gmail.com">roy.gandhi@gmail.com</a>&gt; wrote:<br \
type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi \
Friends,<div><br><div>I am trying to implement a simple dial plan with \
asterisk.</div><div>1. Ring the inbound call</div><div>2. wait for 2 \
seconds</div><div>3. call agi script with cli</div><div>4. \
hangup</div><div><br></div><div>But when it gets hangup I see the Declined is passed \
from the asterisk.</div><div>But my PSTN provider keep waiting in dialing state with \
no noise until 60 seconds.</div><div><br></div><div>any idea what I have done \
wrong.</div><div><br></div><div>here is my dial \
plan</div><div><br></div><div><div>exten =&gt; 01XXXX,1,Ringing()</div><div>exten \
=&gt; 01XXXX,2,Wait(2)</div><div>exten =&gt; \
01XXXX,3,Set(vxmlurl=http%3A%2F%2F127.0.0.1:8080%2Ftest%2Findex.jsp?ani=${CALLERID(num)})</div><div>exten \
=&gt; 01XXXX,4,Agi(agi://<a href="http://127.0.0.1/url=$%7Bvxmlurl%7D" \
target="_blank">127.0.0.1/url=${vxmlurl}</a>)</div><div>exten =&gt; \
01XXXX,5,Hangup()<br></div></div><div><br></div><div>Please \
advice,</div><div><br></div><div>Best Regards,</div><div>Roy.</div></div></div> \
<br>--<br> _____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" \
target="_blank">http://www.api-digital.com</a> --<br> <br>
asterisk-dev mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
     <a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" \
target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br></blockquote></div>




-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic