[asterisk-bugs] [JIRA] (ASTERISK-24000) chan_pjsip: Add accountcode setting

Jan Svoboda (JIRA) noreply at issues.asterisk.org
Sun Jul 20 06:01:56 CDT 2014


    [ https://issues.asterisk.org/jira/browse/ASTERISK-24000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=220755#comment-220755 ] 

Jan Svoboda commented on ASTERISK-24000:
----------------------------------------

Hi,

I just came across the same problem, not being able to set the accountcode on PJSIP channels and found this issue.

I noticed that the DB migration file 1d50859ed02e_create_accountcode.py specifies the accountcode column to be a string with the max length of 20.

While the max length of accountcode is currently defined by AST_MAX_ACCOUNT_CODE and being se to 20 in channel.h, I think this limit should be increased to allow the use of UUIDs as account codes.

> chan_pjsip: Add accountcode setting
> -----------------------------------
>
>                 Key: ASTERISK-24000
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24000
>             Project: Asterisk
>          Issue Type: New Feature
>      Security Level: None
>          Components: Channels/chan_pjsip, Resources/res_pjsip
>            Reporter: Matt Jordan
>            Assignee: Matt Jordan
>
> Most channel drivers allow a user to configure a default accountcode to be associated with channels that are created for an endpoint/peer/what-have-you. {{chan_pjsip}}/{{res_pjsip}} does not.
> We probably should allow for that - it makes it a bit easier than setting it up in the dialplan.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list