[jitsi-users] jigasi can not register to freeswitch


#1

Hello, Jigasi developers:
I just followed the discussion thread as http://lists.jitsi.org/pipermail/users/2015-January/008464.html to configure jigasi.ii jigasi 1.0-68 amd64 Jitsi Gateway for SIP
I found that those copied configuration from jitsi to jigasi can not work.Here are my jigasi configurations:
org.jitsi.jigasi.DEFAULT_JVB_ROOM_NAME=siptestnet.java.sip.communicator.impl.protocol.SingleCallInProgressPolicy.enabled=falsenet.java.sip.communicator.impl.neomedia.codec.audio.opus.encoder.COMPLEXITY=10net.java.sip.communicator.impl.neomedia.codec.audio.opus.encoder.FEC=falsenet.java.sip.communicator.packetlogging.PACKET_LOGGING_ENABLED=truenet.java.sip.communicator.impl.protocol.sip.acc1403273890647=acc1403273890647net.java.sip.communicator.impl.protocol.sip.acc1403273890647.ACCOUNT_UID=SIP\:8848@192.168.131.188#net.java.sip.communicator.impl.protocol.sip.acc1403273890647.AUTHORIZATION_NAME=8848@222.44.11.237net.java.sip.communicator.impl.protocol.sip.acc1403273890647.PASSWORD=1234net.java.sip.communicator.impl.protocol.sip.acc1403273890647.PROTOCOL_NAME=SIPnet.java.sip.communicator.impl.protocol.sip.acc1403273890647.SERVER_ADDRESS=192.168.131.188net.java.sip.communicator.impl.protocol.sip.acc1403273890647.USER_ID=8848@192.168.131.188
The log from jigasi always prints:2015-03-22 14:15:33.895 WARNING: [26] impl.protocol.sip.SipLogger.logWarning().174 Warning from the JAIN-SIP stackusing default tls security policy2015-03-22 14:15:33.909 INFO: [26] impl.protocol.sip.SipLogger.logInfo().185 Info from the JAIN-SIP stack: the sip stack timer gov.nist.javax.sip.stack.timers.DefaultSipTimer has been started2015-03-22 14:15:34.176 INFO: [33] org.jitsi.jigasi.SipGateway.registrationStateChanged().159 REG STATE CHANGE ProtocolProviderServiceSipImpl(8848@192.168.131.188 (SIP)) -> RegistrationStateChangeEvent[ oldState=Unregistered; newState=RegistrationState=Registering; reasonCode=-1; reason=null]2015-03-22 14:15:34.303 INFO: [42] org.jitsi.jigasi.SipGateway.registrationStateChanged().159 REG STATE CHANGE ProtocolProviderServiceSipImpl(8848@192.168.131.188 (SIP)) -> RegistrationStateChangeEvent[ oldState=Registering; newState=RegistrationState=Authentication Failed; reasonCode=1; reason=null]2015-03-22 14:15:34.304 INFO: [42] org.jitsi.jigasi.SipGateway.registrationStateChanged().159 REG STATE CHANGE ProtocolProviderServiceSipImpl(8848@192.168.131.188 (SIP)) -> RegistrationStateChangeEvent[ oldState=Authentication Failed; newState=RegistrationState=Unregistered; reasonCode=0; reason=User has canceled the authentication process.]
See my attached jigasi.log and packet captures.
Following is the most detailed log from freeswitch:
freeswitch@debian> tport.c:2733 tport_wakeup_pri() tport_wakeup_pri(0x15705d0): events INtport.c:2848 tport_recv_event() tport_recv_event(0x15705d0)tport.c:3189 tport_recv_iovec() tport_recv_iovec(0x15705d0) msg 0x14cb620 from (udp/192.168.131.188:5060) has 504 bytes, veclen = 1tport.c:3007 tport_deliver() tport_deliver(0x15705d0): msg 0x14cb620 (504 bytes) from udp/192.168.131.179:5060/sip next=(nil)nta.c:2791 agent_recv_request() nta: received REGISTER sip:192.168.131.188 SIP/2.0 (CSeq 1)nta.c:3150 agent_aliases() nta: canonizing sip:192.168.131.188 with contactnta.c:2990 agent_recv_request() nta: REGISTER (1) going to a default legnua_server.c:102 nua_stack_process_request() nua: nua_stack_process_request: enteringnua_stack.c:899 nh_create() nua: nh_create: enteringnua_common.c:108 nh_create_handle() nua: nh_create_handle: enteringnua_params.c:480 nua_stack_set_params() nua: nua_stack_set_params: enteringsoa.c:282 soa_clone() soa_clone(static::0x1574970, 0x1574fb0, 0x15e5ff0) calledsoa.c:405 soa_set_params() soa_set_params(static::0x163d500, ...) callednua_stack.c:271 nua_stack_event() nua(0x15e5ff0): event i_register 100 Tryingnua_stack.c:359 nua_application_event() nua: nua_application_event: enteringnua.c:366 nua_handle_magic() nua: nua_handle_magic: enteringnua.c:879 nua_respond() nua: nua_respond: enteringnua_stack.c:573 nua_stack_signal() nua(0x15e5ff0): recv signal r_respond 401 Unauthorizednua_params.c:480 nua_stack_set_params() nua: nua_stack_set_params: enteringsoa.c:405 soa_set_params() soa_set_params(static::0x163d500, ...) calledtport.c:3241 tport_tsend() tport_tsend(0x15705d0) tpn = UDP/192.168.131.179:5060tport.c:4030 tport_resolve() tport_resolve addrinfo = 192.168.131.179:5060tport.c:4664 tport_by_addrinfo() tport_by_addrinfo(0x15705d0): not found by name UDP/192.168.131.179:5060tport.c:3578 tport_vsend() tport_vsend(0x15705d0): 643 bytes of 643 to udp/192.168.131.179:5060tport.c:3476 tport_send_msg() tport_vsend returned 643nta.c:6669 incoming_reply() nta: sent 401 Unauthorized for REGISTER (1)nta.c:1343 set_timeout() nta: timer set to 32000 msnua_stack.c:529 nua_signal() nua(0x15e5ff0): sent signal r_respondnua.c:921 nua_handle_destroy() nua: nua_handle_destroy: enteringnua_stack.c:569 nua_stack_signal() nua(0x15e5ff0): recv signal r_destroynta.c:4357 nta_leg_destroy() nta_leg_destroy((nil))soa.c:358 soa_destroy() soa_destroy(static::0x163d500) callednua_stack.c:529 nua_signal() nua(0x15e5ff0): sent signal r_destroynua.c:366 nua_handle_magic() nua: nua_handle_magic: enteringnua.c:921 nua_handle_destroy() nua: nua_handle_destroy: enteringtport.c:2733 tport_wakeup_pri() tport_wakeup_pri(0x15705d0): events INtport.c:2848 tport_recv_event() tport_recv_event(0x15705d0)tport.c:3189 tport_recv_iovec() tport_recv_iovec(0x15705d0) msg 0x1500e00 from (udp/192.168.131.188:5060) has 730 bytes, veclen = 1tport.c:3007 tport_deliver() tport_deliver(0x15705d0): msg 0x1500e00 (730 bytes) from udp/192.168.131.179:5060/sip next=(nil)nta.c:2791 agent_recv_request() nta: received REGISTER sip:192.168.131.188 SIP/2.0 (CSeq 2)nta.c:3150 agent_aliases() nta: canonizing sip:192.168.131.188 with contactnta.c:2990 agent_recv_request() nta: REGISTER (2) going to a default legnua_server.c:102 nua_stack_process_request() nua: nua_stack_process_request: enteringnua_stack.c:899 nh_create() nua: nh_create: enteringnua_common.c:108 nh_create_handle() nua: nh_create_handle: enteringnua_params.c:480 nua_stack_set_params() nua: nua_stack_set_params: enteringsoa.c:282 soa_clone() soa_clone(static::0x1574970, 0x1574fb0, 0x163d500) calledsoa.c:405 soa_set_params() soa_set_params(static::0x15d2040, ...) callednua_stack.c:271 nua_stack_event() nua(0x163d500): event i_register 100 Tryingnua_stack.c:359 nua_application_event() nua: nua_application_event: enteringnua.c:366 nua_handle_magic() nua: nua_handle_magic: enteringnua.c:879 nua_respond() nua: nua_respond: enteringnua_stack.c:573 nua_stack_signal() nua(0x163d500): recv signal r_respond 403 Forbiddennua_params.c:480 nua_stack_set_params() nua: nua_stack_set_params: enteringsoa.c:405 soa_set_params() soa_set_params(static::0x15d2040, ...) calledtport.c:3241 tport_tsend() tport_tsend(0x15705d0) tpn = UDP/192.168.131.179:5060tport.c:4030 tport_resolve() tport_resolve addrinfo = 192.168.131.179:5060tport.c:4664 tport_by_addrinfo() tport_by_addrinfo(0x15705d0): not found by name UDP/192.168.131.179:5060tport.c:3578 tport_vsend() tport_vsend(0x15705d0): 517 bytes of 517 to udp/192.168.131.179:5060tport.c:3476 tport_send_msg() tport_vsend returned 517nta.c:6669 incoming_reply() nta: sent 403 Forbidden for REGISTER (2)nua_stack.c:529 nua_signal() nua(0x163d500): sent signal r_respondnua.c:921 nua_handle_destroy() nua: nua_handle_destroy: enteringnua_stack.c:569 nua_stack_signal() nua(0x163d500): recv signal r_destroynta.c:4357 nta_leg_destroy() nta_leg_destroy((nil))soa.c:358 soa_destroy() soa_destroy(static::0x15d2040) callednua_stack.c:529 nua_signal() nua(0x163d500): sent signal r_destroynua.c:366 nua_handle_magic() nua: nua_handle_magic: enteringnua.c:921 nua_handle_destroy() nua: nua_handle_destroy: enteringtport.c:2733 tport_wakeup_pri() tport_wakeup_pri(0x15705d0): events INtport.c:2848 tport_recv_event() tport_recv_event(0x15705d0)tport.c:3189 tport_recv_iovec() tport_recv_iovec(0x15705d0) msg 0x150eed0 from (udp/192.168.131.188:5060) has 504 bytes, veclen = 1tport.c:3007 tport_deliver() tport_deliver(0x15705d0): msg 0x150eed0 (504 bytes) from udp/192.168.131.179:5060/sip next=(nil)nta.c:2791 agent_recv_request() nta: received REGISTER sip:192.168.131.188 SIP/2.0 (CSeq 3)nta.c:3150 agent_aliases() nta: canonizing sip:192.168.131.188 with contactnta.c:2990 agent_recv_request() nta: REGISTER (3) going to a default legnua_server.c:102 nua_stack_process_request() nua: nua_stack_process_request: enteringnua_stack.c:899 nh_create() nua: nh_create: enteringnua_common.c:108 nh_create_handle() nua: nh_create_handle: enteringnua_params.c:480 nua_stack_set_params() nua: nua_stack_set_params: enteringsoa.c:282 soa_clone() soa_clone(static::0x1574970, 0x1574fb0, 0x15921c0) calledsoa.c:405 soa_set_params() soa_set_params(static::0x14bcfd0, ...) callednua_stack.c:271 nua_stack_event() nua(0x15921c0): event i_register 100 Tryingnua_stack.c:359 nua_application_event() nua: nua_application_event: enteringnua.c:366 nua_handle_magic() nua: nua_handle_magic: enteringnua.c:879 nua_respond() nua: nua_respond: enteringnua_stack.c:573 nua_stack_signal() nua(0x15921c0): recv signal r_respond 401 Unauthorizednua_params.c:480 nua_stack_set_params() nua: nua_stack_set_params: enteringsoa.c:405 soa_set_params() soa_set_params(static::0x14bcfd0, ...) calledtport.c:3241 tport_tsend() tport_tsend(0x15705d0) tpn = UDP/192.168.131.179:5060tport.c:4030 tport_resolve() tport_resolve addrinfo = 192.168.131.179:5060tport.c:4664 tport_by_addrinfo() tport_by_addrinfo(0x15705d0): not found by name UDP/192.168.131.179:5060tport.c:3578 tport_vsend() tport_vsend(0x15705d0): 643 bytes of 643 to udp/192.168.131.179:5060tport.c:3476 tport_send_msg() tport_vsend returned 643nta.c:6669 incoming_reply() nta: sent 401 Unauthorized for REGISTER (3)nua_stack.c:529 nua_signal() nua(0x15921c0): sent signal r_respondnua.c:921 nua_handle_destroy() nua: nua_handle_destroy: enteringnua_stack.c:569 nua_stack_signal() nua(0x15921c0): recv signal r_destroynta.c:4357 nta_leg_destroy() nta_leg_destroy((nil))soa.c:358 soa_destroy() soa_destroy(static::0x14bcfd0) callednua_stack.c:529 nua_signal() nua(0x15921c0): sent signal r_destroynua.c:366 nua_handle_magic() nua: nua_handle_magic: enteringnua.c:921 nua_handle_destroy() nua: nua_handle_destroy: enteringnta.c:7037 _nta_incoming_timer() nta: timer J fired, terminate 401 responsenta.c:5709 incoming_reclaim_queued() incoming_reclaim_all((nil), (nil), 0x7fce555ecc30)nta.c:7066 _nta_incoming_timer() nta_incoming_timer: 0/0 resent, 0/0 tout, 1/3 term, 1/3 freenta.c:1289 agent_timer() nta: timer set next to 49 msnta.c:7037 _nta_incoming_timer() nta: timer J fired, terminate 403 responsenta.c:5709 incoming_reclaim_queued() incoming_reclaim_all((nil), (nil), 0x7fce555ecc30)nta.c:7066 _nta_incoming_timer() nta_incoming_timer: 0/0 resent, 0/0 tout, 1/2 term, 1/2 freenta.c:1289 agent_timer() nta: timer set next to 6 msnta.c:7037 _nta_incoming_timer() nta: timer J fired, terminate 401 responsenta.c:5709 incoming_reclaim_queued() incoming_reclaim_all((nil), (nil), 0x7fce555ecc30)nta.c:7066 _nta_incoming_timer() nta_incoming_timer: 0/0 resent, 0/0 tout, 1/1 term, 1/1 freenta.c:1274 agent_timer() nta: timer not set

