[asterisk-bugs] [JIRA] (ASTERISK-21315) Asterisk not loading port option for sip from MySQL

Eugene Voityuk (JIRA) noreply at issues.asterisk.org
Fri Mar 29 11:12:04 CDT 2013


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

Eugene Voityuk updated ASTERISK-21315:
--------------------------------------

    Status: Waiting for Feedback  (was: Waiting for Feedback)

You need to have mysql table(sip_users), with all fields, in column port setup default value 5060, then create sip peer with port setuped to 5068(for example), in extconfig.conf write: 
sipusers => mysql,pbxconf,sip_users
sippeers => mysql,pbxconf,sip_users
reload configuration, peer will become visible, but the port will be set to 5060 not the one that you have for the peer.
If i am using sip.conf instead of DB it's works just fine, but i need DB.
No this is not the bindport in sip.conf  
                
> Asterisk not loading port option for sip from MySQL
> ---------------------------------------------------
>
>                 Key: ASTERISK-21315
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21315
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: PBX/pbx_realtime, Resources/res_odbc
>    Affects Versions: 1.8.20.1
>         Environment: MySQL: Server version: 5.1.67-log Source distribution
> CentOS release 6.4 (Final)
> Asterisk 1.8.20.1 built by root @ distro-el6.asterroid.com on a x86_64 running Linux on 2013-03-13 10:10:51 UTC
>            Reporter: Eugene Voityuk
>            Assignee: Eugene Voityuk
>            Severity: Minor
>
> So basicly, i have MySQL database to which my asterisk is connected, all works fine, for example i am creating trunk and it is workable, but the "port" option always load 5060(default value), even if i specify there another. from file everything works fine.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list