hi,
I' ve tested the last version of sofsip_cli but I still has some troubles.
here is what it appears to me:

[EMAIL PROTECTED] ~]# sofsip_cli sip:[EMAIL PROTECTED]
** Message: This program is linked against GStreamer 0.10.3

** (sofsip_cli:19849): DEBUG: priv_verify_required_elements:191
** Message: Verifying GST element "mulawenc" -> OK
** Message: Verifying GST element "mulawdec" -> OK
** Message: Verifying GST element "dynudpsink" -> OK
** Message: Verifying GST element "udpsrc" -> OK
** (sofsip_cli:19849): DEBUG: ssc_media_class_init:124
** (sofsip_cli:19849): DEBUG: ssc_media_gst_class_init:138
** (sofsip_cli:19849): DEBUG: ssc_media_init:167
** Message: Selecting media implementation: gstreamer
** (sofsip_cli:19849): DEBUG: priv_static_capabilities_gst
sofsip> UA: unknown event 23: 200 OK
   ::tag_null: 0
sofsip> UA: nua_r_getparams: 200 OK
   sip::from: sip:[EMAIL PROTECTED]
   sip::from_str: " sip:[EMAIL PROTECTED] "
   nua::retry_count: 3
   nua::max_subscriptions: 20
   nua::enableInvite: true
   nua::autoAlert: true
   nua::early_media: false
   nua::autoAnswer: false
   nua::autoACK: true
   nua::invite_timer: 120
   nua::session_timer: 0
   nua::min_se: 120
   nua::session_refresher: 0
   nua::update_refresh: false
   nua::enableMessage: true
   nua::enableMessenger: false
   nua::callee_caps: false
   nua::media_features: false
   nua::service_route_enable: true
   nua::path_enable: true
   nua::substate: 2
   sip::supported: timer, 100rel
   sip::supported_str: "timer, 100rel"
   sip::allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE
   sip::allow_str: "INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE"
   sip::user_agent: sofia-sip/[EMAIL PROTECTED] ~]# sofsip_cli sip:[EMAIL PROTECTED]
** Message: This program is linked against GStreamer 0.10.3

** (sofsip_cli:19849): DEBUG: priv_verify_required_elements:191
** Message: Verifying GST element "mulawenc" -> OK
** Message: Verifying GST element "mulawdec" -> OK
** Message: Verifying GST element "dynudpsink" -> OK
** Message: Verifying GST element "udpsrc" -> OK
** (sofsip_cli:19849): DEBUG: ssc_media_class_init:124
** (sofsip_cli:19849): DEBUG: ssc_media_gst_class_init:138
** (sofsip_cli:19849): DEBUG: ssc_media_init:167
** Message: Selecting media implementation: gstreamer
** (sofsip_cli:19849): DEBUG: priv_static_capabilities_gst
sofsip> UA: unknown event 23: 200 OK
   ::tag_null: 0
sofsip> UA: nua_r_getparams: 200 OK
   sip::from: sip:[EMAIL PROTECTED]
   sip::from_str: " sip:[EMAIL PROTECTED]"
   nua::retry_count: 3
   nua::max_subscriptions: 20
   nua::enableInvite: true
   nua::autoAlert: true
   nua::early_media: false
   nua::autoAnswer: false
   nua::autoACK: true
   nua::invite_timer: 120
   nua::session_timer: 0
   nua::min_se: 120
   nua::session_refresher: 0
   nua::update_refresh: false
   nua::enableMessage: true
   nua::enableMessenger: false
   nua::callee_caps: false
   nua::media_features: false
   nua::service_route_enable: true
   nua::path_enable: true
   nua::substate: 2
   sip::supported: timer, 100rel
   sip::supported_str: "timer, 100rel"
   sip::allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE
   sip::allow_str: "INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE"
   sip::user_agent: sofia-sip/1.11.8
   sip::user_agent_str: "sofia-sip/1.11.8"
   nua::outbound: "natify"
   nua::keepalive: 120000
   nua::media_enable: true
   nua::registrar: <null>
   nta::contact: <sip:rNFy4QrNm4Q7cp6Z.is.invalid:5060;transport=udp>
   nta::udp_mtu: 1300
   nta::sip_t1: 500
   nta::sip_t2: 4000
   nta::sip_t4: 5000
   nta::sip_t1x64: 32000
   nta::debug_drop_prob: 0
   nta::default_proxy: <null>
   nta::aliases: <NONE>
   nta::sipflags: 2
   soa::caps_sdp: v=0
o=- 2142679310329179492 4518086498626003483 IN IP4 163.162.45.208
s=-
c=IN IP4 163.162.45.208
t=0 0
m=audio 0 RTP/AVP 0
a=rtpmap:0 PCMU/8000
   soa::caps_sdp_str: "v=0
