PJSUA HOLD and media_status

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,
When I HOLD a call with  pjsua_call_set_hold, the call_info. media_status changes from PJSUA_CALL_MEDIA_ACTIVE (1) to PJSUA_CALL_MEDIA_NONE (0) instead PJSUA_CALL_MEDIA_LOCAL_HOLD (2).  When I reinvite teh media_status return to PJSUA_CALL_MEDIA_ACTIVE.

When the remote holds the call PJSUA_CALL_MEDIA_REMOTE_HOLD  (3) its correctly returned.

Why  local hold don't  change the status to PJSUA_CALL_MEDIA_LOCAL_HOLD?


Another question is if it's necessary to disconnect conference ports when a PJSUA_CALL_MEDIA_NONE i'ts received in on_call_media_state callback?


Thanks,

_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux