[Freeswitch-users] Address already in use on capture
Seven Du
dujinfang at gmail.com
Fri Feb 10 14:27:01 MSK 2012
Update: I made a patch which fixed a string problem
http://jira.freeswitch.org/browse/FS-3896
but I still have a problem discribed on jira.
Thanks.
On Friday, February 10, 2012 at 4:06 PM, Seven Du wrote:
> Got Address already in use in the following log.
>
> FreeSWITCH Version 1.0.head (git-4a649ec 2012-02-01 10-13-28 +0800) Linux CentOS 5.7
>
> I added a nua_log which printed 7060 below and 7060 is supposed to be my capture server and the error is the same even I closed the capture server.
>
> Can anyone hightlight where should I look? I can open remote ssh if necessary.
>
> btw, I have no problem when test on my Mac.
>
> Thanks.
>
>
> freeswitch at internal> sofia profile internal capture on
> Enabled sip capturing on internal
> nua: nua_set_params: entering
> nua((nil)): sent signal r_set_params
> nua((nil)): recv signal r_set_params
> nua: nua_stack_set_params: entering
> soa_set_params(static::0x9314488, ...) called
> --------------------------------7060-------------------------------
> capture: su_getaddrinfo(): Address already in use
> nua((nil)): event r_set_params 200 OK
> nua: nua_application_event: entering
> nua: nua_handle_magic: entering
> freeswitch at internal>
> freeswitch at internal> sofia profi loglevel all 0
> Sofia log level for component [all] has been set to [0]
>
>
> diff --git a/libs/sofia-sip/libsofia-sip-ua/tport/tport_logging.c b/libs/sofia-sip/libsofia-sip-ua/tport/tport_logging.c
> index 200ca5c..dec2d4a 100644
> --- a/libs/sofia-sip/libsofia-sip-ua/tport/tport_logging.c
> +++ b/libs/sofia-sip/libsofia-sip-ua/tport/tport_logging.c
> @@ -174,6 +174,7 @@ int tport_open_log(tport_master_t *mr, tagi_t *tags)
> *p = '\0';
> p++;
>
> + su_log("--------------------------------%s-------------------------------\n",p);
> if (atoi(p) <1024 || atoi(p)>65536)
> {
> su_log("invalid port number; must be in [1024,65536]\n");
>
>
>
>
>
> --
> About: http://about.me/dujinfang
> Blog: http://www.dujinfang.com
> Proj: http://www.freeswitch.org.cn
>
> Sent with Sparrow (http://www.sparrowmailapp.com)
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120210/7903eb9f/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list