What is master port and port zero ?

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

 



Thanks Gaurav for the prompt reply, I've already read that link.
"A master port has two media ports connected to it". What are those 2 media
ports?
In "pjmedia_conf" structure, there are "master_port", "snd_port" and
"ports" list, how are they related ?


On Mon, Jan 28, 2013 at 8:15 PM, Gaurav Srivastava <
gaurav.srivastava2 at agnity.com> wrote:

>              Hi Khoa,
>
>
>
>             Please go through the link
>
>
> http://www.pjsip.org/pjmedia/docs/html/group__PJMEDIA__MASTER__PORT.htm
>
>
>
>             In case not fruitful, please let me know.
>
>
>
>             Thanks and Regards,
>
>             Gaurav
>
>
>
>
>
>
>
> -----Original Message-----
> *From:* pjsip [mailto:pjsip-bounces at lists.pjsip.org] *On Behalf Of *Khoa
> Pham
> *Sent:* Monday, January 28, 2013 6:33 PM
> *To:* pjsip list
> *Subject:* [pjsip] What is master port and port zero ?
>
>
>
> When reading conference bridge on pjsip.org/pjmedia/docs, I see these 2
> port. What are they, are they the same ?
>
>
>
> When running pjsua_app, I use "cl" command to list port in conference
> bridge, I see
>
>
>
> pjsua_var.mconf->master_port->info->name = "Wave mapper"
>
> pjsua_var.mconf->ports[0]->name = "Wave mapper"
>
> pjsua_var.mconf->ports[1]->name = "ringback"
>
> pjsua_var.mconf->ports[2]->name = "ring"
>
> pjsua_var.mconf->ports[3]->name = "sip:voip1 at freesipserver.com"
>
>
>
> And it says ports[0] is transmitting to port[3], and port[3] is
> transmitting to ports[0]
>
>
>
> Any answer is highly appreciated, thanks in advance.
>
>
>
> --
> Khoa Pham
> HCMC University of Science
> Faculty of Information Technology
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
>


-- 
Khoa Pham
HCMC University of Science
Faculty of Information Technology
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20130128/41e303e1/attachment-0001.html>


[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