[asterisk-bugs] [JIRA] (ASTERISK-20955) Create default endpoint identification services for the new SIP channel driver

Matt Jordan (JIRA) noreply at issues.asterisk.org
Fri Jan 18 09:47:23 CST 2013


     [ https://issues.asterisk.org/jira/browse/ASTERISK-20955?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Jordan updated ASTERISK-20955:
-----------------------------------

    Description: 

For reference, please see the following wiki pages:
* [New SIP Channel Driver Architecture|https://wiki.asterisk.org/wiki/display/AST/New+SIP+Channel+Driver+Architecture]
* [res_sip Design|https://wiki.asterisk.org/wiki/display/AST/res_sip+design]


In the current incarnation of  {{res_sip}} and {{chan_gulp}}, there is no endpoint identification. There is a {{res_sip_endpoint_identifier_constant}}, but it does basically what the name implies - it returns the same endpoint for all requests.

So, we need an endpoint identifier. This resource module should implement the function callbacks for endpoint identification as documented on the [res_sip Design|https://wiki.asterisk.org/wiki/display/AST/res_sip+design] page, register itself with {{res_sip}} (making sure, of course, that it's loaded after res_sip), and start identifying!

What does identification mean?
# You must be able to query the data access layer for endpoints and return the correct endpoint.
# The data access layer needs to be robust enough to provide endpoints from (at a minimum) a static configuration file.
# The endpoint identification should have well defined business logic that determines how it identifies an endpoint from a SIP request. This MUST be documented on the wiki.


  was:
{info}
For reference, please see the following wiki pages:
* [New SIP Channel Driver Architecture|https://wiki.asterisk.org/wiki/display/AST/New+SIP+Channel+Driver+Architecture]
* [res_sip Design|https://wiki.asterisk.org/wiki/display/AST/res_sip+design]
{info}

In the current incarnation of  {{res_sip}} and {{chan_gulp}}, there is no endpoint identification. There is a {{res_sip_endpoint_identifier_constant}}, but it does basically what the name implies - it returns the same endpoint for all requests.

So, we need an endpoint identifier. This resource module should implement the function callbacks for endpoint identification as documented on the [res_sip Design|https://wiki.asterisk.org/wiki/display/AST/res_sip+design] page, register itself with {{res_sip}} (making sure, of course, that it's loaded after res_sip), and start identifying!

What does identification mean?
# You must be able to query the data access layer for endpoints and return the correct endpoint.
# The data access layer needs to be robust enough to provide endpoints from (at a minimum) a static configuration file.
# The endpoint identification should have well defined business logic that determines how it identifies an endpoint from a SIP request. This MUST be documented on the wiki.


    
> Create default endpoint identification services for the new SIP channel driver
> ------------------------------------------------------------------------------
>
>                 Key: ASTERISK-20955
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20955
>             Project: Asterisk
>          Issue Type: New Feature
>          Components: Channels/chan_gulp
>            Reporter: Matt Jordan
>              Labels: Asterisk12, NewSIP
>
> For reference, please see the following wiki pages:
> * [New SIP Channel Driver Architecture|https://wiki.asterisk.org/wiki/display/AST/New+SIP+Channel+Driver+Architecture]
> * [res_sip Design|https://wiki.asterisk.org/wiki/display/AST/res_sip+design]
> In the current incarnation of  {{res_sip}} and {{chan_gulp}}, there is no endpoint identification. There is a {{res_sip_endpoint_identifier_constant}}, but it does basically what the name implies - it returns the same endpoint for all requests.
> So, we need an endpoint identifier. This resource module should implement the function callbacks for endpoint identification as documented on the [res_sip Design|https://wiki.asterisk.org/wiki/display/AST/res_sip+design] page, register itself with {{res_sip}} (making sure, of course, that it's loaded after res_sip), and start identifying!
> What does identification mean?
> # You must be able to query the data access layer for endpoints and return the correct endpoint.
> # The data access layer needs to be robust enough to provide endpoints from (at a minimum) a static configuration file.
> # The endpoint identification should have well defined business logic that determines how it identifies an endpoint from a SIP request. This MUST be documented on the wiki.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list