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.
Zeeshan
On Tue, Sep 23, 2008 at 7:19 PM, Steve Totaro <
[EMAIL PROTECTED]> wrote:
> Don't hangup just don't answer either. You could probably just start
> at [callback], what does the other context do?
>
> Thanks,
> Steve Totaro
>
> On Tue, Sep 23, 2008 at 6:54 PM, Zeeshan Zakaria <[EMAIL PROTECTED]>
> wrote:
> > Thanks for your reply. Yes, it came from another context where it was
> first
> > answered. I put there s,1,Hangup and then ran other priorities. I hope
> this
> > will fix my problem, but not sure yet.
> >
> > Zeeshan
> >
> > On Tue, Sep 23, 2008 at 3:38 AM, Tony Mountifield <
> [EMAIL PROTECTED]>
> > wrote:
> >>
> >> In article <[EMAIL PROTECTED]
> >,
> >> Zeeshan Zakaria <[EMAIL PROTECTED]> wrote:
> >> >
> >> > On my call back system, I have the script as follows:
> >> >
> >> > [calback]
> >> > exten => s,1,NoOp(* STARTING CALLCHEAP\'S CALLBACK SYSTEM *)
> >> > exten => s,n,Set(CALL=${CALLERID(number)})
> >> > exten => s,n,Set(DESTINATION=myCallback.2000.1)
> >> > exten => s,n,Set(SLEEP=5)
> >> > exten => s,n,System(/var/lib/asterisk/bin/callback ${CALL}
> >> > ${DESTINATION}
> >> > ${SLEEP} &)
> >> > exten => s,n,Hangup
> >> >
> >> > The idea behind this system is that the script picks up the call,
> notes
> >> > down
> >> > the caller's number, and hangs it immediately. Then the caller gets a
> >> > call
> >> > back.
> >> >
> >> > But what is happening is that cell phone callers are still being
> charged
> >> > for
> >> > calling into this callback context.
> >> >
> >> > How can I avoid this? I want cell phone users to not get charged for
> the
> >> > call back.
> >>
> >> How does the incoming call get to calback,s,1 ? Is there another part of
> >> the dialplan that receives the call and then jumps to here? If so, you
> >> need to make sure that it doesn't call Answer(), nor any application
> that
> >> might do an implicit answer.
> >>
> >> Otherwise, please give more details about how the calls are delivered to
> >> your system, and what you do with them right from the beginning.
> >>
> >> Cheers
> >> Tony
> >> --
> >> Tony Mountifield
> >> Work: [EMAIL PROTECTED] - http://www.softins.co.uk
> >> Play: [EMAIL PROTECTED] - http://tony.mountifield.org
> >>
> >> _______________________________________________
> >> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> >>
> >> AstriCon 2008 - September 22 - 25 Phoenix, Arizona
> >> Register Now: http://www.astricon.net
> >>
> >> asterisk-users mailing list
> >> To UNSUBSCRIBE or update options visit:
> >> http://lists.digium.com/mailman/listinfo/asterisk-users
> >
> >
> >
> > --
> > Zeeshan A Zakaria
> >
> > _______________________________________________
> > -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> >
> > AstriCon 2008 - September 22 - 25 Phoenix, Arizona
> > Register Now: http://www.astricon.net
> >
> > asterisk-users mailing list
> > To UNSUBSCRIBE or update options visit:
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> >
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> AstriCon 2008 - September 22 - 25 Phoenix, Arizona
> Register Now: http://www.astricon.net
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
--
Zeeshan A Zakaria
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users