Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
ef75b9a0
Commit
ef75b9a0
authored
Apr 21, 2010
by
Simon Morlat
Browse files
fix bug with invalid contacts in registers.
parent
7c54c3cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
coreapi/sal_eXosip2.c
coreapi/sal_eXosip2.c
+3
-0
No files found.
coreapi/sal_eXosip2.c
View file @
ef75b9a0
...
@@ -377,6 +377,9 @@ int sal_listen_port(Sal *ctx, const char *addr, int port, SalTransport tr, int i
...
@@ -377,6 +377,9 @@ int sal_listen_port(Sal *ctx, const char *addr, int port, SalTransport tr, int i
if
(
ctx
->
sock
==-
1
)
return
-
1
;
if
(
ctx
->
sock
==-
1
)
return
-
1
;
ms_message
(
"Exosip is given socket %i"
,
ctx
->
sock
);
ms_message
(
"Exosip is given socket %i"
,
ctx
->
sock
);
eXosip_set_socket
(
proto
,
ctx
->
sock
,
port
);
eXosip_set_socket
(
proto
,
ctx
->
sock
,
port
);
/* this is to properly initialize the udp transport layer of eXosip, as we don't use eXosip_listen_addr() */
/* otherwise we have a bug with improper contacts in registers: <sip:user@host:;line=jIjijde68>*/
eXosip_masquerade_contact
(
NULL
,
0
);
/*
/*
err=eXosip_listen_addr(proto, addr, port, ipv6 ? PF_INET6 : PF_INET, 0);
err=eXosip_listen_addr(proto, addr, port, ipv6 ? PF_INET6 : PF_INET, 0);
*/
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment