[Freeswitch-users] destination_number a&b leg, please help

Miha Zoubek miha at softnet.si
Thu Mar 1 16:50:17 MSK 2012


On 03/01/2012 02:16 PM, Miha Zoubek wrote:
> On 03/01/2012 01:18 PM, Avi Marcus wrote:
>> What are you trying to achieve? Matching up A and B legs of calls?
>>
>> -Avi
>>
>>
>> On Thu, Mar 1, 2012 at 1:07 PM, Miha Zoubek <miha at softnet.si 
>> <mailto:miha at softnet.si>> wrote:
>>
>>     Hi,
>>
>>     how can I set in dialplan, that destination_number variable will
>>     be the
>>     same for a and b leg?
>>
>>
>>
>>     thank you!
>>
>>     Miha
>>
>>     _________________________________________________________________________
>>     Professional FreeSWITCH Consulting Services:
>>     consulting at freeswitch.org <mailto: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
>>     <mailto: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
> Hi @Avi,
>
> thank you for your quick replay.
>
> In cvs cdr table I have like this when I make a xfer from phone (cwfd):
>
>
> idDescending 
> <http://newbill.softnet.si/phpMyAdmin/sql.php?db=voipbill_slo&table=rad_cdr&sql_query=SELECT+%2A+FROM+%60rad_cdr%60+ORDER+BY+%60rad_cdr%60.%60id%60++ASC&session_max_rows=30&token=31d4823f2f9fd5be993cc02ca4431217> 
> 	caller_id_name 
> <http://newbill.softnet.si/phpMyAdmin/sql.php?db=voipbill_slo&table=rad_cdr&sql_query=SELECT+%2A+FROM+%60rad_cdr%60+ORDER+BY+%60rad_cdr%60.%60caller_id_name%60+ASC&session_max_rows=30&token=31d4823f2f9fd5be993cc02ca4431217> 
> 	caller_id_number 
> <http://newbill.softnet.si/phpMyAdmin/sql.php?db=voipbill_slo&table=rad_cdr&sql_query=SELECT+%2A+FROM+%60rad_cdr%60+ORDER+BY+%60rad_cdr%60.%60caller_id_number%60+ASC&session_max_rows=30&token=31d4823f2f9fd5be993cc02ca4431217> 
> 	destination_number 
> <http://newbill.softnet.si/phpMyAdmin/sql.php?db=voipbill_slo&table=rad_cdr&sql_query=SELECT+%2A+FROM+%60rad_cdr%60+ORDER+BY+%60rad_cdr%60.%60destination_number%60+ASC&session_max_rows=30&token=31d4823f2f9fd5be993cc02ca4431217> 
> 	context 
> <http://newbill.softnet.si/phpMyAdmin/sql.php?db=voipbill_slo&table=rad_cdr&sql_query=SELECT+%2A+FROM+%60rad_cdr%60+ORDER+BY+%60rad_cdr%60.%60context%60+ASC&session_max_rows=30&token=31d4823f2f9fd5be993cc02ca4431217> 
>
>
>
> 380 	018108500 	018108500.fs_kabelvoip1 	051357952 
> fs_kabelvoip1.fs1.softnet.si
>
> 381 	Outbound Call 	38651357952 	38651357952 	default
>
> I would like that to have in row caller_id_name 018105800 instead of 
> Outbound call. Or in row destination_number  38651357952 instead of 
> 051357952.
>
> Thanks!
>
> Miha
>
>
>
>
> _________________________________________________________________________
> 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
This happens because of:

Flipping CID from "018108500" <018108500> to "Outbound Call" <38651357952>

Is it possible to change CID, so that would stay the same (018108500)?

thanks!

miha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120301/c1788050/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 201 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120301/c1788050/attachment-0001.png 


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