Changes between Version 2 and Version 3 of PJSIP_Tutorial


Ignore:
Timestamp:
Jan 17, 2008 6:21:04 AM (11 years ago)
Author:
bennylp
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PJSIP_Tutorial

    v2 v3  
    11= PJSIP Tutorial (Using PJSUA-API) = 
    22 
    3 As you can see from the diagram in [/docs.htm PJSIP Documentation] page, PJSIP software consists of multiple API abstractions. This tutorial uses [/pjsip/docs/html/group__PJSUA__LIB.htm PJSUA-API], the highest layer of abstraction of all, which combines PJSIP (the SIP stack library) and PJMEDIA (the media stack library). 
     3As you can see from the diagram in [http://www.pjsip.org/docs.htm PJSIP Documentation] page, PJSIP software consists of multiple API abstractions. This tutorial uses [http://www.pjsip.org/pjsip/docs/html/group__PJSUA__LIB.htm PJSUA-API], the highest layer of abstraction of all, which combines PJSIP (the SIP stack library) and PJMEDIA (the media stack library). 
    44 
    55 
     
    1111 
    1212=== Source Code === 
    13 Have a look at the '''[/pjsip/docs/html/page_pjsip_sample_simple_pjsuaua_c.htm simple_pjsua.c]''' for complete source code. 
     13Have a look at the '''[http://www.pjsip.org/pjsip/docs/html/page_pjsip_sample_simple_pjsuaua_c.htm simple_pjsua.c]''' for complete source code. 
    1414 
    1515 
    1616== Extending the Example == 
    1717 
    18 The best source information on using the API is of course [/pjsip/docs/html/group__PJSUA__LIB.htm PJSUA-API Reference Manual]. But here are some information about configuring some features. 
     18The best source information on using the API is of course [http://www.pjsip.org/pjsip/docs/html/group__PJSUA__LIB.htm PJSUA-API Reference Manual]. But here are some information about configuring some features. 
    1919 
    2020 
    2121=== Supporting STUN === 
    2222 
    23 Just configure {{{stun_config}}} member of [/pjsip/docs/html/structpjsua__transport__config.htm pjsua_transport_config] when creating the UDP transport. 
     23Just configure {{{stun_config}}} member of [http://www.pjsip.org/pjsip/docs/html/structpjsua__transport__config.htm pjsua_transport_config] when creating the UDP transport. 
    2424 
    2525=== TCP and TLS Transports === 
    2626 
    27 Just call [/pjsip/docs/html/group__PJSUA__LIB__TRANSPORT.htm#g1c077d205f7df9fae39a179b2fe47533 pjsua_transport_create()] with {{{PJSIP_TRANSPORT_UDP}}} or {{{PJSIP_TRANSPORT_TLS}}} as the transport type. In addition, optional TLS settings can be configured in {{{tls_setting}}} member of [/pjsip/docs/html/structpjsua__transport__config.htm pjsua_transport_config]. 
     27Just call [http://www.pjsip.org/pjsip/docs/html/group__PJSUA__LIB__TRANSPORT.htm#g1c077d205f7df9fae39a179b2fe47533 pjsua_transport_create()] with {{{PJSIP_TRANSPORT_UDP}}} or {{{PJSIP_TRANSPORT_TLS}}} as the transport type. In addition, optional TLS settings can be configured in {{{tls_setting}}} member of [http://www.pjsip.org/pjsip/docs/html/structpjsua__transport__config.htm pjsua_transport_config]. 
    2828 
    2929