o=- 2142679310329179492 4518086498626003483 IN IP4 163.162.45.208
s=-
c=IN IP4 163.162.45.208
t=0 0
m=audio 0 RTP/AVP 0
a=rtpmap:0 PCMU/8000
"
   soa::user_sdp: v=0
m=audio 0 RTP/AVP 0
a=rtpmap:0 PCMU/8000
   soa::user_sdp_str: "v=0
m=audio 0 RTP/AVP 0
a=rtpmap:0 PCMU/8000
"
   soa::local_sdp_str: <null>
   soa::af: 3
   soa::srtp_enable: false
   soa::srtp_confidentiality: false
   soa::srtp_integrity: false
   ::tag_null: 0
sofsip> tport_stun_bind_cb: stun_error
tport_stun_bind_cb: stun_error
UA: incoming call
        From: gennaro <sip:[EMAIL PROTECTED] >;tag=3149086645
        To:  < sip:[EMAIL PROTECTED]>
Please Answer(a), decline(d) or Decline(D) the call
sofsip> ** (sofsip_cli:19849): DEBUG: priv_set_remote_sdp
sofsip> a
** (sofsip_cli:19849): DEBUG: priv_activate_gst
** (sofsip_cli:19849): DEBUG: priv_static_capabilities_gst
Got caps: v=0
m=audio 0 RTP/AVP 0
a=rtpmap:0 PCMU/8000

** (sofsip_cli:19849): DEBUG: priv_set_local_sdp
** (sofsip_cli:19849): DEBUG: priv_activate_gst
Succesfully bound to local port 16384.
** (sofsip_cli:19849): DEBUG: Setting sockfd to 23.
** (sofsip_cli:19849): DEBUG: Setting aux-sockfd to 23.
** (sofsip_cli:19849): DEBUG: farsight_netsocket_stun_map
** (sofsip_cli:19849): DEBUG: server:(null) domain:163.162.45.208.
sofsip> ** (sofsip_cli:19849): DEBUG: cb_stun_state: stun_error (8)
** (sofsip_cli:19849): DEBUG: cb_stun_state: error in communication with the STUN server
** (sofsip_cli:19849): DEBUG: priv_cb_ready
** (sofsip_cli:19849): DEBUG: priv_update_rx_elements
** (sofsip_cli:19849): DEBUG: priv_update_rx_elements: not modifying local contact address
** (sofsip_cli:19849): DEBUG: priv_update_tx_elements
** Message: RTP destination is: 163.162.45.170:8000.
** Message: Starting the pipeline.

UA: about to respond with local SDP:
v=0
m=audio 16384 RTP/AVP 0
a=rtpmap:0 PCMU/8000

** (sofsip_cli:19849): DEBUG: priv_set_local_sdp
** (sofsip_cli:19849): DEBUG: priv_update_tx_elements
** Message: RTP destination is: 163.162.45.170:8000.
sofsip> sofsip> UA: call to gennaro < sip:[EMAIL PROTECTED]>;tag=3149086645 is active => 'ready'
        audio sendrecv, video inactive, chat inactive.
sofsip> sofsip> b
UA: BYE to gennaro < sip:[EMAIL PROTECTED]>;tag=3149086645
sofsip> UA: BYE: 200 Ok
sofsip> UA: call to gennaro < sip:[EMAIL PROTECTED] >;tag=3149086645 is terminated
** (sofsip_cli:19849): DEBUG: [EMAIL PROTECTED] ~]# sofsip_cli sip:[EMAIL PROTECTED]
** Message: This program is linked against GStreamer 0.10.3

** (sofsip_cli:19849): DEBUG: priv_verify_required_elements:191
** Message: Verifying GST element "mulawenc" -> OK
** Message: Verifying GST element "mulawdec" -> OK
** Message: Verifying GST element "dynudpsink" -> OK
** Message: Verifying GST element "udpsrc" -> OK
** (sofsip_cli:19849): DEBUG: ssc_media_class_init:124
** (sofsip_cli:19849): DEBUG: ssc_media_gst_class_init:138
** (sofsip_cli:19849): DEBUG: ssc_media_init:167
** Message: Selecting media implementation: gstreamer
** (sofsip_cli:19849): DEBUG: priv_static_capabilities_gst
sofsip> UA: unknown event 23: 200 OK
   ::tag_null: 0