Thanks and Best RegardsYanchong Wang

jigasi.log (30.5 KB)

jitsi0.pcap (3.77 KB)


#2

Hi,

Probably some properties are wrong. The easiest way to configure SIP
account is to first do this in Jitsi for desktop. Once you have this
working copy properties for this account from file
{user-home}/.sip-communicator/sip-communicator.properties.

Hope this helps !

···

On Wed, Apr 22, 2015 at 9:01 AM, WangYanchong <wangyanchong@hotmail.com> wrote:

Hello, Jigasi developers:

I just followed the discussion thread as
http://lists.jitsi.org/pipermail/users/2015-January/008464.html to configure
jigasi.
ii jigasi 1.0-68 amd64
Jitsi Gateway for SIP

I found that those copied configuration from jitsi to jigasi can not work.
Here are my jigasi configurations:

org.jitsi.jigasi.DEFAULT_JVB_ROOM_NAME=siptest
net.java.sip.communicator.impl.protocol.SingleCallInProgressPolicy.enabled=false
net.java.sip.communicator.impl.neomedia.codec.audio.opus.encoder.COMPLEXITY=10
net.java.sip.communicator.impl.neomedia.codec.audio.opus.encoder.FEC=false
net.java.sip.communicator.packetlogging.PACKET_LOGGING_ENABLED=true
net.java.sip.communicator.impl.protocol.sip.acc1403273890647=acc1403273890647
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.ACCOUNT_UID=SIP\:8848@192.168.131.188
#net.java.sip.communicator.impl.protocol.sip.acc1403273890647.AUTHORIZATION_NAME=8848@222.44.11.237
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.PASSWORD=1234
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.PROTOCOL_NAME=SIP
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.SERVER_ADDRESS=192.168.131.188
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.USER_ID=8848@192.168.131.188

The log from jigasi always prints:
2015-03-22 14:15:33.895 WARNING: [26]
impl.protocol.sip.SipLogger.logWarning().174 Warning from the JAIN-SIP
stackusing default tls security policy
2015-03-22 14:15:33.909 INFO: [26] impl.protocol.sip.SipLogger.logInfo().185
Info from the JAIN-SIP stack: the sip stack timer
gov.nist.javax.sip.stack.timers.DefaultSipTimer has been started
2015-03-22 14:15:34.176 INFO: [33]
org.jitsi.jigasi.SipGateway.registrationStateChanged().159 REG STATE CHANGE
ProtocolProviderServiceSipImpl(8848@192.168.131.188 (SIP)) ->
RegistrationStateChangeEvent[ oldState=Unregistered;
newState=RegistrationState=Registering; reasonCode=-1; reason=null]
2015-03-22 14:15:34.303 INFO: [42]
org.jitsi.jigasi.SipGateway.registrationStateChanged().159 REG STATE CHANGE
ProtocolProviderServiceSipImpl(8848@192.168.131.188 (SIP)) ->
RegistrationStateChangeEvent[ oldState=Registering;
newState=RegistrationState=Authentication Failed; reasonCode=1; reason=null]
2015-03-22 14:15:34.304 INFO: [42]
org.jitsi.jigasi.SipGateway.registrationStateChanged().159 REG STATE CHANGE
ProtocolProviderServiceSipImpl(8848@192.168.131.188 (SIP)) ->
RegistrationStateChangeEvent[ oldState=Authentication Failed;
newState=RegistrationState=Unregistered; reasonCode=0; reason=User has
canceled the authentication process.]

See my attached jigasi.log and packet captures.

Following is the most detailed log from freeswitch:

freeswitch@debian> tport.c:2733 tport_wakeup_pri()
tport_wakeup_pri(0x15705d0): events IN
tport.c:2848 tport_recv_event() tport_recv_event(0x15705d0)
tport.c:3189 tport_recv_iovec() tport_recv_iovec(0x15705d0) msg 0x14cb620
from (udp/192.168.131.188:5060) has 504 bytes, veclen = 1
tport.c:3007 tport_deliver() tport_deliver(0x15705d0): msg 0x14cb620 (504
bytes) from udp/192.168.131.179:5060/sip next=(nil)
nta.c:2791 agent_recv_request() nta: received REGISTER sip:192.168.131.188
SIP/2.0 (CSeq 1)
nta.c:3150 agent_aliases() nta: canonizing sip:192.168.131.188 with contact
nta.c:2990 agent_recv_request() nta: REGISTER (1) going to a default leg
nua_server.c:102 nua_stack_process_request() nua: nua_stack_process_request:
entering
nua_stack.c:899 nh_create() nua: nh_create: entering
nua_common.c:108 nh_create_handle() nua: nh_create_handle: entering
nua_params.c:480 nua_stack_set_params() nua: nua_stack_set_params: entering
soa.c:282 soa_clone() soa_clone(static::0x1574970, 0x1574fb0, 0x15e5ff0)
called
soa.c:405 soa_set_params() soa_set_params(static::0x163d500, ...) called
nua_stack.c:271 nua_stack_event() nua(0x15e5ff0): event i_register 100
Trying
nua_stack.c:359 nua_application_event() nua: nua_application_event: entering
nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
nua.c:879 nua_respond() nua: nua_respond: entering
nua_stack.c:573 nua_stack_signal() nua(0x15e5ff0): recv signal r_respond 401
Unauthorized
nua_params.c:480 nua_stack_set_params() nua: nua_stack_set_params: entering
soa.c:405 soa_set_params() soa_set_params(static::0x163d500, ...) called
tport.c:3241 tport_tsend() tport_tsend(0x15705d0) tpn =
UDP/192.168.131.179:5060
tport.c:4030 tport_resolve() tport_resolve addrinfo = 192.168.131.179:5060
tport.c:4664 tport_by_addrinfo() tport_by_addrinfo(0x15705d0): not found by
name UDP/192.168.131.179:5060
tport.c:3578 tport_vsend() tport_vsend(0x15705d0): 643 bytes of 643 to
udp/192.168.131.179:5060
tport.c:3476 tport_send_msg() tport_vsend returned 643
nta.c:6669 incoming_reply() nta: sent 401 Unauthorized for REGISTER (1)
nta.c:1343 set_timeout() nta: timer set to 32000 ms
nua_stack.c:529 nua_signal() nua(0x15e5ff0): sent signal r_respond
nua.c:921 nua_handle_destroy() nua: nua_handle_destroy: entering
nua_stack.c:569 nua_stack_signal() nua(0x15e5ff0): recv signal r_destroy
nta.c:4357 nta_leg_destroy() nta_leg_destroy((nil))
soa.c:358 soa_destroy() soa_destroy(static::0x163d500) called
nua_stack.c:529 nua_signal() nua(0x15e5ff0): sent signal r_destroy
nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
nua.c:921 nua_handle_destroy() nua: nua_handle_destroy: entering
tport.c:2733 tport_wakeup_pri() tport_wakeup_pri(0x15705d0): events IN
tport.c:2848 tport_recv_event() tport_recv_event(0x15705d0)
tport.c:3189 tport_recv_iovec() tport_recv_iovec(0x15705d0) msg 0x1500e00
from (udp/192.168.131.188:5060) has 730 bytes, veclen = 1
tport.c:3007 tport_deliver() tport_deliver(0x15705d0): msg 0x1500e00 (730
bytes) from udp/192.168.131.179:5060/sip next=(nil)
nta.c:2791 agent_recv_request() nta: received REGISTER sip:192.168.131.188
SIP/2.0 (CSeq 2)
nta.c:3150 agent_aliases() nta: canonizing sip:192.168.131.188 with contact
nta.c:2990 agent_recv_request() nta: REGISTER (2) going to a default leg
nua_server.c:102 nua_stack_process_request() nua: nua_stack_process_request:
entering
nua_stack.c:899 nh_create() nua: nh_create: entering
nua_common.c:108 nh_create_handle() nua: nh_create_handle: entering
nua_params.c:480 nua_stack_set_params() nua: nua_stack_set_params: entering
soa.c:282 soa_clone() soa_clone(static::0x1574970, 0x1574fb0, 0x163d500)
called
soa.c:405 soa_set_params() soa_set_params(static::0x15d2040, ...) called
nua_stack.c:271 nua_stack_event() nua(0x163d500): event i_register 100
Trying
nua_stack.c:359 nua_application_event() nua: nua_application_event: entering
nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
nua.c:879 nua_respond() nua: nua_respond: entering
nua_stack.c:573 nua_stack_signal() nua(0x163d500): recv signal r_respond 403
Forbidden
nua_params.c:480 nua_stack_set_params() nua: nua_stack_set_params: entering
soa.c:405 soa_set_params() soa_set_params(static::0x15d2040, ...) called
tport.c:3241 tport_tsend() tport_tsend(0x15705d0) tpn =
UDP/192.168.131.179:5060
tport.c:4030 tport_resolve() tport_resolve addrinfo = 192.168.131.179:5060
tport.c:4664 tport_by_addrinfo() tport_by_addrinfo(0x15705d0): not found by
name UDP/192.168.131.179:5060
tport.c:3578 tport_vsend() tport_vsend(0x15705d0): 517 bytes of 517 to
udp/192.168.131.179:5060
tport.c:3476 tport_send_msg() tport_vsend returned 517
nta.c:6669 incoming_reply() nta: sent 403 Forbidden for REGISTER (2)
nua_stack.c:529 nua_signal() nua(0x163d500): sent signal r_respond
nua.c:921 nua_handle_destroy() nua: nua_handle_destroy: entering
nua_stack.c:569 nua_stack_signal() nua(0x163d500): recv signal r_destroy
nta.c:4357 nta_leg_destroy() nta_leg_destroy((nil))
soa.c:358 soa_destroy() soa_destroy(static::0x15d2040) called
nua_stack.c:529 nua_signal() nua(0x163d500): sent signal r_destroy
nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
nua.c:921 nua_handle_destroy() nua: nua_handle_destroy: entering
tport.c:2733 tport_wakeup_pri() tport_wakeup_pri(0x15705d0): events IN
tport.c:2848 tport_recv_event() tport_recv_event(0x15705d0)
tport.c:3189 tport_recv_iovec() tport_recv_iovec(0x15705d0) msg 0x150eed0
from (udp/192.168.131.188:5060) has 504 bytes, veclen = 1
tport.c:3007 tport_deliver() tport_deliver(0x15705d0): msg 0x150eed0 (504
bytes) from udp/192.168.131.179:5060/sip next=(nil)
nta.c:2791 agent_recv_request() nta: received REGISTER sip:192.168.131.188
SIP/2.0 (CSeq 3)
nta.c:3150 agent_aliases() nta: canonizing sip:192.168.131.188 with contact
nta.c:2990 agent_recv_request() nta: REGISTER (3) going to a default leg
nua_server.c:102 nua_stack_process_request() nua: nua_stack_process_request:
entering
nua_stack.c:899 nh_create() nua: nh_create: entering
nua_common.c:108 nh_create_handle() nua: nh_create_handle: entering
nua_params.c:480 nua_stack_set_params() nua: nua_stack_set_params: entering
soa.c:282 soa_clone() soa_clone(static::0x1574970, 0x1574fb0, 0x15921c0)
called
soa.c:405 soa_set_params() soa_set_params(static::0x14bcfd0, ...) called
nua_stack.c:271 nua_stack_event() nua(0x15921c0): event i_register 100
Trying
nua_stack.c:359 nua_application_event() nua: nua_application_event: entering
nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
nua.c:879 nua_respond() nua: nua_respond: entering
nua_stack.c:573 nua_stack_signal() nua(0x15921c0): recv signal r_respond 401
Unauthorized
nua_params.c:480 nua_stack_set_params() nua: nua_stack_set_params: entering
soa.c:405 soa_set_params() soa_set_params(static::0x14bcfd0, ...) called
tport.c:3241 tport_tsend() tport_tsend(0x15705d0) tpn =
UDP/192.168.131.179:5060
tport.c:4030 tport_resolve() tport_resolve addrinfo = 192.168.131.179:5060
tport.c:4664 tport_by_addrinfo() tport_by_addrinfo(0x15705d0): not found by
name UDP/192.168.131.179:5060
tport.c:3578 tport_vsend() tport_vsend(0x15705d0): 643 bytes of 643 to
udp/192.168.131.179:5060
tport.c:3476 tport_send_msg() tport_vsend returned 643
nta.c:6669 incoming_reply() nta: sent 401 Unauthorized for REGISTER (3)
nua_stack.c:529 nua_signal() nua(0x15921c0): sent signal r_respond
nua.c:921 nua_handle_destroy() nua: nua_handle_destroy: entering
nua_stack.c:569 nua_stack_signal() nua(0x15921c0): recv signal r_destroy
nta.c:4357 nta_leg_destroy() nta_leg_destroy((nil))
soa.c:358 soa_destroy() soa_destroy(static::0x14bcfd0) called
nua_stack.c:529 nua_signal() nua(0x15921c0): sent signal r_destroy
nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
nua.c:921 nua_handle_destroy() nua: nua_handle_destroy: entering
nta.c:7037 _nta_incoming_timer() nta: timer J fired, terminate 401 response
nta.c:5709 incoming_reclaim_queued() incoming_reclaim_all((nil), (nil),
0x7fce555ecc30)
nta.c:7066 _nta_incoming_timer() nta_incoming_timer: 0/0 resent, 0/0 tout,
1/3 term, 1/3 free
nta.c:1289 agent_timer() nta: timer set next to 49 ms
nta.c:7037 _nta_incoming_timer() nta: timer J fired, terminate 403 response
nta.c:5709 incoming_reclaim_queued() incoming_reclaim_all((nil), (nil),
0x7fce555ecc30)
nta.c:7066 _nta_incoming_timer() nta_incoming_timer: 0/0 resent, 0/0 tout,
1/2 term, 1/2 free
nta.c:1289 agent_timer() nta: timer set next to 6 ms
nta.c:7037 _nta_incoming_timer() nta: timer J fired, terminate 401 response
nta.c:5709 incoming_reclaim_queued() incoming_reclaim_all((nil), (nil),
0x7fce555ecc30)
nta.c:7066 _nta_incoming_timer() nta_incoming_timer: 0/0 resent, 0/0 tout,
1/1 term, 1/1 free
nta.c:1274 agent_timer() nta: timer not set

