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

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


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


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


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