<div dir="ltr">The other context was running the AGI script to capture caller ID and then sending it to this context. Now I've changed it. It hangs up right in the first context. I can see SIP message 603 in SIP header now. So I guess now the cell phone providers should see it as a not answered call.<br>
<br>Zeeshan<br><br><div class="gmail_quote">On Tue, Sep 23, 2008 at 7:19 PM, Steve Totaro <span dir="ltr"><<a href="mailto:stotaro@totarotechnologies.com">stotaro@totarotechnologies.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Don't hangup just don't answer either. You could probably just start<br>
at [callback], what does the other context do?<br>
<br>
Thanks,<br>
<font color="#888888">Steve Totaro<br>
</font><div><div></div><div class="Wj3C7c"><br>
On Tue, Sep 23, 2008 at 6:54 PM, Zeeshan Zakaria <<a href="mailto:zishanov@gmail.com">zishanov@gmail.com</a>> wrote:<br>
> Thanks for your reply. Yes, it came from another context where it was first<br>
> answered. I put there s,1,Hangup and then ran other priorities. I hope this<br>
> will fix my problem, but not sure yet.<br>
><br>
> Zeeshan<br>
><br>
> On Tue, Sep 23, 2008 at 3:38 AM, Tony Mountifield <<a href="mailto:tony@softins.clara.co.uk">tony@softins.clara.co.uk</a>><br>
> wrote:<br>
>><br>
>> In article <<a href="mailto:5ad99e890809221758r108a29b5wf688dfe7e832bc5b@mail.gmail.com">5ad99e890809221758r108a29b5wf688dfe7e832bc5b@mail.gmail.com</a>>,<br>
>> Zeeshan Zakaria <<a href="mailto:zishanov@gmail.com">zishanov@gmail.com</a>> wrote:<br>
>> ><br>
>> > On my call back system, I have the script as follows:<br>
>> ><br>
>> > [calback]<br>
>> > exten => s,1,NoOp(* STARTING CALLCHEAP\'S CALLBACK SYSTEM *)<br>
>> > exten => s,n,Set(CALL=${CALLERID(number)})<br>
>> > exten => s,n,Set(DESTINATION=myCallback.2000.1)<br>
>> > exten => s,n,Set(SLEEP=5)<br>
>> > exten => s,n,System(/var/lib/asterisk/bin/callback ${CALL}<br>
>> > ${DESTINATION}<br>
>> > ${SLEEP} &)<br>
>> > exten => s,n,Hangup<br>
>> ><br>
>> > The idea behind this system is that the script picks up the call, notes<br>
>> > down<br>
>> > the caller's number, and hangs it immediately. Then the caller gets a<br>
>> > call<br>
>> > back.<br>
>> ><br>
>> > But what is happening is that cell phone callers are still being charged<br>
>> > for<br>
>> > calling into this callback context.<br>
>> ><br>
>> > How can I avoid this? I want cell phone users to not get charged for the<br>
>> > call back.<br>
>><br>
>> How does the incoming call get to calback,s,1 ? Is there another part of<br>
>> the dialplan that receives the call and then jumps to here? If so, you<br>
>> need to make sure that it doesn't call Answer(), nor any application that<br>
>> might do an implicit answer.<br>
>><br>
>> Otherwise, please give more details about how the calls are delivered to<br>
>> your system, and what you do with them right from the beginning.<br>
>><br>
>> Cheers<br>
>> Tony<br>
>> --<br>
>> Tony Mountifield<br>
>> Work: <a href="mailto:tony@softins.co.uk">tony@softins.co.uk</a> - <a href="http://www.softins.co.uk" target="_blank">http://www.softins.co.uk</a><br>
>> Play: <a href="mailto:tony@mountifield.org">tony@mountifield.org</a> - <a href="http://tony.mountifield.org" target="_blank">http://tony.mountifield.org</a><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>
>> AstriCon 2008 - September 22 - 25 Phoenix, Arizona<br>
>> Register Now: <a href="http://www.astricon.net" target="_blank">http://www.astricon.net</a><br>
>><br>
>> asterisk-users mailing list<br>
>> To UNSUBSCRIBE or update options visit:<br>
>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
><br>
><br>
><br>
> --<br>
> Zeeshan A Zakaria<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>
> AstriCon 2008 - September 22 - 25 Phoenix, Arizona<br>
> Register Now: <a href="http://www.astricon.net" target="_blank">http://www.astricon.net</a><br>
><br>
> asterisk-users mailing list<br>
> To UNSUBSCRIBE or update options visit:<br>
> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
><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>
AstriCon 2008 - September 22 - 25 Phoenix, Arizona<br>
Register Now: <a href="http://www.astricon.net" target="_blank">http://www.astricon.net</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Zeeshan A Zakaria<br>
</div>