<html>
<head>
    <base href="https://wiki.asterisk.org/wiki">
            <link rel="stylesheet" href="/wiki/s/en/2176/25/9/_/styles/combined.css?spaceKey=AST&amp;forWysiwyg=true" type="text/css">
    </head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="https://wiki.asterisk.org/wiki/display/AST/New+SIP+channel+driver">New SIP channel driver</a></h2>
    <h4>Page <b>edited</b> by             <a href="https://wiki.asterisk.org/wiki/display/~mjordan">Matt Jordan</a>
    </h4>
        <br/>
                         <h4>Changes (3)</h4>
                                 
    
<div id="page-diffs">
                    <table class="diff" cellpadding="0" cellspacing="0">
    
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" >h2. SIP stack <br> <br></td></tr>
            <tr><td class="diff-changed-lines" >The new chan_sip will use a third-party SIP stack. Research <span class="diff-deleted-words"style="color:#999;background-color:#fdd;text-decoration:line-through;">is currently being</span> <span class="diff-added-words"style="background-color: #dfd;">was</span> done into various offerings. SIP stack research can be found [here|AST:SIP Stack Research]. <span class="diff-added-words"style="background-color: #dfd;">The result of the research was to choose PJSIP as the SIP stack. This was communicated on the [asterisk-dev mailing list on December 10th, 2012|http://lists.digium.com/pipermail/asterisk-dev/2012-December/057997.html].</span> <br></td></tr>
            <tr><td class="diff-unchanged" > <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">As part of this work, pjproject has been pulled out of the Asterisk source tree and placed into its own Git repository. The repository is available at git://github.com/asterisk/pjproject.git. <br> <br></td></tr>
            <tr><td class="diff-unchanged" >h2. Configuration <br> <br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" > <br>The decision to move forward with a new chan_sip was made at [AstriDevCon 2012]. <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;"> <br>h2. Testing <br> <br>* [Build and Unit Tests | http://bamboo.asterisk.org/browse/ASTTEAM-PIMPMYSIP] <br> <br>h2. Notable Reviews <br> <br>|| Review || Link || <br>| res_sip and res_sip_session design review | https://reviewboard.asterisk.org/r/2251/ | <br>| Initial work for res_sip and res_sip_session: Inbound and outbound calls work | https://reviewboard.asterisk.org/r/2285/ | <br>| SIP authentication support | https://reviewboard.asterisk.org/r/2310/ | <br>| Pimp My SIP Media Improvements | https://reviewboard.asterisk.org/r/2318/ | <br>| Make new SIP work make use of threadpool | https://reviewboard.asterisk.org/r/2305/ | <br>| Fix pjproject&#39;s build system to support shared objects | https://code.asterisk.org/code/cru/CR-AST-12 | <br></td></tr>
    
            </table>
    </div>                            <h4>Full Content</h4>
                    <div class="notificationGreySide">
        <div>
<ul>
    <li><a href='#NewSIPchanneldriver-ProjectOverview'>Project Overview</a></li>
    <li><a href='#NewSIPchanneldriver-RequirementsandSpecification'>Requirements and Specification</a></li>
<ul>
    <li><a href='#NewSIPchanneldriver-SIPstack'>SIP stack</a></li>
    <li><a href='#NewSIPchanneldriver-Configuration'>Configuration</a></li>
    <li><a href='#NewSIPchanneldriver-Features'>Features</a></li>
    <li><a href='#NewSIPchanneldriver-Usecases'>Use cases</a></li>
    <li><a href='#NewSIPchanneldriver-Documentation'>Documentation</a></li>
    <li><a href='#NewSIPchanneldriver-APIs'>APIs</a></li>
<ul>
    <li><a href='#NewSIPchanneldriver-Dialplanapplications'>Dialplan applications</a></li>
    <li><a href='#NewSIPchanneldriver-Dialplanfunctions'>Dialplan functions</a></li>
    <li><a href='#NewSIPchanneldriver-CLIcommands'>CLI commands</a></li>
    <li><a href='#NewSIPchanneldriver-Managercommands'>Manager commands</a></li>
    <li><a href='#NewSIPchanneldriver-AGIcommands'>AGI commands</a></li>
</ul>
</ul>
    <li><a href='#NewSIPchanneldriver-Design'>Design</a></li>
    <li><a href='#NewSIPchanneldriver-TestPlan'>Test Plan</a></li>
    <li><a href='#NewSIPchanneldriver-ProjectPlanning'>Project Planning</a></li>
    <li><a href='#NewSIPchanneldriver-Referenceinformation'>Reference information</a></li>
<ul>
    <li><a href='#NewSIPchanneldriver-Testing'>Testing</a></li>
    <li><a href='#NewSIPchanneldriver-NotableReviews'>Notable Reviews</a></li>
</ul>
</ul></div>

<h1><a name="NewSIPchanneldriver-ProjectOverview"></a>Project Overview</h1>

<p>This project's aim is to create a new SIP channel driver to be included in Asterisk 12.</p>

<p>Asterisk's current SIP channel driver (hereon referred to as "chan_sip") basically has the flaw of being poorly architected.</p>

<ul>
        <li>The code is not arranged in a stack. Attempting to add elements such as a new transport or other new feature means touching the code in places you would never expect to have to touch.</li>
        <li>chan_sip is monolithic; all aspects of SIP reside in the channel driver. Attempting to have a SIP registrar that does not accept calls is not easy.</li>
        <li>Fixing bugs in chan_sip is rarely straightforward. Changing code in order to fix one bug usually leads to new faults being discovered as a result.</li>
        <li>chan_sip takes up the lion's share of issues in the issue tracker. <a href="https://issues.asterisk.org/jira/secure/IssueNavigator.jspa?mode=hide&amp;requestId=11822" class="external-link" rel="nofollow">Here</a> is an up-to-date list of open issues against chan_sip. This accounts for about 25% of the open issues in the issue tracker.</li>
        <li>Many limitations are deeply-ingrained in chan_sip. For instance, trying to change chan_sip to support binding to multiple addresses would require huge changes.</li>
</ul>


<p>Asterisk developers have on several occasions attempted projects to give chan_sip a transaction layer, or to give it some semblance of a refactor. In every case, they've found that the magnitute of their efforts was much greater than originally expected. In the end, their frustration got the better of them and they reported that the effort that it would take in order to do whatever task they were doing would be better spent in rewriting chan_sip altogether.</p>

<h1><a name="NewSIPchanneldriver-RequirementsandSpecification"></a>Requirements and Specification</h1>

<h2><a name="NewSIPchanneldriver-SIPstack"></a>SIP stack</h2>

<p>The new chan_sip will use a third-party SIP stack. Research was done into various offerings. SIP stack research can be found <a href="/wiki/display/AST/SIP+Stack+Research" title="SIP Stack Research">here</a>. The result of the research was to choose PJSIP as the SIP stack. This was communicated on the <a href="http://lists.digium.com/pipermail/asterisk-dev/2012-December/057997.html" class="external-link" rel="nofollow">asterisk-dev mailing list on December 10th, 2012</a>.</p>

<p>As part of this work, pjproject has been pulled out of the Asterisk source tree and placed into its own Git repository. The repository is available at git://github.com/asterisk/pjproject.git.</p>

<h2><a name="NewSIPchanneldriver-Configuration"></a>Configuration</h2>

<p>Configuration for the new chan_sip will be redesigned entirely. Configuration will be more modular, allowing easier control over aspects than previously allowed. At the same time, the new chan_sip MUST be backwards-compatible with the old chan_sip's configuration to ease upgrade. The tentative plan for this is to parse old configuration and translate the options into their new equivalents where possible.</p>

<p>At this stage, no configuration schema have been devised. This will be added as it is decided.</p>

<h2><a name="NewSIPchanneldriver-Features"></a>Features</h2>

<p>A brief high-level overview of features for the new chan_sip includes:</p>

<ul>
        <li>Transports (all IPv4 and IPv6)
        <ul>
                <li>UDP</li>
                <li>TCP</li>
                <li>TLS</li>
                <li>Websocket</li>
        </ul>
        </li>
        <li>Digest authentication</li>
        <li>Media sessions
        <ul>
                <li>Basic phone calls</li>
                <li>Call transfer</li>
                <li>Audio/video capability negotiation (to include T.38 negotiation)</li>
                <li>Direct media</li>
                <li>Session timers</li>
                <li>Party Identity</li>
        </ul>
        </li>
        <li>Registration
        <ul>
                <li>Registrar for incoming registrations</li>
                <li>Client registration (i.e. outgoing registration)</li>
        </ul>
        </li>
        <li>Subscriptions
        <ul>
                <li>Presence</li>
                <li>Dialog-info</li>
                <li>Message-summary</li>
                <li>Call-completion</li>
        </ul>
        </li>
        <li>Messaging
        <ul>
                <li>Out-of-call messaging</li>
        </ul>
        </li>
</ul>


<h2><a name="NewSIPchanneldriver-Usecases"></a>Use cases</h2>

<p>Since A SIP channel driver has so many use cases, these reside on their own sub-page. SIP use cases can be found <a href="/wiki/display/AST/SIP+use+cases" title="SIP use cases">here</a>.</p>

<h2><a name="NewSIPchanneldriver-Documentation"></a>Documentation</h2>

<p>In order to increase adoption of the new chan_sip and encourage enhancement, detailed documentation MUST be provided. Documentation will be provided in several forms.</p>

<h5><a name="NewSIPchanneldriver-Incodedocumentation"></a>In-code documentation</h5>

<p>This can be broken into two categories</p>

<ul>
        <li>API documentation (i.e. Doxygen)</li>
        <li>User documentation (i.e. XML documentation)</li>
</ul>


<p>All functions must have thorough doxygen documentation, and all applications, dialplan functions, manager actions, and manager events must have XML.</p>

<h5><a name="NewSIPchanneldriver-Configurationsample"></a>Configuration sample</h5>

<p>A sample configuration will be included. The sample configuration will serve to be a minimal documentation of options. More detailed explanations may be found on the wiki.</p>

<h5><a name="NewSIPchanneldriver-Wikidocumentation"></a>Wiki documentation</h5>

<p>The wiki will be used to document high-level information, ranging from configuration option details to an explanation of the threading model and architecture for developers.  Links to documentation pages will be added here as documentation is written.</p>

<h2><a name="NewSIPchanneldriver-APIs"></a>APIs</h2>

<p>At a minimum, all dialplan applications, dialplan functions, manager commands, and CLI commands that worked with the old chan_sip must also work with new chan_sip. The following will be present</p>

<h3><a name="NewSIPchanneldriver-Dialplanapplications"></a>Dialplan applications</h3>

<h5><a name="NewSIPchanneldriver-Legacyapplications"></a>Legacy applications</h5>

<ul>
        <li><a href="/wiki/display/AST/Asterisk+11+Application_SIPDtmfMode" title="Asterisk 11 Application_SIPDtmfMode">SIPDtmfMode</a></li>
        <li><a href="/wiki/display/AST/Asterisk+11+Application_SIPAddHeader" title="Asterisk 11 Application_SIPAddHeader">SIPAddHeader</a></li>
        <li><a href="/wiki/display/AST/Asterisk+11+Application_SIPRemoveHeader" title="Asterisk 11 Application_SIPRemoveHeader">SIPRemoveHeader</a></li>
        <li><a href="/wiki/display/AST/Asterisk+11+Application_SIPSendCustomINFO" title="Asterisk 11 Application_SIPSendCustomINFO">SIPSendCustomINFO</a></li>
</ul>


<h5><a name="NewSIPchanneldriver-Newapplications"></a>New applications</h5>

<p>TBD</p>

<h3><a name="NewSIPchanneldriver-Dialplanfunctions"></a>Dialplan functions</h3>

<h5><a name="NewSIPchanneldriver-Legacyfunctions"></a>Legacy functions</h5>

<ul>
        <li><a href="/wiki/display/AST/Asterisk+11+Function_CHANNEL" title="Asterisk 11 Function_CHANNEL">CHANNEL</a> (The SIP-specific bits)</li>
        <li><a href="/wiki/display/AST/Asterisk+11+Function_SIP_HEADER" title="Asterisk 11 Function_SIP_HEADER">SIP_HEADER</a></li>
        <li><a href="/wiki/display/AST/Asterisk+11+Function_SIPPEER" title="Asterisk 11 Function_SIPPEER">SIPPEER</a></li>
        <li><a href="/wiki/display/AST/Asterisk+11+Function_CHECKSIPDOMAIN" title="Asterisk 11 Function_CHECKSIPDOMAIN">CHECKSIPDOMAIN</a></li>
</ul>


<h5><a name="NewSIPchanneldriver-Newfunctions"></a>New functions</h5>

<p>TBD</p>

<h3><a name="NewSIPchanneldriver-CLIcommands"></a>CLI commands</h3>

<h5><a name="NewSIPchanneldriver-LegacyCLIcommands"></a>Legacy CLI commands</h5>

<ul>
        <li>sip show channels</li>
        <li>sip show channelstats</li>
        <li>sip show domains</li>
        <li>sip show inuse</li>
        <li>sip show objects</li>
        <li>sip show peers</li>
        <li>sip show peer</li>
        <li>sip show users</li>
        <li>sip show user</li>
        <li>sip show registry</li>
        <li>sip show settings</li>
        <li>sip show mwi</li>
        <li>sip show channel</li>
        <li>sip show history</li>
        <li>sip show sched</li>
        <li>sip show tcp</li>
        <li>sip prune realtime</li>
        <li>sip debug</li>
        <li>sip set history</li>
        <li>sip reload</li>
        <li>sip qualify peer</li>
        <li>sip unregister</li>
        <li>sip notify</li>
</ul>


<h5><a name="NewSIPchanneldriver-NewCLIcommands"></a>New CLI commands</h5>

<p>TBD</p>

<h3><a name="NewSIPchanneldriver-Managercommands"></a>Manager commands</h3>

<h5><a name="NewSIPchanneldriver-LegacyManagercommands"></a>Legacy Manager commands</h5>

<ul>
        <li><a href="/wiki/display/AST/Asterisk+11+ManagerAction_SIPpeers" title="Asterisk 11 ManagerAction_SIPpeers">SIPPeers</a></li>
        <li><a href="/wiki/display/AST/Asterisk+11+ManagerAction_SIPshowpeer" title="Asterisk 11 ManagerAction_SIPshowpeer">SIPshowpeer</a></li>
        <li><a href="/wiki/display/AST/Asterisk+11+ManagerAction_SIPqualifypeer" title="Asterisk 11 ManagerAction_SIPqualifypeer">SIPqualifypeer</a></li>
        <li><a href="/wiki/display/AST/Asterisk+11+ManagerAction_SIPshowregistry" title="Asterisk 11 ManagerAction_SIPshowregistry">SIPshowregistry</a></li>
        <li><a href="/wiki/display/AST/Asterisk+11+ManagerAction_SIPnotify" title="Asterisk 11 ManagerAction_SIPnotify">SIPnotify</a></li>
        <li><a href="/wiki/display/AST/Asterisk+11+ManagerAction_SIPpeerstatus" title="Asterisk 11 ManagerAction_SIPpeerstatus">SIPpeerstatus</a></li>
</ul>


<h5><a name="NewSIPchanneldriver-NewManagercommands"></a>New Manager commands</h5>

<p>TBD</p>

<h3><a name="NewSIPchanneldriver-AGIcommands"></a>AGI commands</h3>

<h5><a name="NewSIPchanneldriver-LegacyAGIcommands"></a>Legacy AGI commands</h5>

<p>None</p>

<h5><a name="NewSIPchanneldriver-NewAGIcommands"></a>New AGI commands</h5>

<p>TBD</p>

<h1><a name="NewSIPchanneldriver-Design"></a>Design</h1>

<p>Since a SIP stack has not been chosen yet, it is difficult to go about trying to design anything. As design is done, more will be added here.</p>

<h1><a name="NewSIPchanneldriver-TestPlan"></a>Test Plan</h1>

<p>The new chan_sip test plan can be found <a href="/wiki/display/AST/SIP+Test+Plan" title="SIP Test Plan">here</a></p>

<h1><a name="NewSIPchanneldriver-ProjectPlanning"></a>Project Planning</h1>

<p>Jira issues will be posted here for the new chan_sip as they become created. If you are interested in helping with any of these, feel free to step forward and help out. Please comment on the specific Jira issue rather than on this page. If you wish to have more in-depth discussions about a task you wish to take on, then please direct the discussion to the <a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" class="external-link" rel="nofollow">Asterisk developers mailing list</a></p>

    
<p>
        <table cellspacing="0" class="grid" style="width: 100%">
        <tr>
            <th colspan="11" style="text-align: left; ">
                <a rel="nofollow" href="https://issues.asterisk.org/jira/secure/IssueNavigator.jspa?requestId=11921&amp;tempMax=1000">JIRA Issues</a>&nbsp;(14&nbsp;issues)            </th>
        </tr>
        <tr>
                            <th style="text-align: left; text-transform: capitalize;">Type</th>
                            <th style="text-align: left; text-transform: capitalize;">Key</th>
                            <th style="text-align: left; text-transform: capitalize;">Summary</th>
                            <th style="text-align: left; text-transform: capitalize;">Assignee</th>
                            <th style="text-align: left; text-transform: capitalize;">Reporter</th>
                            <th style="text-align: left; text-transform: capitalize;">Priority</th>
                            <th style="text-align: left; text-transform: capitalize;">Status</th>
                            <th style="text-align: left; text-transform: capitalize;">Resolution</th>
                            <th style="text-align: left; text-transform: capitalize;">Created</th>
                            <th style="text-align: left; text-transform: capitalize;">Updated</th>
                            <th style="text-align: left; text-transform: capitalize;">Due</th>
                    </tr>
                                                        <tr class="rowNormal">
                                                                            <td nowrap="true">
    
                                                    <a href="https://issues.asterisk.org/jira/browse/ASTERISK-20692"><img src="https://issues.asterisk.org/jira/images/icons/newfeature.gif" alt="New Feature" border="0" /></a>
                                            </td>
                                        <td nowrap="true">
    
                                                    <a href="https://issues.asterisk.org/jira/browse/ASTERISK-20692">ASTERISK-20692</a>
                                            </td>
                                        <td >
    
                                                    <a href="https://issues.asterisk.org/jira/browse/ASTERISK-20692">Implement a Data Access Layer for the new SIP channel driver</a>
                                            </td>
                                        <td nowrap="true">
    
                                                    Unassigned
                                            </td>
                                        <td nowrap="true">
    
                                                    Matt Jordan
                                            </td>
                                        <td nowrap="true">
    
                                                    <img src="https://issues.asterisk.org/jira/images/icons/priority_major.gif" alt="Major" border="0" />
                                            </td>
                                        <td nowrap="true">
    
                                                    <img src="https://issues.asterisk.org/jira/images/icons/status_open.gif" alt="" border="0" /> Open
                                            </td>
                                        <td nowrap="true">
    
                                                    <font color="990000">Unresolved</font>
                                            </td>
                                        <td nowrap="true">
    
                                                    Nov 16, 2012
                                            </td>
                                        <td nowrap="true">
    
                                                    Jan 03, 2013
                                            </td>
                                        <td nowrap="true">
    
                                                    
                                            </td>
                                    </tr>
                                                <tr class="rowAlternate">
                                                                            <td nowrap="true">
    
                                                    <a href="https://issues.asterisk.org/jira/browse/ASTERISK-20810"><img src="https://issues.asterisk.org/jira/images/icons/improvement.gif" alt="Improvement" border="0" /></a>
                                            </td>
                                        <td nowrap="true">
    
                                                    <a href="https://issues.asterisk.org/jira/browse/ASTERISK-20810">ASTERISK-20810</a>
                                            </td>
                                        <td >
    
                                                    <a href="https://issues.asterisk.org/jira/browse/ASTERISK-20810">Create res_sip</a>
                                            </td>
                                        <td nowrap="true">
    
                                                    Mark Michelson
                                            </td>
                                        <td nowrap="true">
    
                                                    Matt Jordan
                                            </td>
                                        <td nowrap="true">
    
                                                    <img src="https://issues.asterisk.org/jira/images/icons/priority_major.gif" alt="Major" border="0" />
                                            </td>
                                        <td nowrap="true">
    
                                                    <img src="https://issues.asterisk.org/jira/images/icons/status_open.gif" alt="" border="0" /> Open
                                            </td>
                                        <td nowrap="true">
    
                                                    <font color="990000">Unresolved</font>
                                            </td>
                                        <td nowrap="true">
    
                                                    Dec 17, 2012
                                            </td>
                                        <td nowrap="true">
    
                                                    Jan 03, 2013
                                            </td>
                                        <td nowrap="true">
    
                                                    
                                            </td>
                                    </tr>
                                                <tr class="rowNormal">
                                                                            <td nowrap="true">
    
                                                    <a href="https://issues.asterisk.org/jira/browse/ASTERISK-20811"><img src="https://issues.asterisk.org/jira/images/icons/improvement.gif" alt="Improvement" border="0" /></a>
                                            </td>
                                        <td nowrap="true">
    
                                                    <a href="https://issues.asterisk.org/jira/browse/ASTERISK-20811">ASTERISK-20811</a>
                                            </td>
                                        <td >
    
                                                    <a href="https://issues.asterisk.org/jira/browse/ASTERISK-20811">Create a packageable pjproject</a>
                                            </td>
                                        <td nowrap="true">
    
                                                    Unassigned
                                            </td>
                                        <td nowrap="true">
    
                                                    Matt Jordan
                                            </td>
                                        <td nowrap="true">
    
                                                    <img src="https://issues.asterisk.org/jira/images/icons/priority_major.gif" alt="Major" border="0" />
                                            </td>
                                        <td nowrap="true">
    
                                                    <img src="https://issues.asterisk.org/jira/images/icons/status_open.gif" alt="" border="0" /> Open
                                            </td>
                                        <td nowrap="true">
    
                                                    <font color="990000">Unresolved</font>
                                            </td>
                                        <td nowrap="true">
    
                                                    Dec 17, 2012
                                            </td>
                                        <td nowrap="true">
    
                                                    Dec 17, 2012
                                            </td>
                                        <td nowrap="true">
    
                                                    
                                            </td>
                                    </tr>
                                                <tr class="rowAlternate">
                                                                            <td nowrap="true">
    
                                                    <a href="https://issues.asterisk.org/jira/browse/ASTERISK-20814"><img src="https://issues.asterisk.org/jira/images/icons/issue_subtask.gif" alt="Sub-task" border="0" /></a>
                                            </td>
                                        <td nowrap="true">
    
                                                    <a href="https://issues.asterisk.org/jira/browse/ASTERISK-20814">ASTERISK-20814</a>
                                            </td>
                                        <td >
    
                                                    <a href="https://issues.asterisk.org/jira/browse/ASTERISK-20814">Fix all build warnings in pjproject</a>
                                            </td>
                                        <td nowrap="true">
    
                                                    Jason Parker
                                            </td>
                                        <td nowrap="true">
    
                                                    Matt Jordan
                                            </td>
                                        <td nowrap="true">
    
                                                    <img src="https://issues.asterisk.org/jira/images/icons/priority_major.gif" alt="Major" border="0" />
                                            </td>
                                        <td nowrap="true">
    
                                                    <img src="https://issues.asterisk.org/jira/images/icons/status_open.gif" alt="" border="0" /> Open
                                            </td>
                                        <td nowrap="true">
    
                                                    <font color="990000">Unresolved</font>
                                            </td>
                                        <td nowrap="true">
    
                                                    Dec 17, 2012
                                            </td>
                                        <td nowrap="true">
    
                                                    Jan 24, 2013
                                            </td>
                                        <td nowrap="true">
    
                                                    
                                            </td>
                                    </tr>
                                                <tr class="rowNormal">
                                                                            <td nowrap="true">
    
                                                    <a href="https://issues.asterisk.org/jira/browse/ASTERISK-20816"><img src="https://issues.asterisk.org/jira/images/icons/issue_subtask.gif" alt="Sub-task" border="0" /></a>
                                            </td>
                                        <td nowrap="true">
    
                                                    <a href="https://issues.asterisk.org/jira/browse/ASTERISK-20816">ASTERISK-20816</a>
                                            </td>
                                        <td >
    
                                                    <a href="https://issues.asterisk.org/jira/browse/ASTERISK-20816">Create a shared object target for PJLIBUtil (and friends)</a>
                                            </td>
                                        <td nowrap="true">
    
                                                    Unassigned
                                            </td>
                                        <td nowrap="true">
    
                                                    Matt Jordan
                                            </td>
                                        <td nowrap="true">
    
                                                    <img src="https://issues.asterisk.org/jira/images/icons/priority_major.gif" alt="Major" border="0" />
                                            </td>
                                        <td nowrap="true">
    
                                                    <img src="https://issues.asterisk.org/jira/images/icons/status_open.gif" alt="" border="0" /> Open
                                            </td>
                                        <td nowrap="true">
    
                                                    <font color="990000">Unresolved</font>
                                            </td>
                                        <td nowrap="true">
    
                                                    Dec 17, 2012
                                            </td>
                                        <td nowrap="true">
    
                                                    Feb 01, 2013
                                            </td>
                                        <td nowrap="true">
    
                                                    
                                            </td>
                                    </tr>
                                                <tr class="rowAlternate">
                                                                            <td nowrap="true">
    
                                                    <a href="https://issues.asterisk.org/jira/browse/ASTERISK-20824"><img src="https://issues.asterisk.org/jira/images/icons/issue_subtask.gif" alt="Sub-task" border="0" /></a>
                                            </td>
                                        <td nowrap="true">
    
                                                    <a href="https://issues.asterisk.org/jira/browse/ASTERISK-20824">ASTERISK-20824</a>
                                            </td>
                                        <td >
    
                                                    <a href="https://issues.asterisk.org/jira/browse/ASTERISK-20824">Create a CentOS package from the git repo</a>
                                            </td>
                                        <td nowrap="true">
    
                                                    Unassigned
                                            </td>
                                        <td nowrap="true">
    
                                                    Matt Jordan
                                            </td>
                                        <td nowrap="true">
    
                                                    <img src="https://issues.asterisk.org/jira/images/icons/priority_major.gif" alt="Major" border="0" />
                                            </td>
                                        <td nowrap="true">
    
                                                    <img src="https://issues.asterisk.org/jira/images/icons/status_open.gif" alt="" border="0" /> Open
                                            </td>
                                        <td nowrap="true">
    
                                                    <font color="990000">Unresolved</font>
                                            </td>
                                        <td nowrap="true">
    
                                                    Dec 17, 2012
                                            </td>
                                        <td nowrap="true">
    
                                                    Dec 20, 2012
                                            </td>
                                        <td nowrap="true">
    
                                                    
                                            </td>
                                    </tr>
                                                <tr class="rowNormal">
                                                                            <td nowrap="true">
    
                                                    <a href="https://issues.asterisk.org/jira/browse/ASTERISK-20823"><img src="https://issues.asterisk.org/jira/images/icons/issue_subtask.gif" alt="Sub-task" border="0" /></a>
                                            </td>
                                        <td nowrap="true">
    
                                                    <a href="https://issues.asterisk.org/jira/browse/ASTERISK-20823">ASTERISK-20823</a>
                                            </td>
                                        <td >
    
                                                    <a href="https://issues.asterisk.org/jira/browse/ASTERISK-20823">Update repotool scripts to produce a pjproject tarball</a>
                                            </td>
                                        <td nowrap="true">
    
                                                    Unassigned
                                            </td>
                                        <td nowrap="true">
    
                                                    Matt Jordan
                                            </td>
                                        <td nowrap="true">
    
                                                    <img src="https://issues.asterisk.org/jira/images/icons/priority_major.gif" alt="Major" border="0" />
                                            </td>
                                        <td nowrap="true">
    
                                                    <img src="https://issues.asterisk.org/jira/images/icons/status_open.gif" alt="" border="0" /> Open
                                            </td>
                                        <td nowrap="true">
    
                                                    <font color="990000">Unresolved</font>
                                            </td>
                                        <td nowrap="true">
    
                                                    Dec 17, 2012
                                            </td>
                                        <td nowrap="true">
    
                                                    Dec 20, 2012
                                            </td>
                                        <td nowrap="true">
    
                                                    
                                            </td>
                                    </tr>
                                                <tr class="rowAlternate">
                                                                            <td nowrap="true">
    
                                                    <a href="https://issues.asterisk.org/jira/browse/ASTERISK-20825"><img src="https://issues.asterisk.org/jira/images/icons/issue_subtask.gif" alt="Sub-task" border="0" /></a>
                                            </td>
                                        <td nowrap="true">
    
                                                    <a href="https://issues.asterisk.org/jira/browse/ASTERISK-20825">ASTERISK-20825</a>
                                            </td>
                                        <td >
    
                                                    <a href="https://issues.asterisk.org/jira/browse/ASTERISK-20825">Update Asterisk trunk to look for pjproject as a dependency</a>
                                            </td>
                                        <td nowrap="true">
    
                                                    Unassigned
                                            </td>
                                        <td nowrap="true">
    
                                                    Matt Jordan
                                            </td>
                                        <td nowrap="true">
    
                                                    <img src="https://issues.asterisk.org/jira/images/icons/priority_major.gif" alt="Major" border="0" />
                                            </td>
                                        <td nowrap="true">
    
                                                    <img src="https://issues.asterisk.org/jira/images/icons/status_open.gif" alt="" border="0" /> Open
                                            </td>
                                        <td nowrap="true">
    
                                                    <font color="990000">Unresolved</font>
                                            </td>
                                        <td nowrap="true">
    
                                                    Dec 17, 2012
                                            </td>
                                        <td nowrap="true">
    
                                                    Dec 20, 2012
                                            </td>
                                        <td nowrap="true">
    
                                                    
                                            </td>
                                    </tr>
                                                <tr class="rowNormal">
                                                                            <td nowrap="true">
    
                                                    <a href="https://issues.asterisk.org/jira/browse/ASTERISK-20867"><img src="https://issues.asterisk.org/jira/images/icons/newfeature.gif" alt="New Feature" border="0" /></a>
                                            </td>
                                        <td nowrap="true">
    
                                                    <a href="https://issues.asterisk.org/jira/browse/ASTERISK-20867">ASTERISK-20867</a>
                                            </td>
                                        <td >
    
                                                    <a href="https://issues.asterisk.org/jira/browse/ASTERISK-20867">Create a realtime configuration sorcery wizard using a new schema for chan_gulp</a>
                                            </td>
                                        <td nowrap="true">
    
                                                    Unassigned
                                            </td>
                                        <td nowrap="true">
    
                                                    Matt Jordan
                                            </td>
                                        <td nowrap="true">
    
                                                    <img src="https://issues.asterisk.org/jira/images/icons/priority_major.gif" alt="Major" border="0" />
                                            </td>
                                        <td nowrap="true">
    
                                                    <img src="https://issues.asterisk.org/jira/images/icons/status_open.gif" alt="" border="0" /> Open
                                            </td>
                                        <td nowrap="true">
    
                                                    <font color="990000">Unresolved</font>
                                            </td>
                                        <td nowrap="true">
    
                                                    Jan 03, 2013
                                            </td>
                                        <td nowrap="true">
    
                                                    Jan 18, 2013
                                            </td>
                                        <td nowrap="true">
    
                                                    
                                            </td>
                                    </tr>
                                                <tr class="rowAlternate">
                                                                            <td nowrap="true">
    
                                                    <a href="https://issues.asterisk.org/jira/browse/ASTERISK-20950"><img src="https://issues.asterisk.org/jira/images/icons/newfeature.gif" alt="New Feature" border="0" /></a>
                                            </td>
                                        <td nowrap="true">
    
                                                    <a href="https://issues.asterisk.org/jira/browse/ASTERISK-20950">ASTERISK-20950</a>
                                            </td>
                                        <td >
    
                                                    <a href="https://issues.asterisk.org/jira/browse/ASTERISK-20950">Add configuration support to the new SIP channel driver for the &#39;standard&#39; transports</a>
                                            </td>
                                        <td nowrap="true">
    
                                                    Joshua Colp
                                            </td>
                                        <td nowrap="true">
    
                                                    Matt Jordan
                                            </td>
                                        <td nowrap="true">
    
                                                    <img src="https://issues.asterisk.org/jira/images/icons/priority_major.gif" alt="Major" border="0" />
                                            </td>
                                        <td nowrap="true">
    
                                                    <img src="https://issues.asterisk.org/jira/images/icons/status_open.gif" alt="" border="0" /> Open
                                            </td>
                                        <td nowrap="true">
    
                                                    <font color="990000">Unresolved</font>
                                            </td>
                                        <td nowrap="true">
    
                                                    Jan 18, 2013
                                            </td>
                                        <td nowrap="true">
    
                                                    Jan 27, 2013
                                            </td>
                                        <td nowrap="true">
    
                                                    
                                            </td>
                                    </tr>
                                                <tr class="rowNormal">
                                                                            <td nowrap="true">
    
                                                    <a href="https://issues.asterisk.org/jira/browse/ASTERISK-20952"><img src="https://issues.asterisk.org/jira/images/icons/newfeature.gif" alt="New Feature" border="0" /></a>
                                            </td>
                                        <td nowrap="true">
    
                                                    <a href="https://issues.asterisk.org/jira/browse/ASTERISK-20952">ASTERISK-20952</a>
                                            </td>
                                        <td >
    
                                                    <a href="https://issues.asterisk.org/jira/browse/ASTERISK-20952">Create pjproject transport module for WebSockets for SIP over WS support</a>
                                            </td>
                                        <td nowrap="true">
    
                                                    Unassigned
                                            </td>
                                        <td nowrap="true">
    
                                                    Matt Jordan
                                            </td>
                                        <td nowrap="true">
    
                                                    <img src="https://issues.asterisk.org/jira/images/icons/priority_major.gif" alt="Major" border="0" />
                                            </td>
                                        <td nowrap="true">
    
                                                    <img src="https://issues.asterisk.org/jira/images/icons/status_open.gif" alt="" border="0" /> Open
                                            </td>
                                        <td nowrap="true">
    
                                                    <font color="990000">Unresolved</font>
                                            </td>
                                        <td nowrap="true">
    
                                                    Jan 18, 2013
                                            </td>
                                        <td nowrap="true">
    
                                                    Jan 18, 2013
                                            </td>
                                        <td nowrap="true">
    
                                                    
                                            </td>
                                    </tr>
                                                <tr class="rowAlternate">
                                                                            <td nowrap="true">
    
                                                    <a href="https://issues.asterisk.org/jira/browse/ASTERISK-20953"><img src="https://issues.asterisk.org/jira/images/icons/newfeature.gif" alt="New Feature" border="0" /></a>
                                            </td>
                                        <td nowrap="true">
    
                                                    <a href="https://issues.asterisk.org/jira/browse/ASTERISK-20953">ASTERISK-20953</a>
                                            </td>
                                        <td >
    
                                                    <a href="https://issues.asterisk.org/jira/browse/ASTERISK-20953">Create default authentication provider for chan_gulp</a>
                                            </td>
                                        <td nowrap="true">
    
                                                    Unassigned
                                            </td>
                                        <td nowrap="true">
    
                                                    Matt Jordan
                                            </td>
                                        <td nowrap="true">
    
                                                    <img src="https://issues.asterisk.org/jira/images/icons/priority_major.gif" alt="Major" border="0" />
                                            </td>
                                        <td nowrap="true">
    
                                                    <img src="https://issues.asterisk.org/jira/images/icons/status_open.gif" alt="" border="0" /> Open
                                            </td>
                                        <td nowrap="true">
    
                                                    <font color="990000">Unresolved</font>
                                            </td>
                                        <td nowrap="true">
    
                                                    Jan 18, 2013
                                            </td>
                                        <td nowrap="true">
    
                                                    Jan 18, 2013
                                            </td>
                                        <td nowrap="true">
    
                                                    
                                            </td>
                                    </tr>
                                                <tr class="rowNormal">
                                                                            <td nowrap="true">
    
                                                    <a href="https://issues.asterisk.org/jira/browse/ASTERISK-20955"><img src="https://issues.asterisk.org/jira/images/icons/newfeature.gif" alt="New Feature" border="0" /></a>
                                            </td>
                                        <td nowrap="true">
    
                                                    <a href="https://issues.asterisk.org/jira/browse/ASTERISK-20955">ASTERISK-20955</a>
                                            </td>
                                        <td >
    
                                                    <a href="https://issues.asterisk.org/jira/browse/ASTERISK-20955">Create default endpoint identification services for the new SIP channel driver</a>
                                            </td>
                                        <td nowrap="true">
    
                                                    Unassigned
                                            </td>
                                        <td nowrap="true">
    
                                                    Matt Jordan
                                            </td>
                                        <td nowrap="true">
    
                                                    <img src="https://issues.asterisk.org/jira/images/icons/priority_major.gif" alt="Major" border="0" />
                                            </td>
                                        <td nowrap="true">
    
                                                    <img src="https://issues.asterisk.org/jira/images/icons/status_open.gif" alt="" border="0" /> Open
                                            </td>
                                        <td nowrap="true">
    
                                                    <font color="990000">Unresolved</font>
                                            </td>
                                        <td nowrap="true">
    
                                                    Jan 18, 2013
                                            </td>
                                        <td nowrap="true">
    
                                                    Jan 18, 2013
                                            </td>
                                        <td nowrap="true">
    
                                                    
                                            </td>
                                    </tr>
                                                <tr class="rowAlternate">
                                                                            <td nowrap="true">
    
                                                    <a href="https://issues.asterisk.org/jira/browse/ASTERISK-21020"><img src="https://issues.asterisk.org/jira/images/icons/newfeature.gif" alt="New Feature" border="0" /></a>
                                            </td>
                                        <td nowrap="true">
    
                                                    <a href="https://issues.asterisk.org/jira/browse/ASTERISK-21020">ASTERISK-21020</a>
                                            </td>
                                        <td >
    
                                                    <a href="https://issues.asterisk.org/jira/browse/ASTERISK-21020">Add support for legacy sip.conf configuration in res_sip&#39;s supported sorcery backends</a>
                                            </td>
                                        <td nowrap="true">
    
                                                    Unassigned
                                            </td>
                                        <td nowrap="true">
    
                                                    Matt Jordan
                                            </td>
                                        <td nowrap="true">
    
                                                    <img src="https://issues.asterisk.org/jira/images/icons/priority_major.gif" alt="Major" border="0" />
                                            </td>
                                        <td nowrap="true">
    
                                                    <img src="https://issues.asterisk.org/jira/images/icons/status_open.gif" alt="" border="0" /> Open
                                            </td>
                                        <td nowrap="true">
    
                                                    <font color="990000">Unresolved</font>
                                            </td>
                                        <td nowrap="true">
    
                                                    Feb 01, 2013
                                            </td>
                                        <td nowrap="true">
    
                                                    Feb 07, 2013
                                            </td>
                                        <td nowrap="true">
    
                                                    
                                            </td>
                                    </tr>
                        </table>
</p>


<h1><a name="NewSIPchanneldriver-Referenceinformation"></a>Reference information</h1>

<p>The decision to move forward with a new chan_sip was made at <a href="/wiki/display/AST/AstriDevCon+2012" title="AstriDevCon 2012">AstriDevCon 2012</a>.</p>

<h2><a name="NewSIPchanneldriver-Testing"></a>Testing</h2>

<ul>
        <li><a href="http://bamboo.asterisk.org/browse/ASTTEAM-PIMPMYSIP" class="external-link" rel="nofollow">Build and Unit Tests </a></li>
</ul>


<h2><a name="NewSIPchanneldriver-NotableReviews"></a>Notable Reviews</h2>

<div class='table-wrap'>
<table class='confluenceTable'><tbody>
<tr>
<th class='confluenceTh'> Review </th>
<th class='confluenceTh'> Link </th>
</tr>
<tr>
<td class='confluenceTd'> res_sip and res_sip_session design review </td>
<td class='confluenceTd'> <a href="https://reviewboard.asterisk.org/r/2251/" class="external-link" rel="nofollow">https://reviewboard.asterisk.org/r/2251/</a> </td>
</tr>
<tr>
<td class='confluenceTd'> Initial work for res_sip and res_sip_session: Inbound and outbound calls work </td>
<td class='confluenceTd'> <a href="https://reviewboard.asterisk.org/r/2285/" class="external-link" rel="nofollow">https://reviewboard.asterisk.org/r/2285/</a> </td>
</tr>
<tr>
<td class='confluenceTd'> SIP authentication support </td>
<td class='confluenceTd'> <a href="https://reviewboard.asterisk.org/r/2310/" class="external-link" rel="nofollow">https://reviewboard.asterisk.org/r/2310/</a> </td>
</tr>
<tr>
<td class='confluenceTd'> Pimp My SIP Media Improvements </td>
<td class='confluenceTd'> <a href="https://reviewboard.asterisk.org/r/2318/" class="external-link" rel="nofollow">https://reviewboard.asterisk.org/r/2318/</a> </td>
</tr>
<tr>
<td class='confluenceTd'> Make new SIP work make use of threadpool </td>
<td class='confluenceTd'> <a href="https://reviewboard.asterisk.org/r/2305/" class="external-link" rel="nofollow">https://reviewboard.asterisk.org/r/2305/</a> </td>
</tr>
<tr>
<td class='confluenceTd'> Fix pjproject's build system to support shared objects </td>
<td class='confluenceTd'> <a href="https://code.asterisk.org/code/cru/CR-AST-12" class="external-link" rel="nofollow">https://code.asterisk.org/code/cru/CR-AST-12</a> </td>
</tr>
</tbody></table>
</div>

    </div>
        <div id="commentsSection" class="wiki-content pageSection">
        <div style="float: right;" class="grey">
                        <a href="https://wiki.asterisk.org/wiki/users/removespacenotification.action?spaceKey=AST">Stop watching space</a>
            <span style="padding: 0px 5px;">|</span>
                <a href="https://wiki.asterisk.org/wiki/users/editmyemailsettings.action">Change email notification preferences</a>
</div>
        <a href="https://wiki.asterisk.org/wiki/display/AST/New+SIP+channel+driver">View Online</a>
        |
        <a href="https://wiki.asterisk.org/wiki/pages/diffpagesbyversion.action?pageId=21464232&revisedVersion=13&originalVersion=12">View Changes</a>
                |
        <a href="https://wiki.asterisk.org/wiki/display/AST/New+SIP+channel+driver?showComments=true&amp;showCommentArea=true#addcomment">Add Comment</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>