diff options
Diffstat (limited to 'channels/sip')
-rw-r--r-- | channels/sip/config_parser.c | 2 | ||||
-rw-r--r-- | channels/sip/include/sip.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/channels/sip/config_parser.c b/channels/sip/config_parser.c index 6fc83248d..27ded99b8 100644 --- a/channels/sip/config_parser.c +++ b/channels/sip/config_parser.c @@ -684,7 +684,7 @@ int sip_parse_host(char *line, int lineno, char **hostname, int *portnum, enum a } if (port) { - if (!sscanf(port, "%5u", portnum)) { + if (!sscanf(port, "%5d", portnum)) { if (lineno) { ast_log(LOG_NOTICE, "'%s' is not a valid port number on line %d of sip.conf. using default.\n", port, lineno); } else { diff --git a/channels/sip/include/sip.h b/channels/sip/include/sip.h index 2659b91f9..e2ab6e19a 100644 --- a/channels/sip/include/sip.h +++ b/channels/sip/include/sip.h @@ -1304,7 +1304,7 @@ struct sip_peer { int ringing; /*!< Number of calls ringing */ int onhold; /*!< Peer has someone on hold */ int call_limit; /*!< Limit of concurrent calls */ - int t38_maxdatagram; /*!< T.38 FaxMaxDatagram override */ + unsigned int t38_maxdatagram; /*!< T.38 FaxMaxDatagram override */ int busy_level; /*!< Level of active channels where we signal busy */ int maxforwards; /*!< SIP Loop prevention */ enum transfermodes allowtransfer; /*! SIP Refer restriction scheme */ |