Thanks and Best Regards
Yanchong Wang

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users


#3

Pawel:
Here also pasted all the jigasi.log filtered with sip, can anyone show that current version of jigasi can registered into freeswitch with authentication?

2015-03-22 17:32:42.983 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() net.java.sip.communicator.impl.neomedia.video.maxbandwidth=21474836472015-03-22 17:32:42.985 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() net.java.sip.communicator.service.media.MAX_PORT_NUMBER=200002015-03-22 17:32:42.989 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() net.java.sip.communicator.impl.neomedia.audioSystem=audiosilence2015-03-22 17:32:42.997 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() net.java.sip.communicator.service.protocol.MIN_MEDIA_PORT_NUMBER=100002015-03-22 17:32:42.998 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() net.java.sip.communicator.impl.protocol.jabber.DISABLE_COIN=true2015-03-22 17:32:43.002 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() net.java.sip.communicator.CONFIGURATION_FILE_IS_READ_ONLY=true2015-03-22 17:32:43.005 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() net.java.sip.communicator.SC_CACHE_DIR_LOCATION=/var/log/jitsi2015-03-22 17:32:43.008 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() net.java.sip.communicator.service.gui.ALWAYS_TRUST_MODE_ENABLED=true2015-03-22 17:32:43.017 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() net.java.sip.communicator.service.media.DISABLE_VIDEO_SUPPORT=true2015-03-22 17:32:43.018 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() java.class.path=/usr/share/jigasi/jigasi.jar:/usr/share/jigasi/lib/argdelegation-service.jar:/usr/share/jigasi/lib/bccontrib.jar:/usr/share/jigasi/lib/bouncycastle.jar:/usr/share/jigasi/lib/certificate.jar:/usr/share/jigasi/lib/commons-codec.jar:/usr/share/jigasi/lib/commons-lang.jar:/usr/share/jigasi/lib/concurrentlinkedhashmap-lru.jar:/usr/share/jigasi/lib/configuration.jar:/usr/share/jigasi/lib/contactlist.jar:/usr/share/jigasi/lib/credentialsstorage.jar:/usr/share/jigasi/lib/desktoputil.jar:/usr/share/jigasi/lib/dns.jar:/usr/share/jigasi/lib/dnsservice.jar:/usr/share/jigasi/lib/dom4j.jar:/usr/share/jigasi/lib/fileaccess.jar:/usr/share/jigasi/lib/globaldisplaydetails.jar:/usr/share/jigasi/lib/hid.jar:/usr/share/jigasi/lib/hid-service.jar:/usr/share/jigasi/lib/httpclient.jar:/usr/share/jigasi/lib/httpcore.jar:/usr/share/jigasi/lib/httputil.jar:/usr/share/jigasi/lib/jitsi-android-osgi.jar:/usr/share/jigasi/lib/jnalib.jar:/usr/share/jigasi/lib/json.jar:/usr/share/jigasi/lib/libidn.jar:/usr/share/jigasi/lib/libjitsi.jar:/usr/share/jigasi/lib/muc.jar:/usr/share/jigasi/lib/neomedia.jar:/usr/share/jigasi/lib/netaddr.jar:/usr/share/jigasi/lib/notification-service.jar:/usr/share/jigasi/lib/osgi.core.jar:/usr/share/jigasi/lib/packetlogging.jar:/usr/share/jigasi/lib/protocol-jabber.jar:/usr/share/jigasi/lib/protocol.jar:/usr/share/jigasi/lib/protocol-media.jar:/usr/share/jigasi/lib/protocol-sip.jar:/usr/share/jigasi/lib/reconnectplugin.jar:/usr/share/jigasi/lib/resourcemanager.jar:/usr/share/jigasi/lib/sdes4j.jar:/usr/share/jigasi/lib/slf4j-api.jar:/usr/share/jigasi/lib/smacklib.jar:/usr/share/jigasi/lib/sysactivitynotifications.jar:/usr/share/jigasi/lib/systray-service.jar:/usr/share/jigasi/lib/tinder.jar:/usr/share/jigasi/lib/ui-service.jar:/usr/share/jigasi/lib/util.jar:/usr/share/jigasi/lib/version-impl.jar:/usr/share/jigasi/lib/whack.jar:/usr/share/jigasi/lib/xpp3.jar:/usr/share/jigasi/lib/zrtp4j.jar2015-03-22 17:32:43.042 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() net.java.sip.communicator.SC_HOME_DIR_LOCATION=/etc/jitsi2015-03-22 17:32:43.049 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() net.java.sip.communicator.SC_HOME_DIR_NAME=jigasi2015-03-22 17:32:43.053 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() net.java.sip.communicator.service.media.MIN_PORT_NUMBER=100002015-03-22 17:32:43.054 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() net.java.sip.communicator.SC_LOG_DIR_LOCATION=/var/log/jitsi2015-03-22 17:32:43.062 INFO: [9] org.jitsi.impl.configuration.ConfigurationServiceImpl.info() net.java.sip.communicator.service.protocol.MAX_MEDIA_PORT_NUMBER=20000 at net.java.sip.communicator.impl.sysactivity.SystemActivityNotifications.<clinit>(SystemActivityNotifications.java:105) at net.java.sip.communicator.impl.sysactivity.SystemActivityNotificationsServiceImpl.isSupported(SystemActivityNotificationsServiceImpl.java:595) at net.java.sip.communicator.impl.sysactivity.SystemActivityNotificationsServiceImpl.start(SystemActivityNotificationsServiceImpl.java:132) at net.java.sip.communicator.impl.sysactivity.SysActivityActivator.start(SysActivityActivator.java:59) at net.java.sip.communicator.impl.sysactivity.NetworkManagerListenerImpl.<init>(NetworkManagerListenerImpl.java:45) at net.java.sip.communicator.impl.sysactivity.SystemActivityNotificationsServiceImpl.getCurrentRunningManager(SystemActivityNotificationsServiceImpl.java:632) at net.java.sip.communicator.impl.sysactivity.SystemActivityNotificationsServiceImpl.start(SystemActivityNotificationsServiceImpl.java:143) at net.java.sip.communicator.impl.sysactivity.SysActivityActivator.start(SysActivityActivator.java:59) at net.java.sip.communicator.impl.sysactivity.NetworkManagerListenerImpl.<init>(NetworkManagerListenerImpl.java:45) at net.java.sip.communicator.impl.sysactivity.SystemActivityNotificationsServiceImpl.getCurrentRunningManager(SystemActivityNotificationsServiceImpl.java:632) at net.java.sip.communicator.impl.sysactivity.SystemActivityNotificationsServiceImpl.isSupported(SystemActivityNotificationsServiceImpl.java:586) at net.java.sip.communicator.impl.netaddr.NetworkConfigurationWatcher.handleNewSystemActivityNotificationsService(NetworkConfigurationWatcher.java:176) at net.java.sip.communicator.impl.netaddr.NetworkConfigurationWatcher.serviceChanged(NetworkConfigurationWatcher.java:232)2015-03-22 17:32:43.701 INFO: [9] org.jitsi.jigasi.osgi.ConfigPrintActivator.info() net.java.sip.communicator.impl.protocol.sip.acc1429690698080.OVERRIDE_ENCODINGS=true2015-03-22 17:32:43.706 INFO: [9] org.jitsi.jigasi.osgi.ConfigPrintActivator.info() net.java.sip.communicator.impl.protocol.sip.acc1429690698080.Encodings.speex/16000=02015-03-22 17:32:43.707 INFO: [9] org.jitsi.jigasi.osgi.ConfigPrintActivator.info() net.java.sip.communicator.impl.protocol.sip.acc1429690698080.Encodings.GSM/8000=02015-03-22 17:32:43.711 INFO: [9] org.jitsi.jigasi.osgi.ConfigPrintActivator.info() net.java.sip.communicator.impl.protocol.sip.acc1429690698080.Encodings.H264/90000=02015-03-22 17:32:43.713 INFO: [9] org.jitsi.jigasi.osgi.ConfigPrintActivator.info() net.java.sip.communicator.impl.protocol.sip.acc1429690698080.USER_ID=8848@192.168.131.1882015-03-22 17:32:43.714 INFO: [9] org.jitsi.jigasi.osgi.ConfigPrintActivator.info() net.java.sip.communicator.impl.protocol.sip.acc1429690698080=acc14296906980802015-03-22 17:32:43.718 INFO: [9] org.jitsi.jigasi.osgi.ConfigPrintActivator.info() org.jitsi.jigasi.DEFAULT_JVB_ROOM_NAME=siptest2015-03-22 17:32:43.719 INFO: [9] org.jitsi.jigasi.osgi.ConfigPrintActivator.info() net.java.sip.communicator.packetlogging.PACKET_LOGGING_ENABLED=true2015-03-22 17:32:43.720 INFO: [9] org.jitsi.jigasi.osgi.ConfigPrintActivator.info() net.java.sip.communicator.impl.protocol.sip.acc1429690698080.Encodings.red/90000=02015-03-22 17:32:43.728 INFO: [9] org.jitsi.jigasi.osgi.ConfigPrintActivator.info() net.java.sip.communicator.impl.protocol.sip.acc1429690698080.Encodings.SILK/8000=02015-03-22 17:32:43.729 INFO: [9] org.jitsi.jigasi.osgi.ConfigPrintActivator.info() net.java.sip.communicator.impl.protocol.sip.acc1429690698080.ENCRYPTION_PROTOCOL_STATUS.SDES=false2015-03-22 17:32:43.731 INFO: [9] org.jitsi.jigasi.osgi.ConfigPrintActivator.info() net.java.sip.communicator.impl.protocol.sip.acc1429690698080.SERVER_ADDRESS=192.168.131.1882015-03-22 17:32:43.732 INFO: [9] org.jitsi.jigasi.osgi.ConfigPrintActivator.info() net.java.sip.communicator.impl.protocol.SingleCallInProgressPolicy.enabled=false2015-03-22 17:32:43.733 INFO: [9] org.jitsi.jigasi.osgi.ConfigPrintActivator.info() net.java.sip.communicator.impl.protocol.sip.acc1429690698080.ACCOUNT_UID=SIP:8848@192.168.131.1882015-03-22 17:32:43.736 INFO: [9] org.jitsi.jigasi.osgi.ConfigPrintActivator.info() net.java.sip.communicator.impl.neomedia.codec.audio.opus.encoder.FEC=false2015-03-22 17:32:43.738 INFO: [9] org.jitsi.jigasi.osgi.ConfigPrintActivator.info() net.java.sip.communicator.impl.protocol.sip.acc1429690698080.Encodings.PCMA/8000=6002015-03-22 17:32:43.739 INFO: [9] org.jitsi.jigasi.osgi.ConfigPrintActivator.info() net.java.sip.communicator.impl.protocol.sip.acc1429690698080.Encodings.opus/48000=10002015-03-22 17:32:43.741 INFO: [9] org.jitsi.jigasi.osgi.ConfigPrintActivator.info() net.java.sip.communicator.impl.protocol.sip.acc1429690698080.KEEP_ALIVE_INTERVAL=252015-03-22 17:32:43.742 INFO: [9] org.jitsi.jigasi.osgi.ConfigPrintActivator.info() net.java.sip.communicator.impl.protocol.sip.acc1429690698080.PROTOCOL_NAME=SIP2015-03-22 17:32:43.743 INFO: [9] org.jitsi.jigasi.osgi.ConfigPrintActivator.info() net.java.sip.communicator.impl.protocol.sip.acc1429690698080.Encodings.H263-1998/90000=02015-03-22 17:32:43.744 INFO: [9] org.jitsi.jigasi.osgi.ConfigPrintActivator.info() net.java.sip.communicator.impl.protocol.sip.acc1429690698080.FORCE_P2P_MODE=false2015-03-22 17:32:43.745 INFO: [9] org.jitsi.jigasi.osgi.ConfigPrintActivator.info() net.java.sip.communicator.impl.protocol.sip.acc1429690698080.ENCRYPTION_PROTOCOL.SDES=12015-03-22 17:32:43.746 INFO: [9] org.jitsi.jigasi.osgi.ConfigPrintActivator.info() net.java.sip.communicator.impl.protocol.sip.acc1429690698080.Encodings.SILK/24000=02015-03-22 17:32:43.747 INFO: [9] org.jitsi.jigasi.osgi.ConfigPrintActivator.info() net.java.sip.communicator.impl.protocol.sip.acc1429690698080.ENCRYPTION_PROTOCOL.DTLS-SRTP=22015-03-22 17:32:43.747 INFO: [9] org.jitsi.jigasi.osgi.ConfigPrintActivator.info() net.java.sip.communicator.impl.protocol.sip.acc1429690698080.Encodings.ulpfec/90000=02015-03-22 17:32:43.748 INFO: [9] org.jitsi.jigasi.osgi.ConfigPrintActivator.info() net.java.sip.communicator.impl.protocol.sip.acc1429690698080.Encodings.VP8/90000=02015-03-22 17:32:43.749 INFO: [9] org.jitsi.jigasi.osgi.ConfigPrintActivator.info() net.java.sip.communicator.impl.protocol.sip.acc1429690698080.Encodings.telephone-event/8000=12015-03-22 17:32:43.750 INFO: [9] org.jitsi.jigasi.osgi.ConfigPrintActivator.info() net.java.sip.communicator.impl.neomedia.codec.audio.opus.encoder.COMPLEXITY=102015-03-22 17:32:43.751 INFO: [9] org.jitsi.jigasi.osgi.ConfigPrintActivator.info() net.java.sip.communicator.impl.protocol.sip.acc1429690698080.Encodings.SILK/16000=02015-03-22 17:32:43.753 INFO: [9] org.jitsi.jigasi.osgi.ConfigPrintActivator.info() net.java.sip.communicator.impl.protocol.sip.acc1429690698080.DEFAULT_ENCRYPTION=true2015-03-22 17:32:43.755 INFO: [9] org.jitsi.jigasi.osgi.ConfigPrintActivator.info() net.java.sip.communicator.impl.protocol.sip.acc1429690698080.PROXY_AUTO_CONFIG=true2015-03-22 17:32:43.761 INFO: [9] org.jitsi.jigasi.osgi.ConfigPrintActivator.info() net.java.sip.communicator.impl.protocol.sip.acc1429690698080.Encodings.PCMU/8000=6502015-03-22 17:32:43.764 INFO: [9] org.jitsi.jigasi.osgi.ConfigPrintActivator.info() net.java.sip.communicator.impl.protocol.sip.acc1429690698080.ENCRYPTION_PROTOCOL_STATUS.ZRTP=true2015-03-22 17:32:43.766 INFO: [9] org.jitsi.jigasi.osgi.ConfigPrintActivator.info() net.java.sip.communicator.impl.protocol.sip.acc1429690698080.Encodings.iLBC/8000=102015-03-22 17:32:43.768 INFO: [9] org.jitsi.jigasi.osgi.ConfigPrintActivator.info() net.java.sip.communicator.impl.protocol.sip.acc1429690698080.Encodings.G722/8000=7002015-03-22 17:32:43.780 INFO: [9] org.jitsi.jigasi.osgi.ConfigPrintActivator.info() net.java.sip.communicator.impl.protocol.sip.acc1429690698080.ENCRYPTED_PASSWORD=**********2015-03-22 17:32:43.782 INFO: [9] org.jitsi.jigasi.osgi.ConfigPrintActivator.info() net.java.sip.communicator.impl.protocol.sip.acc1429690698080.DEFAULT_SIPZRTP_ATTRIBUTE=true2015-03-22 17:32:43.786 INFO: [9] org.jitsi.jigasi.osgi.ConfigPrintActivator.info() net.java.sip.communicator.impl.protocol.sip.acc1429690698080.Encodings.speex/32000=02015-03-22 17:32:43.789 INFO: [9] org.jitsi.jigasi.osgi.ConfigPrintActivator.info() net.java.sip.communicator.impl.protocol.sip.acc1429690698080.KEEP_ALIVE_METHOD=OPTIONS2015-03-22 17:32:43.790 INFO: [9] org.jitsi.jigasi.osgi.ConfigPrintActivator.info() net.java.sip.communicator.impl.protocol.sip.acc1429690698080.ENCRYPTION_PROTOCOL.ZRTP=02015-03-22 17:32:43.791 INFO: [9] org.jitsi.jigasi.osgi.ConfigPrintActivator.info() net.java.sip.communicator.impl.protocol.sip.acc1429690698080.SERVER_PORT=50602015-03-22 17:32:43.797 INFO: [9] org.jitsi.jigasi.osgi.ConfigPrintActivator.info() net.java.sip.communicator.impl.protocol.sip.acc1429690698080.Encodings.speex/8000=02015-03-22 17:32:43.798 INFO: [9] org.jitsi.jigasi.osgi.ConfigPrintActivator.info() net.java.sip.communicator.impl.protocol.sip.acc1429690698080.Encodings.AMR-WB/16000=7502015-03-22 17:32:43.798 INFO: [9] org.jitsi.jigasi.osgi.ConfigPrintActivator.info() net.java.sip.communicator.impl.protocol.sip.acc1429690698080.Encodings.SILK/12000=0 at net.java.sip.communicator.impl.neomedia.NeomediaActivator.start(NeomediaActivator.java:380)2015-03-22 17:32:46.182 WARNING: [26] impl.protocol.sip.SipLogger.logWarning().174 Warning from the JAIN-SIP stackusing default tls security policy2015-03-22 17:32:46.269 INFO: [26] impl.protocol.sip.SipLogger.logInfo().185 Info from the JAIN-SIP stack: the sip stack timer gov.nist.javax.sip.stack.timers.DefaultSipTimer has been started2015-03-22 17:32:46.889 INFO: [33] org.jitsi.jigasi.SipGateway.registrationStateChanged().159 REG STATE CHANGE ProtocolProviderServiceSipImpl(8848@192.168.131.188 (SIP)) -> RegistrationStateChangeEvent[ oldState=Unregistered; newState=RegistrationState=Registering; reasonCode=-1; reason=null]net.java.sip.communicator.service.credentialsstorage.CryptoException: javax.crypto.BadPaddingException: Given final block not properly padded at net.java.sip.communicator.impl.credentialsstorage.AESCrypto.decrypt(AESCrypto.java:173) at net.java.sip.communicator.impl.credentialsstorage.CredentialsStorageServiceImpl.loadPassword(CredentialsStorageServiceImpl.java:158) at net.java.sip.communicator.service.protocol.ProtocolProviderFactory.loadPassword(ProtocolProviderFactory.java:936) at net.java.sip.communicator.service.protocol.ProtocolProviderFactory.loadPassword(ProtocolProviderFactory.java:905) at net.java.sip.communicator.impl.protocol.sip.security.SipSecurityManager.handleChallenge(SipSecurityManager.java:216) at net.java.sip.communicator.impl.protocol.sip.security.SipSecurityManager.handleChallenge(SipSecurityManager.java:127) at net.java.sip.communicator.impl.protocol.sip.SipRegistrarConnection.processAuthenticationChallenge(SipRegistrarConnection.java:986) at net.java.sip.communicator.impl.protocol.sip.SipRegistrarConnection.processResponse(SipRegistrarConnection.java:926) at net.java.sip.communicator.impl.protocol.sip.ProtocolProviderServiceSipImpl.processResponse(ProtocolProviderServiceSipImpl.java:757) at net.java.sip.communicator.impl.protocol.sip.SipStackSharing.processResponse(SipStackSharing.java:751) at gov.nist.javax.sip.EventScanner.deliverEvent(EventScanner.java:296) at gov.nist.javax.sip.SipProviderImpl.handleEvent(SipProviderImpl.java:196) at gov.nist.javax.sip.DialogFilter.processResponse(DialogFilter.java:1480) at gov.nist.javax.sip.stack.SIPClientTransaction.nonInviteClientTransaction(SIPClientTransaction.java:643) at gov.nist.javax.sip.stack.SIPClientTransaction.processResponse(SIPClientTransaction.java:550) at gov.nist.javax.sip.stack.SIPClientTransaction.processResponse(SIPClientTransaction.java:1554) at gov.nist.javax.sip.stack.UDPMessageChannel.processMessage(UDPMessageChannel.java:583) at gov.nist.javax.sip.stack.UDPMessageChannel.processIncomingDataPacket(UDPMessageChannel.java:492) at gov.nist.javax.sip.stack.UDPMessageChannel.run(UDPMessageChannel.java:297) at net.java.sip.communicator.impl.credentialsstorage.AESCrypto.decrypt(AESCrypto.java:168)2015-03-22 17:32:47.278 INFO: [40] org.jitsi.jigasi.SipGateway.registrationStateChanged().159 REG STATE CHANGE ProtocolProviderServiceSipImpl(8848@192.168.131.188 (SIP)) -> RegistrationStateChangeEvent[ oldState=Registering; newState=RegistrationState=Unregistered; reasonCode=0; reason=User has canceled the authentication process.]2015-03-22 17:32:47.289 INFO: [40] impl.protocol.sip.SipLogger.logInfo().185 Info from the JAIN-SIP stack: the sip stack timer gov.nist.javax.sip.stack.timers.DefaultSipTimer has been stopped2015-03-22 17:32:48.295 INFO: [40] impl.protocol.sip.SipLogger.logInfo().185 Info from the JAIN-SIP stack: the sip stack timer gov.nist.javax.sip.stack.timers.DefaultSipTimer has been stopped
Thanks and Best RegardsYanchong Wang

