Hi all,
I'd like send a REGISTER using the draft-sip-outbound.
However, the contact header generated by sofia, hasn't the reg-id and
+sip.instance params.
I'm using sofia 1.12.9 and my code is:
nua_create(app_sofia.root, nua_event_callback, &app_sofia,
NUTAG_URL("sip:192.168.163.151:5060;transport=udp"<sip:192.168.163.151:5060;transport=udp>),
NUTAG_SIPS_URL("sips:192.168.163.151:5061;transport=tls"),
NUTAG_CERTIFICATE_DIR("/etc/ssl"),
NUTAG_MEDIA_ENABLE(TRUE),
NUTAG_OUTBOUND("gruuize outbound no-validate no-use-port
no-options-keepalive no-natify"),
NUTAG_INSTANCE(sip_instance),
SOATAG_AF(SOA_AF_IP4_ONLY),
SOATAG_RTP_SELECT(SOA_RTP_SELECT_SINGLE),
SOATAG_SRTP_ENABLE(TRUE),
SOATAG_SRTP_INTEGRITY(TRUE),
SOATAG_SRTP_CONFIDENTIALITY(TRUE),
TAG_IF(caps_str, SOATAG_CAPS_SDP_STR(caps_str)),
TAG_NULL());
nh = nua_handle(app_sofia.nua, NULL,
SIPTAG_TO_STR(register_from),
SIPTAG_FROM_STR(register_from),
TAG_END());
nua_register(nh,
SIPTAG_EXPIRES_STR(expires_str),
NUTAG_M_DISPLAY(sRealName),
NUTAG_M_USERNAME(sIdentidade),
NUTAG_M_PARAMS("transport=tls"),
NUTAG_CALLEE_CAPS(0),
TAG_END());
Any help pointing me in the right direction would be greatly appreciated.
Thanks in advance,
Paulo Pizarro
-------------------------------------------------------------------------
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