sofsip> UA: nua_r_getparams: 200 OK
   sip::from: sip:[EMAIL PROTECTED]
   sip::from_str: " sip:[EMAIL PROTECTED]"
   nua::retry_count: 3
   nua::max_subscriptions: 20
   nua::enableInvite: true
   nua::autoAlert: true
   nua::early_media: false
   nua::autoAnswer: false
   nua::autoACK: true
   nua::invite_timer: 120
   nua::session_timer: 0
   nua::min_se: 120
   nua::session_refresher: 0
   nua::update_refresh: false
   nua::enableMessage: true
   nua::enableMessenger: false
   nua::callee_caps: false
   nua::media_features: false
   nua::service_route_enable: true
   nua::path_enable: true
   nua::substate: 2
   sip::supported: timer, 100rel
   sip::supported_str: "timer, 100rel"
   sip::allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE
   sip::allow_str: "INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE"
   sip::user_agent: sofia-sip/1.11.8
   sip::user_agent_str: "sofia-sip/1.11.8"
   nua::outbound: "natify"
   nua::keepalive: 120000
   nua::media_enable: true
   nua::registrar: <null>
   nta::contact: <sip:rNFy4QrNm4Q7cp6Z.is.invalid:5060;transport=udp>
   nta::udp_mtu: 1300
   nta::sip_t1: 500
   nta::sip_t2: 4000
   nta::sip_t4: 5000
   nta::sip_t1x64: 32000
   nta::debug_drop_prob: 0
   nta::default_proxy: <null>
   nta::aliases: <NONE>
   nta::sipflags: 2
   soa::caps_sdp: v=0
o=- 2142679310329179492 4518086498626003483 IN IP4 163.162.45.208
s=-
c=IN IP4 163.162.45.208
t=0 0
m=audio 0 RTP/AVP 0
a=rtpmap:0 PCMU/8000
   soa::caps_sdp_str: "v=0
o=- 2142679310329179492 4518086498626003483 IN IP4 163.162.45.208
s=-
c=IN IP4 163.162.45.208
t=0 0
m=audio 0 RTP/AVP 0
a=rtpmap:0 PCMU/8000
"
   soa::user_sdp: v=0
m=audio 0 RTP/AVP 0
a=rtpmap:0 PCMU/8000
   soa::user_sdp_str: "v=0
m=audio 0 RTP/AVP 0
a=rtpmap:0 PCMU/8000
"
   soa::local_sdp_str: <null>
   soa::af: 3
   soa::srtp_enable: false
   soa::srtp_confidentiality: false
   soa::srtp_integrity: false
   ::tag_null: 0
sofsip> tport_stun_bind_cb: stun_error
tport_stun_bind_cb: stun_error
UA: incoming call
        From: gennaro <sip:[EMAIL PROTECTED] >;tag=3149086645
        To:  < sip:[EMAIL PROTECTED]>
Please Answer(a), decline(d) or Decline(D) the call
sofsip> ** (sofsip_cli:19849): DEBUG: priv_set_remote_sdp
sofsip> a
** (sofsip_cli:19849): DEBUG: priv_activate_gst
** (sofsip_cli:19849): DEBUG: priv_static_capabilities_gst
Got caps: v=0
m=audio 0 RTP/AVP 0
a=rtpmap:0 PCMU/8000

** (sofsip_cli:19849): DEBUG: priv_set_local_sdp
** (sofsip_cli:19849): DEBUG: priv_activate_gst
Succesfully bound to local port 16384.
** (sofsip_cli:19849): DEBUG: Setting sockfd to 23.
** (sofsip_cli:19849): DEBUG: Setting aux-sockfd to 23.
** (sofsip_cli:19849): DEBUG: farsight_netsocket_stun_map
** (sofsip_cli:19849): DEBUG: server:(null) domain:163.162.45.208.
sofsip> ** (sofsip_cli:19849): DEBUG: cb_stun_state: stun_error (8)
** (sofsip_cli:19849): DEBUG: cb_stun_state: error in communication with the STUN server
** (sofsip_cli:19849): DEBUG: priv_cb_ready
** (sofsip_cli:19849): DEBUG: priv_update_rx_elements
** (sofsip_cli:19849): DEBUG: priv_update_rx_elements: not modifying local contact address
** (sofsip_cli:19849): DEBUG: priv_update_tx_elements
** Message: RTP destination is: 163.162.45.170:8000.
** Message: Starting the pipeline.

UA: about to respond with local SDP:
v=0
m=audio 16384 RTP/AVP 0
a=rtpmap:0 PCMU/8000

** (sofsip_cli:19849): DEBUG: priv_set_local_sdp
** (sofsip_cli:19849): DEBUG: priv_update_tx_elements
** Message: RTP destination is: 163.162.45.170:8000.
sofsip> sofsip> UA: call to gennaro < sip:[EMAIL PROTECTED]>;tag=3149086645 is active => 'ready'
        audio sendrecv, video inactive, chat inactive.