···

From: wangyanchong@hotmail.com
To: users@jitsi.org
Date: Wed, 22 Apr 2015 07:01:43 +0000
Subject: [jitsi-users] jigasi can not register to freeswitch

Hello, Jigasi developers:
I just followed the discussion thread as http://lists.jitsi.org/pipermail/users/2015-January/008464.html to configure jigasi.ii jigasi 1.0-68 amd64 Jitsi Gateway for SIP
I found that those copied configuration from jitsi to jigasi can not work.Here are my jigasi configurations:
org.jitsi.jigasi.DEFAULT_JVB_ROOM_NAME=siptestnet.java.sip.communicator.impl.protocol.SingleCallInProgressPolicy.enabled=falsenet.java.sip.communicator.impl.neomedia.codec.audio.opus.encoder.COMPLEXITY=10net.java.sip.communicator.impl.neomedia.codec.audio.opus.encoder.FEC=falsenet.java.sip.communicator.packetlogging.PACKET_LOGGING_ENABLED=truenet.java.sip.communicator.impl.protocol.sip.acc1403273890647=acc1403273890647net.java.sip.communicator.impl.protocol.sip.acc1403273890647.ACCOUNT_UID=SIP\:8848@192.168.131.188#net.java.sip.communicator.impl.protocol.sip.acc1403273890647.AUTHORIZATION_NAME=8848@222.44.11.237net.java.sip.communicator.impl.protocol.sip.acc1403273890647.PASSWORD=1234net.java.sip.communicator.impl.protocol.sip.acc1403273890647.PROTOCOL_NAME=SIPnet.java.sip.communicator.impl.protocol.sip.acc1403273890647.SERVER_ADDRESS=192.168.131.188net.java.sip.communicator.impl.protocol.sip.acc1403273890647.USER_ID=8848@192.168.131.188
The log from jigasi always prints:2015-03-22 14:15:33.895 WARNING: [26] impl.protocol.sip.SipLogger.logWarning().174 Warning from the JAIN-SIP stackusing default tls security policy2015-03-22 14:15:33.909 INFO: [26] impl.protocol.sip.SipLogger.logInfo().185 Info from the JAIN-SIP stack: the sip stack timer gov.nist.javax.sip.stack.timers.DefaultSipTimer has been started2015-03-22 14:15:34.176 INFO: [33] org.jitsi.jigasi.SipGateway.registrationStateChanged().159 REG STATE CHANGE ProtocolProviderServiceSipImpl(8848@192.168.131.188 (SIP)) -> RegistrationStateChangeEvent[ oldState=Unregistered; newState=RegistrationState=Registering; reasonCode=-1; reason=null]2015-03-22 14:15:34.303 INFO: [42] org.jitsi.jigasi.SipGateway.registrationStateChanged().159 REG STATE CHANGE ProtocolProviderServiceSipImpl(8848@192.168.131.188 (SIP)) -> RegistrationStateChangeEvent[ oldState=Registering; newState=RegistrationState=Authentication Failed; reasonCode=1; reason=null]2015-03-22 14:15:34.304 INFO: [42] org.jitsi.jigasi.SipGateway.registrationStateChanged().159 REG STATE CHANGE ProtocolProviderServiceSipImpl(8848@192.168.131.188 (SIP)) -> RegistrationStateChangeEvent[ oldState=Authentication Failed; newState=RegistrationState=Unregistered; reasonCode=0; reason=User has canceled the authentication process.]
See my attached jigasi.log and packet captures.
Following is the most detailed log from freeswitch:
freeswitch@debian> tport.c:2733 tport_wakeup_pri() tport_wakeup_pri(0x15705d0): events INtport.c:2848 tport_recv_event() tport_recv_event(0x15705d0)tport.c:3189 tport_recv_iovec() tport_recv_iovec(0x15705d0) msg 0x14cb620 from (udp/192.168.131.188:5060) has 504 bytes, veclen = 1tport.c:3007 tport_deliver() tport_deliver(0x15705d0): msg 0x14cb620 (504 bytes) from udp/192.168.131.179:5060/sip next=(nil)nta.c:2791 agent_recv_request() nta: received REGISTER sip:192.168.131.188 SIP/2.0 (CSeq 1)nta.c:3150 agent_aliases() nta: canonizing sip:192.168.131.188 with contactnta.c:2990 agent_recv_request() nta: REGISTER (1) going to a default legnua_server.c:102 nua_stack_process_request() nua: nua_stack_process_request: enteringnua_stack.c:899 nh_create() nua: nh_create: enteringnua_common.c:108 nh_create_handle() nua: nh_create_handle: enteringnua_params.c:480 nua_stack_set_params() nua: nua_stack_set_params: enteringsoa.c:282 soa_clone() soa_clone(static::0x1574970, 0x1574fb0, 0x15e5ff0) calledsoa.c:405 soa_set_params() soa_set_params(static::0x163d500, ...) callednua_stack.c:271 nua_stack_event() nua(0x15e5ff0): event i_register 100 Tryingnua_stack.c:359 nua_application_event() nua: nua_application_event: enteringnua.c:366 nua_handle_magic() nua: nua_handle_magic: enteringnua.c:879 nua_respond() nua: nua_respond: enteringnua_stack.c:573 nua_stack_signal() nua(0x15e5ff0): recv signal r_respond 401 Unauthorizednua_params.c:480 nua_stack_set_params() nua: nua_stack_set_params: enteringsoa.c:405 soa_set_params() soa_set_params(static::0x163d500, ...) calledtport.c:3241 tport_tsend() tport_tsend(0x15705d0) tpn = UDP/192.168.131.179:5060tport.c:4030 tport_resolve() tport_resolve addrinfo = 192.168.131.179:5060tport.c:4664 tport_by_addrinfo() tport_by_addrinfo(0x15705d0): not found by name UDP/192.168.131.179:5060tport.c:3578 tport_vsend() tport_vsend(0x15705d0): 643 bytes of 643 to udp/192.168.131.179:5060tport.c:3476 tport_send_msg() tport_vsend returned 643nta.c:6669 incoming_reply() nta: sent 401 Unauthorized for REGISTER (1)nta.c:1343 set_timeout() nta: timer set to 32000 msnua_stack.c:529 nua_signal() nua(0x15e5ff0): sent signal r_respondnua.c:921 nua_handle_destroy() nua: nua_handle_destroy: enteringnua_stack.c:569 nua_stack_signal() nua(0x15e5ff0): recv signal r_destroynta.c:4357 nta_leg_destroy() nta_leg_destroy((nil))soa.c:358 soa_destroy() soa_destroy(static::0x163d500) callednua_stack.c:529 nua_signal() nua(0x15e5ff0): sent signal r_destroynua.c:366 nua_handle_magic() nua: nua_handle_magic: enteringnua.c:921 nua_handle_destroy() nua: nua_handle_destroy: enteringtport.c:2733 tport_wakeup_pri() tport_wakeup_pri(0x15705d0): events INtport.c:2848 tport_recv_event() tport_recv_event(0x15705d0)tport.c:3189 tport_recv_iovec() tport_recv_iovec(0x15705d0) msg 0x1500e00 from (udp/192.168.131.188:5060) has 730 bytes, veclen = 1tport.c:3007 tport_deliver() tport_deliver(0x15705d0): msg 0x1500e00 (730 bytes) from udp/192.168.131.179:5060/sip next=(nil)nta.c:2791 agent_recv_request() nta: received REGISTER sip:192.168.131.188 SIP/2.0 (CSeq 2)nta.c:3150 agent_aliases() nta: canonizing sip:192.168.131.188 with contactnta.c:2990 agent_recv_request() nta: REGISTER (2) going to a default legnua_server.c:102 nua_stack_process_request() nua: nua_stack_process_request: enteringnua_stack.c:899 nh_create() nua: nh_create: enteringnua_common.c:108 nh_create_handle() nua: nh_create_handle: enteringnua_params.c:480 nua_stack_set_params() nua: nua_stack_set_params: enteringsoa.c:282 soa_clone() soa_clone(static::0x1574970, 0x1574fb0, 0x163d500) calledsoa.c:405 soa_set_params() soa_set_params(static::0x15d2040, ...) callednua_stack.c:271 nua_stack_event() nua(0x163d500): event i_register 100 Tryingnua_stack.c:359 nua_application_event() nua: nua_application_event: enteringnua.c:366 nua_handle_magic() nua: nua_handle_magic: enteringnua.c:879 nua_respond() nua: nua_respond: enteringnua_stack.c:573 nua_stack_signal() nua(0x163d500): recv signal r_respond 403 Forbiddennua_params.c:480 nua_stack_set_params() nua: nua_stack_set_params: enteringsoa.c:405 soa_set_params() soa_set_params(static::0x15d2040, ...) calledtport.c:3241 tport_tsend() tport_tsend(0x15705d0) tpn = UDP/192.168.131.179:5060tport.c:4030 tport_resolve() tport_resolve addrinfo = 192.168.131.179:5060tport.c:4664 tport_by_addrinfo() tport_by_addrinfo(0x15705d0): not found by name UDP/192.168.131.179:5060tport.c:3578 tport_vsend() tport_vsend(0x15705d0): 517 bytes of 517 to udp/192.168.131.179:5060tport.c:3476 tport_send_msg() tport_vsend returned 517nta.c:6669 incoming_reply() nta: sent 403 Forbidden for REGISTER (2)nua_stack.c:529 nua_signal() nua(0x163d500): sent signal r_respondnua.c:921 nua_handle_destroy() nua: nua_handle_destroy: enteringnua_stack.c:569 nua_stack_signal() nua(0x163d500): recv signal r_destroynta.c:4357 nta_leg_destroy() nta_leg_destroy((nil))soa.c:358 soa_destroy() soa_destroy(static::0x15d2040) callednua_stack.c:529 nua_signal() nua(0x163d500): sent signal r_destroynua.c:366 nua_handle_magic() nua: nua_handle_magic: enteringnua.c:921 nua_handle_destroy() nua: nua_handle_destroy: enteringtport.c:2733 tport_wakeup_pri() tport_wakeup_pri(0x15705d0): events INtport.c:2848 tport_recv_event() tport_recv_event(0x15705d0)tport.c:3189 tport_recv_iovec() tport_recv_iovec(0x15705d0) msg 0x150eed0 from (udp/192.168.131.188:5060) has 504 bytes, veclen = 1tport.c:3007 tport_deliver() tport_deliver(0x15705d0): msg 0x150eed0 (504 bytes) from udp/192.168.131.179:5060/sip next=(nil)nta.c:2791 agent_recv_request() nta: received REGISTER sip:192.168.131.188 SIP/2.0 (CSeq 3)nta.c:3150 agent_aliases() nta: canonizing sip:192.168.131.188 with contactnta.c:2990 agent_recv_request() nta: REGISTER (3) going to a default legnua_server.c:102 nua_stack_process_request() nua: nua_stack_process_request: enteringnua_stack.c:899 nh_create() nua: nh_create: enteringnua_common.c:108 nh_create_handle() nua: nh_create_handle: enteringnua_params.c:480 nua_stack_set_params() nua: nua_stack_set_params: enteringsoa.c:282 soa_clone() soa_clone(static::0x1574970, 0x1574fb0, 0x15921c0) calledsoa.c:405 soa_set_params() soa_set_params(static::0x14bcfd0, ...) callednua_stack.c:271 nua_stack_event() nua(0x15921c0): event i_register 100 Tryingnua_stack.c:359 nua_application_event() nua: nua_application_event: enteringnua.c:366 nua_handle_magic() nua: nua_handle_magic: enteringnua.c:879 nua_respond() nua: nua_respond: enteringnua_stack.c:573 nua_stack_signal() nua(0x15921c0): recv signal r_respond 401 Unauthorizednua_params.c:480 nua_stack_set_params() nua: nua_stack_set_params: enteringsoa.c:405 soa_set_params() soa_set_params(static::0x14bcfd0, ...) calledtport.c:3241 tport_tsend() tport_tsend(0x15705d0) tpn = UDP/192.168.131.179:5060tport.c:4030 tport_resolve() tport_resolve addrinfo = 192.168.131.179:5060tport.c:4664 tport_by_addrinfo() tport_by_addrinfo(0x15705d0): not found by name UDP/192.168.131.179:5060tport.c:3578 tport_vsend() tport_vsend(0x15705d0): 643 bytes of 643 to udp/192.168.131.179:5060tport.c:3476 tport_send_msg() tport_vsend returned 643nta.c:6669 incoming_reply() nta: sent 401 Unauthorized for REGISTER (3)nua_stack.c:529 nua_signal() nua(0x15921c0): sent signal r_respondnua.c:921 nua_handle_destroy() nua: nua_handle_destroy: enteringnua_stack.c:569 nua_stack_signal() nua(0x15921c0): recv signal r_destroynta.c:4357 nta_leg_destroy() nta_leg_destroy((nil))soa.c:358 soa_destroy() soa_destroy(static::0x14bcfd0) callednua_stack.c:529 nua_signal() nua(0x15921c0): sent signal r_destroynua.c:366 nua_handle_magic() nua: nua_handle_magic: enteringnua.c:921 nua_handle_destroy() nua: nua_handle_destroy: enteringnta.c:7037 _nta_incoming_timer() nta: timer J fired, terminate 401 responsenta.c:5709 incoming_reclaim_queued() incoming_reclaim_all((nil), (nil), 0x7fce555ecc30)nta.c:7066 _nta_incoming_timer() nta_incoming_timer: 0/0 resent, 0/0 tout, 1/3 term, 1/3 freenta.c:1289 agent_timer() nta: timer set next to 49 msnta.c:7037 _nta_incoming_timer() nta: timer J fired, terminate 403 responsenta.c:5709 incoming_reclaim_queued() incoming_reclaim_all((nil), (nil), 0x7fce555ecc30)nta.c:7066 _nta_incoming_timer() nta_incoming_timer: 0/0 resent, 0/0 tout, 1/2 term, 1/2 freenta.c:1289 agent_timer() nta: timer set next to 6 msnta.c:7037 _nta_incoming_timer() nta: timer J fired, terminate 401 responsenta.c:5709 incoming_reclaim_queued() incoming_reclaim_all((nil), (nil), 0x7fce555ecc30)nta.c:7066 _nta_incoming_timer() nta_incoming_timer: 0/0 resent, 0/0 tout, 1/1 term, 1/1 freenta.c:1274 agent_timer() nta: timer not set

