[Freeswitch-users] redirect in dialplan
Anthony Minessale
anthony.minessale at gmail.com
Mon Apr 21 08:03:56 PDT 2008
Did you trace the sip to see if we are sending a 302?
On Mon, Apr 21, 2008 at 9:47 AM, Brian West <brian at freeswitch.org> wrote:
> Could it be the far end not actually following a 302 redirect? Some
> people will not follow it due to toll fraud issues. You can totally
> bypass some ones billing systems with it. Do you know what devices
> you're sending a 302 redirect to? Can you collect the sip trace of
> the redirect?
>
> /b
>
> On Apr 21, 2008, at 9:31 AM, Jonas Gauffin wrote:
>
> > <?xml version="1.0" encoding="UTF-8" standalone="no"?>
> > <document type="freeswitch/xml">
> > <section name="dialplan" description="ModCurlDialplan">
> > <context name="default">
> > <extension name=" 1201 ">
> > <condition field="destination_number" expression="1201">
> > <action application="set" data="accountcode=1"/>
> > <action application="set" data="gate_direction=outbound"/>
> > <action application="set" data="gate_context=external"/>
> > <action application="set" data="gate_site_id=1"/>
> > <action application="redirect"
> > data="sip:+46706930821 at sipgw2.gotanet.se<sip%3A%2B46706930821 at sipgw2.gotanet.se>
> "/>
> > </condition>
> > </extension>
> > </context>
> > </section>
> >
> > In this case I'm trying to send the redirect to my sip gateway. I've
> > also tried to send the redirect to another user in my site
> > (sip:u10001 at myrealdomain.com <sip%3Au10001 at myrealdomain.com>).
> >
> > Both give that error shown in the log in my first email.
> >
> > On Mon, Apr 21, 2008 at 4:11 PM, Brian West <brian at freeswitch.org>
> > wrote:
> >> Can you provide the dialplan you're using? And what device are you
> >> sending the redirect to?
> >>
> >> /b
> >>
> >>
> >>
> >> On Apr 21, 2008, at 9:06 AM, Jonas Gauffin wrote:
> >>
> >>> just trying to send a 302.
> >>>
> >>> On Mon, Apr 21, 2008 at 3:55 PM, Brian West <brian at freeswitch.org>
> >>> wrote:
> >>>> Is this a redirect done by the far end device? or you're just
> >>>> trying
> >>>> to send a 302 from FreeSWITCH?
> >>>>
> >>>> /b
> >>>>
> >>>>
> >>>> On Apr 21, 2008, at 8:47 AM, Jonas Gauffin wrote:
> >>>>
> >>>>> huh?
> >>>>>
> >>>>> I'm using a custom dialplan (through mod_xml_curl) and are
> >>>>> trying to
> >>>>> use the "redirect" application.
> >>>>>
> >>>>> You telling me that I should use the deflect app instead? What's
> >>>>> the
> >>>>> different between deflect and redirect?
> >>>>
> >>>>
> >>>>
> >>>> Brian West
> >>>> sip:brian at freeswitch.org <sip%3Abrian at freeswitch.org>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> _______________________________________________
> >>>> Freeswitch-users mailing list
> >>>> Freeswitch-users at lists.freeswitch.org
> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> >>>> UNSUBSCRIBE:
> http://lists.freeswitch.org/mailman/options/freeswitch-users
> >>>> http://www.freeswitch.org
> >>>>
> >>>
> >>> _______________________________________________
> >>> Freeswitch-users mailing list
> >>> Freeswitch-users at lists.freeswitch.org
> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> >>> UNSUBSCRIBE:
> http://lists.freeswitch.org/mailman/options/freeswitch-users
> >>> http://www.freeswitch.org
> >>
> >> Brian West
> >> sip:brian at freeswitch.org <sip%3Abrian at freeswitch.org>
> >>
> >>
> >>
> >>
> >> _______________________________________________
> >> Freeswitch-users mailing list
> >> Freeswitch-users at lists.freeswitch.org
> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> >> UNSUBSCRIBE:
> http://lists.freeswitch.org/mailman/options/freeswitch-users
> >> http://www.freeswitch.org
> >>
> >
> > _______________________________________________
> > Freeswitch-users mailing list
> > Freeswitch-users at lists.freeswitch.org
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> > http://www.freeswitch.org
>
> Brian West
> sip:brian at freeswitch.org <sip%3Abrian at freeswitch.org>
>
>
>
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080421/86be87ef/attachment-0002.html
More information about the FreeSWITCH-users
mailing list