I cannot absolutely remove caller_id_name. But is function sofia_glue_do_invite at string 938 I has find that bleg not receive caller_id_name if it value equal "_undef_" if (!from_display && !strcasecmp(tech_pvt->caller_profile->caller_id_name, "_undef_")) { from_str = switch_core_session_sprintf(session, "<%s>", use_from_str); } else { char *name = switch_core_session_strdup(session, from_display ? from_display : tech_pvt->caller_profile->caller_id_name); check_decode(name, session); from_str = switch_core_session_sprintf(session, "\"%s\" <%s>", name, use_from_str); } Additionally i create loopback call (FS gateway <-> FS profile) to update caller_profile Sergey On Thu, Feb 19, 2015 at 10:35 PM, huseyin kalyoncu <hkalyoncu@gmail.com> wrote:
as Brian already answered it is best to fix it at source. if it is not possible then i suggest you to use a proxy infront of the fs box. you can easily reject calls with a proxy. opensips or kamailio will do fine.
On Thu, Feb 19, 2015 at 9:17 PM, Brian West <brian@freeswitch.org> wrote:
You can't fix this in FreeSWITCH you stated you RECEIVED IT, There for you need to call who ever is sending you that invite and make them correct the misbehavior.
On Thu, Feb 19, 2015 at 1:11 PM, Sergey Safarov <s.safarov@gmail.com> wrote:
Solution is found <action application="bridge" data="{origination_caller_id_name=_undef_}sofia/gateway/example/${destination_number}"/>
On Thu, Feb 19, 2015 at 10:01 PM, Sergey Safarov <s.safarov@gmail.com> wrote:
I cannot set "effective_caller_id_name" because i now know caller_name. I wand drop wrong "caller_id_name" ("#127.024.031").
On Thu, Feb 19, 2015 at 8:18 PM, huseyin kalyoncu <hkalyoncu@gmail.com> wrote:
what you are looking for is effective_caller_id_name variable
<action application="set" data="effective_caller_id_name=Bob Smith"/>
huseyin
On Thu, Feb 19, 2015 at 6:37 PM, Sergey Safarov <s.safarov@gmail.com> wrote:
I receive INVITE with bad caller_id_name. How I can remove bad header?
Bad INVITE example
INVITE sip:2496@10.21.7.30 SIP/2.0 Via: SIP/2.0/UDP 10.21.7.30;rport;branch=z9hG4bKcX1B77t32Z5pe Max-Forwards: 69 From: "#127.024.031" <sip:2036@company.com>;tag=BmHamt2NK4y0r
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
--
*Brian West* brian@freeswitch.org
*Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com
*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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