Thanks and Best RegardsYanchong Wang

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users


#4

Pawel:
This is exactly how I got the sip configurations from jitsi desktop application then copy to jigasi.
Thanks and Best RegardsYanchong Wang

···

Date: Wed, 22 Apr 2015 09:30:35 +0200
From: pawel.domas@jitsi.org
To: users@jitsi.org
Subject: Re: [jitsi-users] jigasi can not register to freeswitch

Hi,

Probably some properties are wrong. The easiest way to configure SIP
account is to first do this in Jitsi for desktop. Once you have this
working copy properties for this account from file
{user-home}/.sip-communicator/sip-communicator.properties.

Hope this helps !

On Wed, Apr 22, 2015 at 9:01 AM, WangYanchong <wangyanchong@hotmail.com> wrote:
> Hello, Jigasi developers:
>
> I just followed the discussion thread as
> http://lists.jitsi.org/pipermail/users/2015-January/008464.html to configure
> jigasi.
> ii jigasi 1.0-68 amd64
> Jitsi Gateway for SIP
>
> I found that those copied configuration from jitsi to jigasi can not work.
> Here are my jigasi configurations:
>
> org.jitsi.jigasi.DEFAULT_JVB_ROOM_NAME=siptest
> net.java.sip.communicator.impl.protocol.SingleCallInProgressPolicy.enabled=false
> net.java.sip.communicator.impl.neomedia.codec.audio.opus.encoder.COMPLEXITY=10
> net.java.sip.communicator.impl.neomedia.codec.audio.opus.encoder.FEC=false
> net.java.sip.communicator.packetlogging.PACKET_LOGGING_ENABLED=true
> net.java.sip.communicator.impl.protocol.sip.acc1403273890647=acc1403273890647
> net.java.sip.communicator.impl.protocol.sip.acc1403273890647.ACCOUNT_UID=SIP\:8848@192.168.131.188
> #net.java.sip.communicator.impl.protocol.sip.acc1403273890647.AUTHORIZATION_NAME=8848@222.44.11.237
> net.java.sip.communicator.impl.protocol.sip.acc1403273890647.PASSWORD=1234
> net.java.sip.communicator.impl.protocol.sip.acc1403273890647.PROTOCOL_NAME=SIP
> net.java.sip.communicator.impl.protocol.sip.acc1403273890647.SERVER_ADDRESS=192.168.131.188
> net.java.sip.communicator.impl.protocol.sip.acc1403273890647.USER_ID=8848@192.168.131.188
>
> The log from jigasi always prints:
> 2015-03-22 14:15:33.895 WARNING: [26]
> impl.protocol.sip.SipLogger.logWarning().174 Warning from the JAIN-SIP
> stackusing default tls security policy
> 2015-03-22 14:15:33.909 INFO: [26] impl.protocol.sip.SipLogger.logInfo().185
> Info from the JAIN-SIP stack: the sip stack timer
> gov.nist.javax.sip.stack.timers.DefaultSipTimer has been started
> 2015-03-22 14:15:34.176 INFO: [33]
> org.jitsi.jigasi.SipGateway.registrationStateChanged().159 REG STATE CHANGE
> ProtocolProviderServiceSipImpl(8848@192.168.131.188 (SIP)) ->
> RegistrationStateChangeEvent[ oldState=Unregistered;
> newState=RegistrationState=Registering; reasonCode=-1; reason=null]
> 2015-03-22 14:15:34.303 INFO: [42]
> org.jitsi.jigasi.SipGateway.registrationStateChanged().159 REG STATE CHANGE
> ProtocolProviderServiceSipImpl(8848@192.168.131.188 (SIP)) ->
> RegistrationStateChangeEvent[ oldState=Registering;
> newState=RegistrationState=Authentication Failed; reasonCode=1; reason=null]
> 2015-03-22 14:15:34.304 INFO: [42]
> org.jitsi.jigasi.SipGateway.registrationStateChanged().159 REG STATE CHANGE
> ProtocolProviderServiceSipImpl(8848@192.168.131.188 (SIP)) ->
> RegistrationStateChangeEvent[ oldState=Authentication Failed;
> newState=RegistrationState=Unregistered; reasonCode=0; reason=User has
> canceled the authentication process.]
>
> See my attached jigasi.log and packet captures.
>
> Following is the most detailed log from freeswitch:
>
> freeswitch@debian> tport.c:2733 tport_wakeup_pri()
> tport_wakeup_pri(0x15705d0): events IN
> tport.c:2848 tport_recv_event() tport_recv_event(0x15705d0)
> tport.c:3189 tport_recv_iovec() tport_recv_iovec(0x15705d0) msg 0x14cb620
> from (udp/192.168.131.188:5060) has 504 bytes, veclen = 1
> tport.c:3007 tport_deliver() tport_deliver(0x15705d0): msg 0x14cb620 (504
> bytes) from udp/192.168.131.179:5060/sip next=(nil)
> nta.c:2791 agent_recv_request() nta: received REGISTER sip:192.168.131.188
> SIP/2.0 (CSeq 1)
> nta.c:3150 agent_aliases() nta: canonizing sip:192.168.131.188 with contact
> nta.c:2990 agent_recv_request() nta: REGISTER (1) going to a default leg
> nua_server.c:102 nua_stack_process_request() nua: nua_stack_process_request:
> entering
> nua_stack.c:899 nh_create() nua: nh_create: entering
> nua_common.c:108 nh_create_handle() nua: nh_create_handle: entering
> nua_params.c:480 nua_stack_set_params() nua: nua_stack_set_params: entering
> soa.c:282 soa_clone() soa_clone(static::0x1574970, 0x1574fb0, 0x15e5ff0)
> called
> soa.c:405 soa_set_params() soa_set_params(static::0x163d500, ...) called
> nua_stack.c:271 nua_stack_event() nua(0x15e5ff0): event i_register 100
> Trying
> nua_stack.c:359 nua_application_event() nua: nua_application_event: entering
> nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
> nua.c:879 nua_respond() nua: nua_respond: entering
> nua_stack.c:573 nua_stack_signal() nua(0x15e5ff0): recv signal r_respond 401
> Unauthorized
> nua_params.c:480 nua_stack_set_params() nua: nua_stack_set_params: entering
> soa.c:405 soa_set_params() soa_set_params(static::0x163d500, ...) called
> tport.c:3241 tport_tsend() tport_tsend(0x15705d0) tpn =
> UDP/192.168.131.179:5060
> tport.c:4030 tport_resolve() tport_resolve addrinfo = 192.168.131.179:5060
> tport.c:4664 tport_by_addrinfo() tport_by_addrinfo(0x15705d0): not found by
> name UDP/192.168.131.179:5060
> tport.c:3578 tport_vsend() tport_vsend(0x15705d0): 643 bytes of 643 to
> udp/192.168.131.179:5060
> tport.c:3476 tport_send_msg() tport_vsend returned 643
> nta.c:6669 incoming_reply() nta: sent 401 Unauthorized for REGISTER (1)
> nta.c:1343 set_timeout() nta: timer set to 32000 ms
> nua_stack.c:529 nua_signal() nua(0x15e5ff0): sent signal r_respond
> nua.c:921 nua_handle_destroy() nua: nua_handle_destroy: entering
> nua_stack.c:569 nua_stack_signal() nua(0x15e5ff0): recv signal r_destroy
> nta.c:4357 nta_leg_destroy() nta_leg_destroy((nil))
> soa.c:358 soa_destroy() soa_destroy(static::0x163d500) called
> nua_stack.c:529 nua_signal() nua(0x15e5ff0): sent signal r_destroy
> nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
> nua.c:921 nua_handle_destroy() nua: nua_handle_destroy: entering
> tport.c:2733 tport_wakeup_pri() tport_wakeup_pri(0x15705d0): events IN
> tport.c:2848 tport_recv_event() tport_recv_event(0x15705d0)
> tport.c:3189 tport_recv_iovec() tport_recv_iovec(0x15705d0) msg 0x1500e00
> from (udp/192.168.131.188:5060) has 730 bytes, veclen = 1
> tport.c:3007 tport_deliver() tport_deliver(0x15705d0): msg 0x1500e00 (730
> bytes) from udp/192.168.131.179:5060/sip next=(nil)
> nta.c:2791 agent_recv_request() nta: received REGISTER sip:192.168.131.188
> SIP/2.0 (CSeq 2)
> nta.c:3150 agent_aliases() nta: canonizing sip:192.168.131.188 with contact
> nta.c:2990 agent_recv_request() nta: REGISTER (2) going to a default leg
> nua_server.c:102 nua_stack_process_request() nua: nua_stack_process_request:
> entering
> nua_stack.c:899 nh_create() nua: nh_create: entering
> nua_common.c:108 nh_create_handle() nua: nh_create_handle: entering
> nua_params.c:480 nua_stack_set_params() nua: nua_stack_set_params: entering
> soa.c:282 soa_clone() soa_clone(static::0x1574970, 0x1574fb0, 0x163d500)
> called
> soa.c:405 soa_set_params() soa_set_params(static::0x15d2040, ...) called
> nua_stack.c:271 nua_stack_event() nua(0x163d500): event i_register 100
> Trying
> nua_stack.c:359 nua_application_event() nua: nua_application_event: entering
> nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
> nua.c:879 nua_respond() nua: nua_respond: entering
> nua_stack.c:573 nua_stack_signal() nua(0x163d500): recv signal r_respond 403
> Forbidden
> nua_params.c:480 nua_stack_set_params() nua: nua_stack_set_params: entering
> soa.c:405 soa_set_params() soa_set_params(static::0x15d2040, ...) called
> tport.c:3241 tport_tsend() tport_tsend(0x15705d0) tpn =
> UDP/192.168.131.179:5060
> tport.c:4030 tport_resolve() tport_resolve addrinfo = 192.168.131.179:5060
> tport.c:4664 tport_by_addrinfo() tport_by_addrinfo(0x15705d0): not found by
> name UDP/192.168.131.179:5060
> tport.c:3578 tport_vsend() tport_vsend(0x15705d0): 517 bytes of 517 to
> udp/192.168.131.179:5060
> tport.c:3476 tport_send_msg() tport_vsend returned 517
> nta.c:6669 incoming_reply() nta: sent 403 Forbidden for REGISTER (2)
> nua_stack.c:529 nua_signal() nua(0x163d500): sent signal r_respond
> nua.c:921 nua_handle_destroy() nua: nua_handle_destroy: entering
> nua_stack.c:569 nua_stack_signal() nua(0x163d500): recv signal r_destroy
> nta.c:4357 nta_leg_destroy() nta_leg_destroy((nil))
> soa.c:358 soa_destroy() soa_destroy(static::0x15d2040) called
> nua_stack.c:529 nua_signal() nua(0x163d500): sent signal r_destroy
> nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
> nua.c:921 nua_handle_destroy() nua: nua_handle_destroy: entering
> tport.c:2733 tport_wakeup_pri() tport_wakeup_pri(0x15705d0): events IN
> tport.c:2848 tport_recv_event() tport_recv_event(0x15705d0)
> tport.c:3189 tport_recv_iovec() tport_recv_iovec(0x15705d0) msg 0x150eed0
> from (udp/192.168.131.188:5060) has 504 bytes, veclen = 1
> tport.c:3007 tport_deliver() tport_deliver(0x15705d0): msg 0x150eed0 (504
> bytes) from udp/192.168.131.179:5060/sip next=(nil)
> nta.c:2791 agent_recv_request() nta: received REGISTER sip:192.168.131.188
> SIP/2.0 (CSeq 3)
> nta.c:3150 agent_aliases() nta: canonizing sip:192.168.131.188 with contact
> nta.c:2990 agent_recv_request() nta: REGISTER (3) going to a default leg
> nua_server.c:102 nua_stack_process_request() nua: nua_stack_process_request:
> entering
> nua_stack.c:899 nh_create() nua: nh_create: entering
> nua_common.c:108 nh_create_handle() nua: nh_create_handle: entering
> nua_params.c:480 nua_stack_set_params() nua: nua_stack_set_params: entering
> soa.c:282 soa_clone() soa_clone(static::0x1574970, 0x1574fb0, 0x15921c0)
> called
> soa.c:405 soa_set_params() soa_set_params(static::0x14bcfd0, ...) called
> nua_stack.c:271 nua_stack_event() nua(0x15921c0): event i_register 100
> Trying
> nua_stack.c:359 nua_application_event() nua: nua_application_event: entering
> nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
> nua.c:879 nua_respond() nua: nua_respond: entering
> nua_stack.c:573 nua_stack_signal() nua(0x15921c0): recv signal r_respond 401
> Unauthorized
> nua_params.c:480 nua_stack_set_params() nua: nua_stack_set_params: entering
> soa.c:405 soa_set_params() soa_set_params(static::0x14bcfd0, ...) called
> tport.c:3241 tport_tsend() tport_tsend(0x15705d0) tpn =
> UDP/192.168.131.179:5060
> tport.c:4030 tport_resolve() tport_resolve addrinfo = 192.168.131.179:5060
> tport.c:4664 tport_by_addrinfo() tport_by_addrinfo(0x15705d0): not found by
> name UDP/192.168.131.179:5060
> tport.c:3578 tport_vsend() tport_vsend(0x15705d0): 643 bytes of 643 to
> udp/192.168.131.179:5060
> tport.c:3476 tport_send_msg() tport_vsend returned 643
> nta.c:6669 incoming_reply() nta: sent 401 Unauthorized for REGISTER (3)
> nua_stack.c:529 nua_signal() nua(0x15921c0): sent signal r_respond
> nua.c:921 nua_handle_destroy() nua: nua_handle_destroy: entering
> nua_stack.c:569 nua_stack_signal() nua(0x15921c0): recv signal r_destroy
> nta.c:4357 nta_leg_destroy() nta_leg_destroy((nil))
> soa.c:358 soa_destroy() soa_destroy(static::0x14bcfd0) called
> nua_stack.c:529 nua_signal() nua(0x15921c0): sent signal r_destroy
> nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
> nua.c:921 nua_handle_destroy() nua: nua_handle_destroy: entering
> nta.c:7037 _nta_incoming_timer() nta: timer J fired, terminate 401 response
> nta.c:5709 incoming_reclaim_queued() incoming_reclaim_all((nil), (nil),
> 0x7fce555ecc30)
> nta.c:7066 _nta_incoming_timer() nta_incoming_timer: 0/0 resent, 0/0 tout,
> 1/3 term, 1/3 free
> nta.c:1289 agent_timer() nta: timer set next to 49 ms
> nta.c:7037 _nta_incoming_timer() nta: timer J fired, terminate 403 response
> nta.c:5709 incoming_reclaim_queued() incoming_reclaim_all((nil), (nil),
> 0x7fce555ecc30)
> nta.c:7066 _nta_incoming_timer() nta_incoming_timer: 0/0 resent, 0/0 tout,
> 1/2 term, 1/2 free
> nta.c:1289 agent_timer() nta: timer set next to 6 ms
> nta.c:7037 _nta_incoming_timer() nta: timer J fired, terminate 401 response
> nta.c:5709 incoming_reclaim_queued() incoming_reclaim_all((nil), (nil),
> 0x7fce555ecc30)
> nta.c:7066 _nta_incoming_timer() nta_incoming_timer: 0/0 resent, 0/0 tout,
> 1/1 term, 1/1 free
> nta.c:1274 agent_timer() nta: timer not set
>
>
> Thanks and Best Regards
> Yanchong Wang
>
> _______________________________________________
> users mailing list
> users@jitsi.org
> Unsubscribe instructions and other list options:
> http://lists.jitsi.org/mailman/listinfo/users

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users


