[Freeswitch-users] LRN DIP 302 Dialplan

Avi Marcus avi at avimarcus.net
Tue Jul 9 01:47:45 MSD 2013


Once you bridge and get a 302, you get dumped back into the dialplan where
the information is available in the channel variables.
I think ${sip_redirect_contact_params_1} and ${sip_redirect_contact_host_1}
has the first route... so grab the lrn number and use that with the
original number for your LCR.

-Avi


On Tue, Jul 9, 2013 at 12:34 AM, Andre Demattia <andretodd at verizon.net>wrote:

>  Hi, I'm checking to see if that is the best way to do the dip. So
> calling the dialplan then waiting for the on hang up complete then dialing
> again is the right way?
> Andre
>  ------------------------------
> From: Avi Marcus <avi at avimarcus.net>
> Sent: 7/8/2013 5:07 PM
> To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
> Subject: Re: [Freeswitch-users] LRN DIP 302 Dialplan
>
>  Sure, do the dip first then do your LCR.
> Maybe I'm just not getting the question?
>   -Avi
>
> On Mon, Jul 8, 2013 at 6:54 PM, <andretodd at verizon.net> wrote:
>
>>  HI, I need to look up a number to see if it's ported/ LCR before I
>> bridge the call. What is the best way to go about doing this.
>>
>> Call comes in, I need to look up the LRN data via SIP 302. The results of
>> that I need to hit my database for the LCR then I need to bridge the number.
>>
>> Would it be wise to dial the LRN server then on Hangup complete hit the
>> database then dial the number?
>> Thanks
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> 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
>>
>>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130708/a95e8e08/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list