【问题标题】:How can I get in SIPML5 the remote display name?如何在 SIPML5 中获取远程显示名称?
【发布时间】:2017-10-03 11:11:11
【问题描述】:

我在使用 sipML5 库获取远程显示名称时遇到问题。当我注册用户时,我在堆栈对象中设置了 display_name。

display_name: local_username

当我拨打电话后,我可以在我的 SIPml.Session.Call 对象中看到 display_name。

SIPml.Session.Call.o_session.o_uri_from.s_display_name = 'local_username';

在远程对等方中,当我收到带有“i_new_call”事件的呼叫邀请时,该字段为空

SIPml.Session.Call.o_session.o_uri_from.s_display_name = null;

如何获取远端的显示名称?还是有其他方法可以获取该变量名

【问题讨论】:

    标签: webrtc sip sipml5


    【解决方案1】:

    我得到了显示名称,它存储在另一个对象类型中

    SIPml.Stack.Event.o_event.o_message.o_hdr_From.s_display_name
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2023-04-10
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多