diff -Naur old/chan_sip.c new/chan_sip.c --- old/chan_sip.c 2009-01-07 17:51:32.000000000 +0000 +++ new/chan_sip.c 2009-01-08 12:04:05.000000000 +0000 @@@ -9393,9 +9396,8 @@ if (!ast_strlen_zero(r->callback)) ast_string_field_set(p, exten, r->callback); - /* Set transport and port so the correct contact is built */ + /* Set transport so the correct contact is built */ p->socket.type = r->transport; - p->socket.port = htons(r->portno); /* check which address we should use in our contact header based on whether the remote host is on the external or