When generating a contact address from a SIPS-only stack, "sips" is the
correct protocol string.  Currently, the stack generates a message
similar to this:

> ------------------------------------------------------------------------
>    REGISTER sips:[EMAIL PROTECTED] SIP/2.0
>    Via: SIP/2.0/TLS 10.254.0.2;branch=z9hG4bKSrg637849UZcg
>    Max-Forwards: 70
>    From: 1096 <sips:[EMAIL PROTECTED]>;tag=7g7p0Dp677B8S
>    To: 1096 <sips:[EMAIL PROTECTED]>
>    Call-ID: 69d904b8-2d46-122c-708c-00221912db3d
>    CSeq: 107237335 REGISTER
>    Contact: <sip:[EMAIL 
> PROTECTED]>;expires=120;methods="INVITE,ACK,CANCEL,OPTIONS,PRACK,BYE"
>    Allow: INVITE, ACK, CANCEL, OPTIONS, PRACK, BYE
>    Supported: timer, 100rel, path
>    Content-Length: 0
>    
>    ------------------------------------------------------------------------

This patch corrects that behavior.
New patches:

[sips_in_contact_bug
Jarod Neuner <[EMAIL PROTECTED]>**20081114232648] {
hunk ./libsofia-sip-ua/nua/nua_register.c 2014
+    url.url_scheme = url_scheme(url_sips);
}

Context:

[nta: new tag NTATAG_TLS_RPORT()
Fabio Ferrari <fabioferrari AT gmail DOT com>**20081112173028] 
[su_alloc.c: prevent mutex handle leak in WIN32
Jeff Lenk <jlenk at frontiernet dot net>**20081022132800] 
[sip_bad_mask: so not require valid Supported
Brian Czapiga <rys at evool dot com>**20081022131019
 
 Cisco phones seem to generate bad Supported header.
] 
[nua/check_session.c: Disabled OPTIONS keepalives in call tests
Mikhail Zabaluev <[EMAIL PROTECTED]>**20081014130006] 
[nua/check_register.c: Increased test timeouts to 10 seconds
Mikhail Zabaluev <[EMAIL PROTECTED]>**20081014125812
 
 This prevents occasional test timeout errors in Maemo Scratchbox.
] 
[Resolved a conflict in outbound.c with the natify patch
Mikhail Zabaluev <[EMAIL PROTECTED]>**20081006130214] 
[outbound.c: Retain keepalives even when 'natify' is disabled
Mikhail Zabaluev <[EMAIL PROTECTED]>**20071002153047] 
[outbound.c: Do keepalives even when no NAT was detected
Mikhail Zabaluev <[EMAIL PROTECTED]>**20071002145122] 
[test_100rel.c: fixed timing problem w/ failing PRACK case
Pekka Pessi <[EMAIL PROTECTED]>**20080912205508] 
[nua_stack.c: keep reference when destroying un-ACKed INVITE
Pekka Pessi <[EMAIL PROTECTED]>**20080912162518] 
[sofia-sip/msg_header.h: added msg_header_add_format(()
Pekka Pessi <[EMAIL PROTECTED]>**20080903173521] 
[nua_stack.c: un-ACKed INVITE was destroyed twice on nh_destroy()
Pekka Pessi <[EMAIL PROTECTED]>**20080912155946] 
[check_session.c: added test cases for multiple INVITEs and INVITE glare
Pekka Pessi <[EMAIL PROTECTED]>**20080910161057] 
[nua_session.c: always start next INVITE after ACK
Pekka Pessi <[EMAIL PROTECTED]>**20080910160847] 
[test_100rel.c: fixed timing problems with response to BYE
Pekka Pessi <[EMAIL PROTECTED]>**20080910160557] 
[test_s2.c: add From tag to s2-generated requests
Pekka Pessi <[EMAIL PROTECTED]>**20080910154636] 
[soa_static.c: soa_static_process_reject() backs up only if it has to back up
Pekka Pessi <[EMAIL PROTECTED]>**20080910154525] 
[soa.c: document what function table contains by default
Pekka Pessi <[EMAIL PROTECTED]>**20080910154440
 
 For easy TAGS usage.
] 
[check_session.c: added test cases for nua_handle_destroy() and nua_respond()
Pekka Pessi <[EMAIL PROTECTED]>**20080910144906] 
[check_session.c: bye_4_1_11 - checking BYE in completing state
Pekka Pessi <[EMAIL PROTECTED]>**20080910144018] 
[check_session.c: renamed call error cases (3.1, 3.2)
Pekka Pessi <[EMAIL PROTECTED]>**20080910143923] 
[check_session.c: added more CANCEL cases
Pekka Pessi <[EMAIL PROTECTED]>**20080910143735
 
 2.2.5 - CANCEL glare test case (failing)
 2.2.6 - Simple nua UAS CANCEL case
 2.2.7 - RFC 2543 client CANCELing, nua as UAS
] 
[check_session.c: added TCP call cases call_2_1_2_2 and call_2_1_3_2
Pekka Pessi <[EMAIL PROTECTED]>**20080910142228] 
[test_s2.c: use only tport protocol if primary tport is given
Pekka Pessi <[EMAIL PROTECTED]>**20080910135653] 
[check_session.c: added case 2.1.8, Call using NUTAG_PROXY().
Pekka Pessi <[EMAIL PROTECTED]>**20080910133903] 
[check_session.c: added tests for PRACK and preconditions
Pekka Pessi <[EMAIL PROTECTED]>**20080910133400] 
[test_s2.c: turn on s2 tport log if environment variable S2_TPORT_LOG is set
Pekka Pessi <[EMAIL PROTECTED]>**20080910132958] 
[test_s2.c: allow user-specified VIA in requests from s2
Pekka Pessi <[EMAIL PROTECTED]>**20080910132917] 
[nua_session.c: fixed client request reference counting in 
nua_session_usage_remove()
Pekka Pessi <[EMAIL PROTECTED]>**20080910130524
 
 Bug reported by Della Betta Filippo.
] 
[sdp: updated documentation
Pekka Pessi <[EMAIL PROTECTED]>**20080903183706] 
[nua: using nua_client_set_terminating()
Pekka Pessi <[EMAIL PROTECTED]>**20080903182106] 
[nua: added reference counting for client-side transactions
Pekka Pessi <[EMAIL PROTECTED]>**20080903182029] 
[nua: using HAVE_MEMLEAK_LOG
Pekka Pessi <[EMAIL PROTECTED]>**20080903175522
 
 Logging nua_handle_ref() and nua_handle_unref().
] 
[nua_tag.c: updated documentation on NUA tags
Pekka Pessi <[EMAIL PROTECTED]>**20080903175017] 
[outbound.c: do not use OPTIONS keepalive by default but on UDP
Pekka Pessi <[EMAIL PROTECTED]>**20080903174953
 
 On TCP, use TCP-level keepalives.
] 
[configure.ac: added --enable-memleag-log and HAVE_MEMLEAK_LOG
Pekka Pessi <[EMAIL PROTECTED]>**20080903171143] 
[outgoing_complete(): avoid assert if completing already completed request
Pekka Pessi <[EMAIL PROTECTED]>**20080814152216] 
[nta: when in UAS mode, respond to CANCEL and INVITE with same tag 
Pekka Pessi <[EMAIL PROTECTED]>**20080814152121
 
 Added mreply(), internal function for responding to a request message
 Also, tag INVITE before responding to CANCEL.
] 
[nua_session.c: destroying invite transaction only after nua_i_invite is sent
Pekka Pessi <[EMAIL PROTECTED]>**20080813170333
 
 Added nua_client_request_clean(), nua_invite_client_should_ack().
] 
[nua_dialog.c: clear reference in server request before freeing it
Pekka Pessi <[EMAIL PROTECTED]>**20080813142328] 
[sdp_parse: the syntax is updated to RFC 4566
Pekka Pessi <[EMAIL PROTECTED]>**20080812165616
 
 "The changes to the memo are intended to be backward-compatible
 clarifications."
] 
[nua: updated tag documentation
Pekka Pessi <[EMAIL PROTECTED]>**20080808134149] 
[nua: fix bug #2041747 with Organization header
Pekka Pessi <[EMAIL PROTECTED]>**20080808120934
 
 Using Organization tags crashed the nua stack.
] 
[nua_subnotref.c: do not terminate SUBSCRIBE usage if Expires: 0 is used
Pekka Pessi <[EMAIL PROTECTED]>**20080808115501
 
 Terminate subscription only when NOTIFY is received or timeout occurs.
] 
[soa_static.c: increment version number in o= line only when generating offer 
or answer
Pekka Pessi <[EMAIL PROTECTED]>**20080807115301
 
 Bug reported by Timo Bruhn.
] 
[nua_subnotref.c: nua_unsubscribe() should not terminate usage w/ final response
Pekka Pessi <[EMAIL PROTECTED]>**20080806191730
 
 Do not terminate until final NOTIFY or timeout.
] 
[nta: fix to #2037585: always release error callback when changing transports
Pekka Pessi <[EMAIL PROTECTED]>**20080806184913] 
[run_test_nta: exit 77 if named refuses to start
Pekka Pessi <[EMAIL PROTECTED]>**20080806182848] 
[Fix an sdp module usage example codec compilation error (patch #2031162)
Stefano Sabatini**20080804181209] 
[m4/sac-general.m4: fixed --enable-ndebug and --enable-expensive-checks
Fabio Margarido <fabiomargarido AT gmail DOT com>**20080725145708] 
[su_time0.c, m4/sac-su2.m4: check for CLOCK_MONOTONIC, too
Pekka Pessi <[EMAIL PROTECTED]>**20080724170433] 
[sofia-sip/su_tagarg.h: if va_copy is missing, fall back to __va_copy or memcpy
Pekka Pessi <[EMAIL PROTECTED]>**20080724170217] 
[nta_test.c: reindented invite_client_t initializers
Pekka Pessi <[EMAIL PROTECTED]>**20080724160018] 
[nta: changed type of NTATAG_SERVER_RPORT() back to signed int
Pekka Pessi <[EMAIL PROTECTED]>**20080723162257
 
 Documented magic value 2 for server rport.
] 
[test_s2.[hc]: added s2_nua_thread
Pekka Pessi <[EMAIL PROTECTED]>**20080712141106] 
[soa_generate_answer(): fixed error in documentation
Pekka Pessi <[EMAIL PROTECTED]>**20080712140936] 
[tport.c: checking for non-NULL pointer in predicate functions
Pekka Pessi <[EMAIL PROTECTED]>**20080712140848] 
[docs/release_management.txt: updated source upload directions
Pekka Pessi <[EMAIL PROTECTED]>**20080712140806] 
[configure.ac, RELEASE: opened development head
Pekka Pessi <[EMAIL PROTECTED]>**20080712140720] 
[outbound.c: destroy response to OPTIONS keepalive only when it is no more used
[EMAIL PROTECTED] 
[check_session.c: added test case call_error_3_2_3
[EMAIL PROTECTED] 
[test_soa.c: added test for a=sendonly/a=inactive handling
[EMAIL PROTECTED] 
[TAG 1.12.9
Pekka Pessi <[EMAIL PROTECTED]>**20080605155859] 
Patch bundle hash:
897a5872fa12df8d0196fb56d2b8d95795b0facc
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to