sofsip> sofsip> b
UA: BYE to gennaro < sip:[EMAIL PROTECTED]>;tag=3149086645
sofsip> UA: BYE: 200 Ok
sofsip> UA: call to gennaro < sip:[EMAIL PROTECTED] >;tag=3149086645 is terminated
** (sofsip_cli:19849): DEBUG: priv_deactivate_gst


   sip::user_agent_str: "sofia-sip/1.11.8"
   nua::outbound: "natify"
   nua::keepalive: 120000
   nua::media_enable: true
   nua::registrar: <null>
   nta::contact: <sip:rNFy4QrNm4Q7cp6Z.is.invalid:5060;transport=udp>
   nta::udp_mtu: 1300
   nta::sip_t1: 500
   nta::sip_t2: 4000
   nta::sip_t4: 5000
   nta::sip_t1x64: 32000
   nta::debug_drop_prob: 0
   nta::default_proxy: <null>
   nta::aliases: <NONE>
   nta::sipflags: 2
   soa::caps_sdp: v=0
o=- 2142679310329179492 4518086498626003483 IN IP4 163.162.45.208
s=-
c=IN IP4 163.162.45.208
t=0 0
m=audio 0 RTP/AVP 0
a=rtpmap:0 PCMU/8000
   soa::caps_sdp_str: "v=0
o=- 2142679310329179492 4518086498626003483 IN IP4 163.162.45.208
s=-
c=IN IP4 163.162.45.208
t=0 0
m=audio 0 RTP/AVP 0
a=rtpmap:0 PCMU/8000
"
   soa::user_sdp: v=0
m=audio 0 RTP/AVP 0
a=rtpmap:0 PCMU/8000
   soa::user_sdp_str: "v=0
m=audio 0 RTP/AVP 0
a=rtpmap:0 PCMU/8000
"
   soa::local_sdp_str: <null>
   soa::af: 3
   soa::srtp_enable: false
   soa::srtp_confidentiality: false
   soa::srtp_integrity: false
   ::tag_null: 0
sofsip> tport_stun_bind_cb: stun_error
tport_stun_bind_cb: stun_error
UA: incoming call
        From: gennaro < sip:[EMAIL PROTECTED]>;tag=3149086645
        To:  <sip:[EMAIL PROTECTED]>
Please Answer(a), decline(d) or Decline(D) the call
sofsip> ** (sofsip_cli:19849): DEBUG: priv_set_remote_sdp
sofsip> a
** (sofsip_cli:19849): DEBUG: priv_activate_gst
** (sofsip_cli:19849): DEBUG: priv_static_capabilities_gst
Got caps: v=0
m=audio 0 RTP/AVP 0
a=rtpmap:0 PCMU/8000

** (sofsip_cli:19849): DEBUG: priv_set_local_sdp
** (sofsip_cli:19849): DEBUG: priv_activate_gst
Succesfully bound to local port 16384.
** (sofsip_cli:19849): DEBUG: Setting sockfd to 23.
** (sofsip_cli:19849): DEBUG: Setting aux-sockfd to 23.
** (sofsip_cli:19849): DEBUG: farsight_netsocket_stun_map
** (sofsip_cli:19849): DEBUG: server:(null) domain:163.162.45.208.
sofsip> ** (sofsip_cli:19849): DEBUG: cb_stun_state: stun_error (8)
** (sofsip_cli:19849): DEBUG: cb_stun_state: error in communication with the STUN server
** (sofsip_cli:19849): DEBUG: priv_cb_ready
** (sofsip_cli:19849): DEBUG: priv_update_rx_elements
** (sofsip_cli:19849): DEBUG: priv_update_rx_elements: not modifying local contact address
** (sofsip_cli:19849): DEBUG: priv_update_tx_elements
** Message: RTP destination is: 163.162.45.170:8000.
** Message: Starting the pipeline.

UA: about to respond with local SDP:
v=0
m=audio 16384 RTP/AVP 0
a=rtpmap:0 PCMU/8000

** (sofsip_cli:19849): DEBUG: priv_set_local_sdp
** (sofsip_cli:19849): DEBUG: priv_update_tx_elements
** Message: RTP destination is: 163.162.45.170:8000.
sofsip> sofsip> UA: call to gennaro < sip:[EMAIL PROTECTED]>;tag=3149086645 is active => 'ready'
        audio sendrecv, video inactive, chat inactive.
sofsip> sofsip> b
UA: BYE to gennaro < sip:[EMAIL PROTECTED]>;tag=3149086645
sofsip> UA: BYE: 200 Ok
sofsip> UA: call to gennaro < sip:[EMAIL PROTECTED] >;tag=3149086645 is terminated
** (sofsip_cli:19849): DEBUG: priv_deactivate_gst


if you want I can send even a png showing the ethereal's log (taken from the statistics).
the call goes fine (at the sip level) but about the rtp media to the called party arrive just my voice but I can't heard his.
I just ear the first second of what he's saying and then there is just silence.
the called party was an xlite client.
any ideas?
best regards
Luca


Reply via email to