[Freeswitch-users] LRN DIP 302 Dialplan
info at shishir.com.np
info at shishir.com.np
Tue Jul 9 03:31:20 MSD 2013
Before doing dip you can define
sip_redirect_profile/sip_redirect_context and bridge a call for lrn dip,
Once FS get the 302 after dip it will redirect the call to defined
profile/context and you can do your LCR logic over this profile/context.
If I am not wrong, after lrn dip you need to check "tel" URI for ported
number.
Regards
Shishir
On 08.07.2013 14:47, Avi Marcus wrote:
> 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 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 [11]
>> Sent: 7/8/2013 5:07 PM
>> To: FreeSWITCH Users Help [12]
>> 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, 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 [1]
>>> http://www.freeswitchsolutions.com [2]
>>>
>>>
>>> [3]
>>>
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org [4]
>>> http://wiki.freeswitch.org [5]
>>> http://www.cluecon.com [6]
>>>
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org [7]
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users [8]
>>>
>>
>
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> [9]
>>> http://www.freeswitch.org [10]
>>
>>
>
> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org [14]
>> http://www.freeswitchsolutions.com [15]
>>
>>
>> [16]
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org [17]
>> http://wiki.freeswitch.org [18]
>> http://www.cluecon.com [19]
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org [20]
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users [21]
>>
>
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> [22]
>> http://www.freeswitch.org [23]
>
>
>
> Links:
> ------
> [1] mailto:consulting at freeswitch.org
> [2] http://www.freeswitchsolutions.com
> [3]
> [4] http://www.freeswitch.org
> [5] http://wiki.freeswitch.org
> [6] http://www.cluecon.com
> [7] mailto:FreeSWITCH-users at lists.freeswitch.org
> [8] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> [9] http://lists.freeswitch.org/mailman/options/freeswitch-users
> [10] http://www.freeswitch.org
> [11] mailto:avi at avimarcus.net
> [12] mailto:freeswitch-users at lists.freeswitch.org
> [13] mailto:andretodd at verizon.net
> [14] mailto:consulting at freeswitch.org
> [15] http://www.freeswitchsolutions.com
> [16]
> [17] http://www.freeswitch.org
> [18] http://wiki.freeswitch.org
> [19] http://www.cluecon.com
> [20] mailto:FreeSWITCH-users at lists.freeswitch.org
> [21] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> [22] http://lists.freeswitch.org/mailman/options/freeswitch-users
> [23] http://www.freeswitch.org
> [24] mailto:andretodd at verizon.net
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list