destination_number a&b leg, please help
Hi, how can I set in dialplan, that destination_number variable will be the same for a and b leg? thank you! Miha
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@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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@softnet.si <mailto:miha@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@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@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
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@softnet.si <mailto:miha@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@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@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
participants (2)
-
Avi Marcus
-
Miha Zoubek