#5

Pawel:
Forgot to mention, all the config lines were exactly same with jitsi desktop except that: .PASSWORD=1234 was replaced with:.ENCRYPTED_PASSWORD=WZ26q+B7I8s2AOxtT+C55A\=\=
Thanks and Best RegardsYanchong Wang

···

Date: Wed, 22 Apr 2015 09:30:35 +0200
From: pawel.domas@jitsi.org
To: users@jitsi.org
Subject: Re: [jitsi-users] jigasi can not register to freeswitch

Hi,

Probably some properties are wrong. The easiest way to configure SIP
account is to first do this in Jitsi for desktop. Once you have this
working copy properties for this account from file
{user-home}/.sip-communicator/sip-communicator.properties.

Hope this helps !

On Wed, Apr 22, 2015 at 9:01 AM, WangYanchong <wangyanchong@hotmail.com> wrote:
> Hello, Jigasi developers:
>
> I just followed the discussion thread as
> http://lists.jitsi.org/pipermail/users/2015-January/008464.html to configure
> jigasi.
> ii jigasi 1.0-68 amd64
> Jitsi Gateway for SIP
>
> I found that those copied configuration from jitsi to jigasi can not work.
> Here are my jigasi configurations:
>
> org.jitsi.jigasi.DEFAULT_JVB_ROOM_NAME=siptest
> net.java.sip.communicator.impl.protocol.SingleCallInProgressPolicy.enabled=false
> net.java.sip.communicator.impl.neomedia.codec.audio.opus.encoder.COMPLEXITY=10
> net.java.sip.communicator.impl.neomedia.codec.audio.opus.encoder.FEC=false
> net.java.sip.communicator.packetlogging.PACKET_LOGGING_ENABLED=true
> net.java.sip.communicator.impl.protocol.sip.acc1403273890647=acc1403273890647
> net.java.sip.communicator.impl.protocol.sip.acc1403273890647.ACCOUNT_UID=SIP\:8848@192.168.131.188
> #net.java.sip.communicator.impl.protocol.sip.acc1403273890647.AUTHORIZATION_NAME=8848@222.44.11.237
> net.java.sip.communicator.impl.protocol.sip.acc1403273890647.PASSWORD=1234
> net.java.sip.communicator.impl.protocol.sip.acc1403273890647.PROTOCOL_NAME=SIP
> net.java.sip.communicator.impl.protocol.sip.acc1403273890647.SERVER_ADDRESS=192.168.131.188
> net.java.sip.communicator.impl.protocol.sip.acc1403273890647.USER_ID=8848@192.168.131.188
>
> The log from jigasi always prints:
> 2015-03-22 14:15:33.895 WARNING: [26]
> impl.protocol.sip.SipLogger.logWarning().174 Warning from the JAIN-SIP
> stackusing default tls security policy
> 2015-03-22 14:15:33.909 INFO: [26] impl.protocol.sip.SipLogger.logInfo().185
> Info from the JAIN-SIP stack: the sip stack timer
> gov.nist.javax.sip.stack.timers.DefaultSipTimer has been started
> 2015-03-22 14:15:34.176 INFO: [33]
> org.jitsi.jigasi.SipGateway.registrationStateChanged().159 REG STATE CHANGE
> ProtocolProviderServiceSipImpl(8848@192.168.131.188 (SIP)) ->
> RegistrationStateChangeEvent[ oldState=Unregistered;
> newState=RegistrationState=Registering; reasonCode=-1; reason=null]
> 2015-03-22 14:15:34.303 INFO: [42]
> org.jitsi.jigasi.SipGateway.registrationStateChanged().159 REG STATE CHANGE
> ProtocolProviderServiceSipImpl(8848@192.168.131.188 (SIP)) ->
> RegistrationStateChangeEvent[ oldState=Registering;
> newState=RegistrationState=Authentication Failed; reasonCode=1; reason=null]
> 2015-03-22 14:15:34.304 INFO: [42]
> org.jitsi.jigasi.SipGateway.registrationStateChanged().159 REG STATE CHANGE
> ProtocolProviderServiceSipImpl(8848@192.168.131.188 (SIP)) ->
> RegistrationStateChangeEvent[ oldState=Authentication Failed;
> newState=RegistrationState=Unregistered; reasonCode=0; reason=User has
> canceled the authentication process.]
>
> See my attached jigasi.log and packet captures.
>
> Following is the most detailed log from freeswitch:
>
> freeswitch@debian> tport.c:2733 tport_wakeup_pri()
> tport_wakeup_pri(0x15705d0): events IN
> tport.c:2848 tport_recv_event() tport_recv_event(0x15705d0)
> tport.c:3189 tport_recv_iovec() tport_recv_iovec(0x15705d0) msg 0x14cb620
> from (udp/192.168.131.188:5060) has 504 bytes, veclen = 1
> tport.c:3007 tport_deliver() tport_deliver(0x15705d0): msg 0x14cb620 (504
> bytes) from udp/192.168.131.179:5060/sip next=(nil)
> nta.c:2791 agent_recv_request() nta: received REGISTER sip:192.168.131.188
> SIP/2.0 (CSeq 1)
> nta.c:3150 agent_aliases() nta: canonizing sip:192.168.131.188 with contact
> nta.c:2990 agent_recv_request() nta: REGISTER (1) going to a default leg
> nua_server.c:102 nua_stack_process_request() nua: nua_stack_process_request:
> entering
> nua_stack.c:899 nh_create() nua: nh_create: entering
> nua_common.c:108 nh_create_handle() nua: nh_create_handle: entering
> nua_params.c:480 nua_stack_set_params() nua: nua_stack_set_params: entering
> soa.c:282 soa_clone() soa_clone(static::0x1574970, 0x1574fb0, 0x15e5ff0)
> called
> soa.c:405 soa_set_params() soa_set_params(static::0x163d500, ...) called
> nua_stack.c:271 nua_stack_event() nua(0x15e5ff0): event i_register 100
> Trying
> nua_stack.c:359 nua_application_event() nua: nua_application_event: entering
> nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
> nua.c:879 nua_respond() nua: nua_respond: entering
> nua_stack.c:573 nua_stack_signal() nua(0x15e5ff0): recv signal r_respond 401
> Unauthorized
> nua_params.c:480 nua_stack_set_params() nua: nua_stack_set_params: entering
> soa.c:405 soa_set_params() soa_set_params(static::0x163d500, ...) called
> tport.c:3241 tport_tsend() tport_tsend(0x15705d0) tpn =
> UDP/192.168.131.179:5060
> tport.c:4030 tport_resolve() tport_resolve addrinfo = 192.168.131.179:5060
> tport.c:4664 tport_by_addrinfo() tport_by_addrinfo(0x15705d0): not found by
> name UDP/192.168.131.179:5060
> tport.c:3578 tport_vsend() tport_vsend(0x15705d0): 643 bytes of 643 to
> udp/192.168.131.179:5060
> tport.c:3476 tport_send_msg() tport_vsend returned 643
> nta.c:6669 incoming_reply() nta: sent 401 Unauthorized for REGISTER (1)
> nta.c:1343 set_timeout() nta: timer set to 32000 ms
> nua_stack.c:529 nua_signal() nua(0x15e5ff0): sent signal r_respond
> nua.c:921 nua_handle_destroy() nua: nua_handle_destroy: entering
> nua_stack.c:569 nua_stack_signal() nua(0x15e5ff0): recv signal r_destroy
> nta.c:4357 nta_leg_destroy() nta_leg_destroy((nil))
> soa.c:358 soa_destroy() soa_destroy(static::0x163d500) called
> nua_stack.c:529 nua_signal() nua(0x15e5ff0): sent signal r_destroy
> nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
> nua.c:921 nua_handle_destroy() nua: nua_handle_destroy: entering
> tport.c:2733 tport_wakeup_pri() tport_wakeup_pri(0x15705d0): events IN
> tport.c:2848 tport_recv_event() tport_recv_event(0x15705d0)
> tport.c:3189 tport_recv_iovec() tport_recv_iovec(0x15705d0) msg 0x1500e00
> from (udp/192.168.131.188:5060) has 730 bytes, veclen = 1
> tport.c:3007 tport_deliver() tport_deliver(0x15705d0): msg 0x1500e00 (730
> bytes) from udp/192.168.131.179:5060/sip next=(nil)
> nta.c:2791 agent_recv_request() nta: received REGISTER sip:192.168.131.188
> SIP/2.0 (CSeq 2)
> nta.c:3150 agent_aliases() nta: canonizing sip:192.168.131.188 with contact
> nta.c:2990 agent_recv_request() nta: REGISTER (2) going to a default leg
> nua_server.c:102 nua_stack_process_request() nua: nua_stack_process_request:
> entering
> nua_stack.c:899 nh_create() nua: nh_create: entering
> nua_common.c:108 nh_create_handle() nua: nh_create_handle: entering
> nua_params.c:480 nua_stack_set_params() nua: nua_stack_set_params: entering
> soa.c:282 soa_clone() soa_clone(static::0x1574970, 0x1574fb0, 0x163d500)
> called
> soa.c:405 soa_set_params() soa_set_params(static::0x15d2040, ...) called
> nua_stack.c:271 nua_stack_event() nua(0x163d500): event i_register 100
> Trying
> nua_stack.c:359 nua_application_event() nua: nua_application_event: entering
> nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
> nua.c:879 nua_respond() nua: nua_respond: entering
> nua_stack.c:573 nua_stack_signal() nua(0x163d500): recv signal r_respond 403
> Forbidden
> nua_params.c:480 nua_stack_set_params() nua: nua_stack_set_params: entering
> soa.c:405 soa_set_params() soa_set_params(static::0x15d2040, ...) called
> tport.c:3241 tport_tsend() tport_tsend(0x15705d0) tpn =
> UDP/192.168.131.179:5060
> tport.c:4030 tport_resolve() tport_resolve addrinfo = 192.168.131.179:5060
> tport.c:4664 tport_by_addrinfo() tport_by_addrinfo(0x15705d0): not found by
> name UDP/192.168.131.179:5060
> tport.c:3578 tport_vsend() tport_vsend(0x15705d0): 517 bytes of 517 to
> udp/192.168.131.179:5060
> tport.c:3476 tport_send_msg() tport_vsend returned 517
> nta.c:6669 incoming_reply() nta: sent 403 Forbidden for REGISTER (2)
> nua_stack.c:529 nua_signal() nua(0x163d500): sent signal r_respond
> nua.c:921 nua_handle_destroy() nua: nua_handle_destroy: entering
> nua_stack.c:569 nua_stack_signal() nua(0x163d500): recv signal r_destroy
> nta.c:4357 nta_leg_destroy() nta_leg_destroy((nil))
> soa.c:358 soa_destroy() soa_destroy(static::0x15d2040) called
> nua_stack.c:529 nua_signal() nua(0x163d500): sent signal r_destroy
> nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
> nua.c:921 nua_handle_destroy() nua: nua_handle_destroy: entering
> tport.c:2733 tport_wakeup_pri() tport_wakeup_pri(0x15705d0): events IN
> tport.c:2848 tport_recv_event() tport_recv_event(0x15705d0)
> tport.c:3189 tport_recv_iovec() tport_recv_iovec(0x15705d0) msg 0x150eed0
> from (udp/192.168.131.188:5060) has 504 bytes, veclen = 1
> tport.c:3007 tport_deliver() tport_deliver(0x15705d0): msg 0x150eed0 (504
> bytes) from udp/192.168.131.179:5060/sip next=(nil)
> nta.c:2791 agent_recv_request() nta: received REGISTER sip:192.168.131.188
> SIP/2.0 (CSeq 3)
> nta.c:3150 agent_aliases() nta: canonizing sip:192.168.131.188 with contact
> nta.c:2990 agent_recv_request() nta: REGISTER (3) going to a default leg
> nua_server.c:102 nua_stack_process_request() nua: nua_stack_process_request:
> entering
> nua_stack.c:899 nh_create() nua: nh_create: entering
> nua_common.c:108 nh_create_handle() nua: nh_create_handle: entering
> nua_params.c:480 nua_stack_set_params() nua: nua_stack_set_params: entering
> soa.c:282 soa_clone() soa_clone(static::0x1574970, 0x1574fb0, 0x15921c0)
> called
> soa.c:405 soa_set_params() soa_set_params(static::0x14bcfd0, ...) called
> nua_stack.c:271 nua_stack_event() nua(0x15921c0): event i_register 100
> Trying
> nua_stack.c:359 nua_application_event() nua: nua_application_event: entering
> nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
> nua.c:879 nua_respond() nua: nua_respond: entering
> nua_stack.c:573 nua_stack_signal() nua(0x15921c0): recv signal r_respond 401
> Unauthorized
> nua_params.c:480 nua_stack_set_params() nua: nua_stack_set_params: entering
> soa.c:405 soa_set_params() soa_set_params(static::0x14bcfd0, ...) called
> tport.c:3241 tport_tsend() tport_tsend(0x15705d0) tpn =
> UDP/192.168.131.179:5060
> tport.c:4030 tport_resolve() tport_resolve addrinfo = 192.168.131.179:5060
> tport.c:4664 tport_by_addrinfo() tport_by_addrinfo(0x15705d0): not found by
> name UDP/192.168.131.179:5060
> tport.c:3578 tport_vsend() tport_vsend(0x15705d0): 643 bytes of 643 to
> udp/192.168.131.179:5060
> tport.c:3476 tport_send_msg() tport_vsend returned 643
> nta.c:6669 incoming_reply() nta: sent 401 Unauthorized for REGISTER (3)
> nua_stack.c:529 nua_signal() nua(0x15921c0): sent signal r_respond
> nua.c:921 nua_handle_destroy() nua: nua_handle_destroy: entering
> nua_stack.c:569 nua_stack_signal() nua(0x15921c0): recv signal r_destroy
> nta.c:4357 nta_leg_destroy() nta_leg_destroy((nil))
> soa.c:358 soa_destroy() soa_destroy(static::0x14bcfd0) called
> nua_stack.c:529 nua_signal() nua(0x15921c0): sent signal r_destroy
> nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
> nua.c:921 nua_handle_destroy() nua: nua_handle_destroy: entering
> nta.c:7037 _nta_incoming_timer() nta: timer J fired, terminate 401 response
> nta.c:5709 incoming_reclaim_queued() incoming_reclaim_all((nil), (nil),
> 0x7fce555ecc30)
> nta.c:7066 _nta_incoming_timer() nta_incoming_timer: 0/0 resent, 0/0 tout,
> 1/3 term, 1/3 free
> nta.c:1289 agent_timer() nta: timer set next to 49 ms
> nta.c:7037 _nta_incoming_timer() nta: timer J fired, terminate 403 response
> nta.c:5709 incoming_reclaim_queued() incoming_reclaim_all((nil), (nil),
> 0x7fce555ecc30)
> nta.c:7066 _nta_incoming_timer() nta_incoming_timer: 0/0 resent, 0/0 tout,
> 1/2 term, 1/2 free
> nta.c:1289 agent_timer() nta: timer set next to 6 ms
> nta.c:7037 _nta_incoming_timer() nta: timer J fired, terminate 401 response
> nta.c:5709 incoming_reclaim_queued() incoming_reclaim_all((nil), (nil),
> 0x7fce555ecc30)
> nta.c:7066 _nta_incoming_timer() nta_incoming_timer: 0/0 resent, 0/0 tout,
> 1/1 term, 1/1 free
> nta.c:1274 agent_timer() nta: timer not set
>
>
> Thanks and Best Regards
> Yanchong Wang
>
> _______________________________________________
> users mailing list
> users@jitsi.org
> Unsubscribe instructions and other list options:
> http://lists.jitsi.org/mailman/listinfo/users

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users


#6

Hi,

···

On Wed, Apr 22, 2015 at 10:25 AM, WangYanchong <wangyanchong@hotmail.com> wrote:

Pawel:

Forgot to mention, all the config lines were exactly same with jitsi desktop
except that:
.PASSWORD=1234
was replaced with:
.ENCRYPTED_PASSWORD=WZ26q+B7I8s2AOxtT+C55A\=\=

Password should be entered into .PASSWORD property using Base64
encoding. So in your case it will be:

.PASSWORD=MTIzNA==

Regards,
Pawel