sccp_manager icon indicating copy to clipboard operation
sccp_manager copied to clipboard

two entries pointing to the same host, causing conflicts

Open hboetes opened this issue 4 years ago • 6 comments

If you'd examine the templates generated by sccp_manager: They create two entries for my hosts, one for the external and one for the external IP. This is causing delays. Where can I configure it only using the internal IP?

    <callManagerGroup>                                                                                                                                                        
      <members>                                                                                                                                                               
        <member priority="0">                                                                                                                                                 
          <callManager>                                                                                                                                                       
            <ports>                                                                                                                                                           
              <ethernetPhonePort>2000</ethernetPhonePort>                                                                                                                     
            </ports>                                                                                                                                                          
            <processNodeName>10.10.10.10</processNodeName>                                                                                                                     
          <name>Asterix</name></callManager>                                                                                                                                  
        </member>                                                                                                                                                             
      <member priority="1">                                                                                                                                                   
          <callManager>                                                                                                                                                       
            <ports>                                                                                                                                                           
              <ethernetPhonePort>2000</ethernetPhonePort>                                                                                                                     
            </ports>                                                                                                                                                          
            <processNodeName>123.45.67.8</processNodeName>                                                                                                                    
          <name>Asterix</name></callManager>                                                                                                                                  
        </member></members>                                                                                                                                                   
    </callManagerGroup>                                                                                                                                                       

hboetes avatar Mar 06 '20 02:03 hboetes

@PhantomVl Both members should never point at the same server (causes looping) and srst should be disabled... The problem with current config is "crossover connections and looping". Secondary members are normally only used for cluster connections to a secondary server.

dkgroot avatar Mar 06 '20 02:03 dkgroot

The configuration includes all interfaces on which the server listens . You can also specify an external address in the settings . The network configuration must ensure that only one connection address is available.

PhantomVl avatar Mar 06 '20 10:03 PhantomVl

  • This is far from obvious while reading the configuration page.
  • After committing it restarts the module and kicks everyone. A warning would be in place. A separate restart button would also be an idea.

hboetes avatar Mar 06 '20 10:03 hboetes

On the positive side, registering of phones was a lot faster this time.

hboetes avatar Mar 06 '20 10:03 hboetes

Text description next to the bind:address setting:

 Bind Address: The address to bind to for SCCP. In general, it should be set to '0.0.0.0'. If you find problems with one-way audio, you can set this to a specific address in the server. Note that '127.0.0.1' is always wrong here. Also note that placing in your external IP address will cause the chan_sccp module to not load. A manual edit of the /etc/asterisk/sccp.conf file will be needed to fix and reload the module. 

Doesn't that sound oddly familiar?

hboetes avatar Mar 06 '20 10:03 hboetes

It sounds like that help text could use a little cleanup :-)

dkgroot avatar Mar 07 '20 01:03 dkgroot