<div dir="ltr">New SIP capture og with FreeSWITCH log syntax highlighting : <a href="http://pastebin.freeswitch.com/20457">http://pastebin.freeswitch.com/20457</a></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Thu, Jan 17, 2013 at 12:50 AM, Paan Singh <span dir="ltr">&lt;<a href="mailto:paan.singh.coder@gmail.com" target="_blank">paan.singh.coder@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi, <div><br></div><div>I&#39;m using JsSIP from a webpage to make a SIP call to FS, using OverSIP as a Websocket-&gt;SIP proxy.<br><br>I&#39;m able to Register successfully, but when I make a call from JsSIP UA to FreeSWITCH, I get a 180 Ringing, but after that I get a 488 Not Acceptable here.. Please help me figure out what I&#39;m doing wrong here.<br>

<br><br>My inbound_codec_prefs is : <br><br></div><div>&lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;global_codec_prefs=G729,G7221@32000h,G7221@16000h,G722,PCMU,PCMA,GSM,isac@16000h,isac,opus&quot;/&gt;<br></div>
<div><br>Here is FreeSWITCH&#39;s log for the incoming call : <br><br>=============================================<br><div>port.c:2730 tport_wakeup_pri() tport_wakeup_pri(0x26036f0): events IN</div><div>tport.c:2845 tport_recv_event() tport_recv_event(0x26036f0)</div>

<div>tport.c:3186 tport_recv_iovec() tport_recv_iovec(0x26036f0) msg 0x2913be0 from (udp/<a href="http://116.214.15.45:5080" target="_blank">116.214.15.45:5080</a>) has 3113 bytes, veclen = 1</div><div>tport.c:3004 tport_deliver() tport_deliver(0x26036f0): msg 0x2913be0 (3113 bytes) from udp/<a href="http://121.245.35.150:5080/sip" target="_blank">121.245.35.150:5080/sip</a> next=(nil)</div>

<div>nta.c:2803 agent_recv_request() nta: received INVITE <a href="mailto:sip%3A30201009@116.214.15.45" target="_blank">sip:30201009@116.214.15.45</a> SIP/2.0 (CSeq 2141)</div><div>nta.c:3161 agent_aliases() nta: canonizing <a href="mailto:sip%3A30201009@116.214.15.45" target="_blank">sip:30201009@116.214.15.45</a> with contact</div>

<div>nta.c:3002 agent_recv_request() nta: INVITE (2141) going to a default leg</div><div>nta.c:1348 set_timeout() nta: timer set to 200 ms</div><div>nua_server.c:102 nua_stack_process_request() nua: nua_stack_process_request: entering</div>

<div>nua_stack.c:899 nh_create() nua: nh_create: entering</div><div>nua_common.c:108 nh_create_handle() nua: nh_create_handle: entering</div><div>nua_params.c:480 nua_stack_set_params() nua: nua_stack_set_params: entering</div>

<div>soa.c:282 soa_clone() soa_clone(static::0x26122e0, 0x2606e20, 0x7f91840c4c50) called</div><div>soa.c:405 soa_set_params() soa_set_params(static::0x7f91840b25e0, ...) called</div><div>nta.c:4313 nta_leg_tcreate() nta_leg_tcreate(0x7f91840356d0)</div>

<div>soa.c:1302 soa_init_offer_answer() soa_init_offer_answer(static::0x7f91840b25e0) called</div><div>soa.c:1171 soa_set_remote_sdp() soa_set_remote_sdp(static::0x7f91840b25e0, (nil), 0x285676c, 2333) called</div><div>nua_dialog.c:338 nua_dialog_usage_add() nua(0x7f91840c4c50): adding session usage</div>

<div>tport.c:3238 tport_tsend() tport_tsend(0x26036f0) tpn = UDP/<a href="http://121.245.35.150:5065" target="_blank">121.245.35.150:5065</a></div><div>tport.c:4026 tport_resolve() tport_resolve addrinfo = <a href="http://121.245.35.150:5065" target="_blank">121.245.35.150:5065</a></div>

<div>tport.c:4660 tport_by_addrinfo() tport_by_addrinfo(0x26036f0): not found by name UDP/<a href="http://121.245.35.150:5065" target="_blank">121.245.35.150:5065</a></div><div>tport.c:3574 tport_vsend() tport_vsend(0x26036f0): 564 bytes of 564 to udp/<a href="http://121.245.35.150:5065" target="_blank">121.245.35.150:5065</a></div>

<div>tport.c:3472 tport_send_msg() tport_vsend returned 564</div><div>nta.c:6678 incoming_reply() nta: sent 100 Trying for INVITE (2141)</div><div>nua_stack.c:271 nua_stack_event() nua(0x7f91840c4c50): event i_invite 100 Trying</div>

<div>nua_session.c:4135 signal_call_state_change() nua(0x7f91840c4c50): call state changed: init -&gt; received, received offer</div><div>soa.c:1098 soa_get_remote_sdp() soa_get_remote_sdp(static::0x7f91840b25e0, [0x7f91aa98a5e8], [0x7f91aa98a5e0], [(nil)]) called</div>

<div>nua_stack.c:271 nua_stack_event() nua(0x7f91840c4c50): event i_state 100 Trying</div><div>nua_stack.c:359 nua_application_event() nua: nua_application_event: entering</div><div>nua.c:342 nua_handle_bind() nua: nua_handle_bind: entering</div>

<div>2013-01-17 00:25:27.733506 [NOTICE] switch_channel.c:968 New Channel sofia/external/<a href="http://1000@116.214.15.45:5080" target="_blank">1000@116.214.15.45:5080</a> [4aec7fd8-600e-11e2-8706-1365ba01ad52]</div><div>
2013-01-17 00:25:27.733506 [DEBUG] switch_core_session.c:975 Send signal sofia/external/<a href="http://1000@116.214.15.45:5080" target="_blank">1000@116.214.15.45:5080</a> [BREAK]</div>
<div>nua_stack.c:359 nua_application_event() nua: nua_application_event: entering</div><div>2013-01-17 00:25:27.733506 [DEBUG] switch_core_session.c:975 Send signal sofia/external/<a href="http://1000@116.214.15.45:5080" target="_blank">1000@116.214.15.45:5080</a> [BREAK]</div>

<div>2013-01-17 00:25:27.733506 [DEBUG] switch_core_state_machine.c:415 (sofia/external/<a href="http://1000@116.214.15.45:5080" target="_blank">1000@116.214.15.45:5080</a>) Running State Change CS_NEW</div><div>2013-01-17 00:25:27.733506 [DEBUG] switch_core_state_machine.c:433 (sofia/external/<a href="http://1000@116.214.15.45:5080" target="_blank">1000@116.214.15.45:5080</a>) State NEW</div>

<div>nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering</div><div>nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering</div><div>nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering</div><div>2013-01-17 00:25:27.753511 [DEBUG] sofia.c:5576 Channel sofia/external/<a href="http://1000@116.214.15.45:5080" target="_blank">1000@116.214.15.45:5080</a> entering state [received][100]</div>

<div>2013-01-17 00:25:27.753511 [DEBUG] sofia.c:5587 Remote SDP:</div><div>v=0</div><div>o=- 2957375511 2 IN IP4 127.0.0.1</div><div>s=-</div><div>t=0 0</div><div>a=group:BUNDLE audio video</div><div>m=audio 40111 RTP/SAVPF 103 104 0 8 106 105 13 126</div>

<div>c=IN IP4 121.245.35.150</div><div>a=rtcp:40111 IN IP4 121.245.35.150</div><div>a=candidate:877273017 1 udp 2113937151 121.245.35.150 39842 typ host generation 0</div><div>a=candidate:877273017 2 udp 2113937151 121.245.35.150 39842 typ host generation 0</div>

<div>a=candidate:4173799466 1 udp 1677729535 121.245.35.150 40111 typ srflx generation 0</div><div>a=candidate:4173799466 2 udp 1677729535 121.245.35.150 40111 typ srflx generation 0</div><div>a=candidate:2060051273 1 tcp 1509957375 121.245.35.150 54291 typ host generation 0</div>

<div>a=candidate:2060051273 2 tcp 1509957375 121.245.35.150 54291 typ host generation 0</div><div>a=ice-ufrag:qiKF0ErbxaXldKI0</div><div>a=ice-pwd:XlMXg/i8jwnCAgwnuo9KyZBw</div><div>a=ice-options:google-ice</div><div>a=mid:audio</div>

<div>a=rtcp-mux</div><div>a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:bX1U9Kr56lIcZBLQvS2pmRW3nAcTG9H0uahawqj2</div><div>a=rtpmap:103 ISAC/16000</div><div>a=rtpmap:104 ISAC/32000</div><div>a=rtpmap:0 PCMU/8000</div><div>a=rtpmap:8 PCMA/8000</div>

<div>a=rtpmap:106 CN/32000</div><div>a=rtpmap:105 CN/16000</div><div>a=rtpmap:13 CN/8000</div><div>a=rtpmap:126 telephone-event/8000</div><div>a=ssrc:4278252985 cname:fMHr4uVHPcpHFfGu</div><div>a=ssrc:4278252985 mslabel:OEZOjX953DJU0k0J3IKmuasdqH13b96rGxhx</div>

<div>a=ssrc:4278252985 label:OEZOjX953DJU0k0J3IKmuasdqH13b96rGxhx00</div><div>m=video 40111 RTP/SAVPF 100 101 102</div><div>c=IN IP4 121.245.35.150</div><div>a=rtcp:40111 IN IP4 121.245.35.150</div><div>a=candidate:877273017 1 udp 2113937151 121.245.35.150 39842 typ host generation 0</div>

<div>a=candidate:877273017 2 udp 2113937151 121.245.35.150 39842 typ host generation 0</div><div>a=candidate:4173799466 1 udp 1677729535 121.245.35.150 40111 typ srflx generation 0</div><div>a=candidate:4173799466 2 udp 1677729535 121.245.35.150 40111 typ srflx generation 0</div>

<div>a=candidate:2060051273 1 tcp 1509957375 121.245.35.150 54291 typ host generation 0</div><div>a=candidate:2060051273 2 tcp 1509957375 121.245.35.150 54291 typ host generation 0</div><div>a=ice-ufrag:qiKF0ErbxaXldKI0</div>

<div>a=ice-pwd:XlMXg/i8jwnCAgwnuo9KyZBw</div><div>a=ice-options:google-ice</div><div>a=mid:video</div><div>a=rtcp-mux</div><div>a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:bX1U9Kr56lIcZBLQvS2pmRW3nAcTG9H0uahawqj2</div><div>

a=rtpmap:100 VP8/90000</div><div>a=rtpmap:101 red/90000</div><div>a=rtpmap:102 ulpfec/90000</div><div>a=ssrc:169275022 cname:fMHr4uVHPcpHFfGu</div><div>a=ssrc:169275022 mslabel:OEZOjX953DJU0k0J3IKmuasdqH13b96rGxhx</div><div>

a=ssrc:169275022 label:OEZOjX953DJU0k0J3IKmuasdqH13b96rGxhx10</div><div><br></div><div>2013-01-17 00:25:27.753511 [DEBUG] sofia_glue.c:4978 Set Remote Key [1 AES_CM_128_HMAC_SHA1_80 inline:bX1U9Kr56lIcZBLQvS2pmRW3nAcTG9H0uahawqj2]</div>

<div>2013-01-17 00:25:27.753511 [DEBUG] sofia_glue.c:3155 Set Local Key [1 AES_CM_128_HMAC_SHA1_80 inline:i8vqmBeU4+/sjJBndCbEQ4G87gmpYeVnqxh8Xuzu]</div><div>2013-01-17 00:25:27.753511 [DEBUG] sofia_glue.c:5277 No 2833 in SDP.  Disable 2833 dtmf and switch to INFO</div>

<div>2013-01-17 00:25:27.753511 [DEBUG] switch_channel.c:2994 (sofia/external/1000@116.214.15:45:5080) Callstate Change DOWN -&gt; HANGUP</div><div>2013-01-17 00:25:27.753511 [NOTICE] sofia.c:5878 Hangup sofia/external/<a href="http://1000@116.214.15.45:5080" target="_blank">1000@116.214.15.45:5080</a> [CS_NEW] [INCOMPATIBLE_DESTINATION]</div>

<div>2013-01-17 00:25:27.753511 [DEBUG] switch_channel.c:3017 Send signal sofia/external/<a href="http://1000@116.214.15.45:5080" target="_blank">1000@116.214.15.45:5080</a> [KILL]</div><div>2013-01-17 00:25:27.753511 [DEBUG] switch_core_session.c:1291 Send signal sofia/external/<a href="http://1000@116.214.15.45:5080" target="_blank">1000@116.214.15.45:5080</a> [BREAK]</div>

<div>nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering</div><div>2013-01-17 00:25:27.753511 [DEBUG] switch_core_state_machine.c:415 (sofia/external/<a href="http://1000@116.214.15.45:5080" target="_blank">1000@116.214.15.45:5080</a>) Running State Change CS_HANGUP</div>

<div>2013-01-17 00:25:27.753511 [DEBUG] switch_core_state_machine.c:667 (sofia/external/<a href="http://1000@116.214.15.45:5080" target="_blank">1000@116.214.15.45:5080</a>) State HANGUP</div><div>2013-01-17 00:25:27.753511 [DEBUG] mod_sofia.c:503 Channel sofia/external/<a href="http://1000@116.214.15.45:5080" target="_blank">1000@116.214.15.45:5080</a> hanging up, cause: INCOMPATIBLE_DESTINATION</div>

<div>2013-01-17 00:25:27.753511 [DEBUG] mod_sofia.c:633 Responding to INVITE with: 488</div><div>nua.c:879 nua_respond() nua: nua_respond: entering</div><div>nua_stack.c:529 nua_signal() nua(0x7f91840c4c50): sent signal r_respond</div>

<div>2013-01-17 00:25:27.753511 [DEBUG] switch_core_state_machine.c:48 sofia/external/<a href="http://1000@116.214.15.45:5080" target="_blank">1000@116.214.15.45:5080</a> Standard HANGUP, cause: INCOMPATIBLE_DESTINATION</div>
<div>2013-01-17 00:25:27.753511 [DEBUG] switch_core_state_machine.c:667 (sofia/external/<a href="http://1000@116.214.15.45:5080" target="_blank">1000@116.214.15.45:5080</a>) State HANGUP going to sleep</div>
<div>nua_stack.c:573 nua_stack_signal() nua(0x7f91840c4c50): recv signal r_respond 488 Not Acceptable Here</div><div>2013-01-17 00:25:27.753511 [DEBUG] switch_core_state_machine.c:446 (sofia/external/<a href="http://1000@116.214.15.45:5080" target="_blank">1000@116.214.15.45:5080</a>) State Change CS_HANGUP -&gt; CS_REPORTING</div>

<div>nua_params.c:480 nua_stack_set_params() nua: nua_stack_set_params: entering</div><div>2013-01-17 00:25:27.753511 [DEBUG] switch_core_session.c:1291 Send signal sofia/external/<a href="http://1000@116.214.15.45:5080" target="_blank">1000@116.214.15.45:5080</a> [BREAK]</div>

<div>soa.c:405 soa_set_params() soa_set_params(static::0x7f91840b25e0, ...) called</div><div>2013-01-17 00:25:27.753511 [DEBUG] switch_core_state_machine.c:415 (sofia/external/<a href="http://1000@116.214.15.45:5080" target="_blank">1000@116.214.15.45:5080</a>) Running State Change CS_REPORTING</div>

<div>nua_session.c:2316 nua_invite_server_respond() nua: nua_invite_server_respond: entering</div><div>soa.c:1214 soa_clear_remote_sdp() soa_clear_remote_sdp(static::0x7f91840b25e0) called</div><div>tport.c:3238 tport_tsend() tport_tsend(0x26036f0) tpn = UDP/<a href="http://121.245.35.150:5065" target="_blank">121.245.35.150:5065</a></div>

<div>2013-01-17 00:25:27.753511 [DEBUG] switch_core_state_machine.c:749 (sofia/external/<a href="http://1000@116.214.15.45:5080" target="_blank">1000@116.214.15.45:5080</a>) State REPORTING</div><div>tport.c:4026 tport_resolve() tport_resolve addrinfo = <a href="http://121.245.35.150:5065" target="_blank">121.245.35.150:5065</a></div>

<div>tport.c:4660 tport_by_addrinfo() tport_by_addrinfo(0x26036f0): not found by name UDP/<a href="http://121.245.35.150:5065" target="_blank">121.245.35.150:5065</a></div><div>tport.c:3574 tport_vsend() tport_vsend(0x26036f0): 784 bytes of 784 to udp/<a href="http://121.245.35.150:5065" target="_blank">121.245.35.150:5065</a></div>

<div>tport.c:3472 tport_send_msg() tport_vsend returned 784</div><div>nta.c:6678 incoming_reply() nta: sent 488 Not Acceptable Here for INVITE (2141)</div><div>nua_dialog.c:397 nua_dialog_usage_remove_at() nua(0x7f91840c4c50): removing session usage</div>

<div>nua_session.c:4135 signal_call_state_change() nua(0x7f91840c4c50): call state changed: received -&gt; terminated</div><div>nua_stack.c:271 nua_stack_event() nua(0x7f91840c4c50): event i_state 488 Not Acceptable Here</div>

<div>nua_stack.c:271 nua_stack_event() nua(0x7f91840c4c50): event i_terminated 488 Not Acceptable Here</div><div>soa.c:358 soa_destroy() soa_destroy(static::0x7f91840b25e0) called</div><div>nta.c:4366 nta_leg_destroy() nta_leg_destroy(0x7f91840356d0)</div>

<div>nua_stack.c:359 nua_application_event() nua: nua_application_event: entering</div><div>nua_stack.c:359 nua_application_event() nua: nua_application_event: entering</div><div>nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering</div>

<div>nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering</div><div>nua.c:342 nua_handle_bind() nua: nua_handle_bind: entering</div><div>nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering</div><div>nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering</div>

<div>nua.c:921 nua_handle_destroy() nua: nua_handle_destroy: entering</div><div>nua_stack.c:569 nua_stack_signal() nua(0x7f91840c4c50): recv signal r_destroy</div><div>nta.c:4366 nta_leg_destroy() nta_leg_destroy((nil))</div>

<div>nua_stack.c:529 nua_signal() nua(0x7f91840c4c50): sent signal r_destroy</div><div>2013-01-17 00:25:27.753511 [DEBUG] mod_cdr_sqlite.c:102 Writing SQL to DB: INSERT INTO cdr VALUES (&quot;1000&quot;,&quot;1000&quot;,&quot;30201009&quot;,&quot;public&quot;,&quot;2013-01-17 00:25:27&quot;,&quot;&quot;,&quot;2013-01-17 00:25:27&quot;,0,0,&quot;INCOMPATIBLE_DESTINATION&quot;,&quot;4aec7fd8-600e-11e2-8706-1365ba01ad52&quot;,&quot;&quot;,&quot;&quot;)</div>

<div>2013-01-17 00:25:27.753511 [DEBUG] switch_core_state_machine.c:92 sofia/external/<a href="http://1000@116.214.15.45:5080" target="_blank">1000@116.214.15.45:5080</a> Standard REPORTING, cause: INCOMPATIBLE_DESTINATION</div>
<div>2013-01-17 00:25:27.753511 [DEBUG] switch_core_state_machine.c:749 (sofia/external/<a href="http://1000@116.214.15.45:5080" target="_blank">1000@116.214.15.45:5080</a>) State REPORTING going to sleep</div>
<div>2013-01-17 00:25:27.753511 [DEBUG] switch_core_state_machine.c:440 (sofia/external/<a href="http://1000@116.214.15.45:5080" target="_blank">1000@116.214.15.45:5080</a>) State Change CS_REPORTING -&gt; CS_DESTROY</div>
<div>2013-01-17 00:25:27.753511 [DEBUG] switch_core_session.c:1291 Send signal sofia/external/<a href="http://1000@116.214.15.45:5080" target="_blank">1000@116.214.15.45:5080</a> [BREAK]</div>
<div>2013-01-17 00:25:27.753511 [DEBUG] switch_core_session.c:1499 Session 1794 (sofia/external/<a href="http://1000@116.214.15.45:5080" target="_blank">1000@116.214.15.45:5080</a>) Locked, Waiting on external entities</div>
<div>2013-01-17 00:25:27.753511 [NOTICE] switch_core_session.c:1517 Session 1794 (sofia/external/<a href="http://1000@116.214.15.45:5080" target="_blank">1000@116.214.15.45:5080</a>) Ended</div>
<div>2013-01-17 00:25:27.753511 [NOTICE] switch_core_session.c:1521 Close Channel sofia/external/<a href="http://1000@116.214.15.45:5080" target="_blank">1000@116.214.15.45:5080</a> [CS_DESTROY]</div><div>2013-01-17 00:25:27.753511 [DEBUG] switch_core_state_machine.c:556 (sofia/external/<a href="http://1000@116.214.15.45:5080" target="_blank">1000@116.214.15.45:5080</a>) Callstate Change HANGUP -&gt; DOWN</div>

<div>2013-01-17 00:25:27.753511 [DEBUG] switch_core_state_machine.c:559 (sofia/external/<a href="http://1000@116.214.15.45:5080" target="_blank">1000@116.214.15.45:5080</a>) Running State Change CS_DESTROY</div><div>2013-01-17 00:25:27.753511 [DEBUG] switch_core_state_machine.c:569 (sofia/external/<a href="http://1000@116.214.15.45:5080" target="_blank">1000@116.214.15.45:5080</a>) State DESTROY</div>

<div>2013-01-17 00:25:27.753511 [DEBUG] mod_sofia.c:396 sofia/external/<a href="http://1000@116.214.15.45:5080" target="_blank">1000@116.214.15.45:5080</a> SOFIA DESTROY</div><div>2013-01-17 00:25:27.753511 [DEBUG] switch_core_state_machine.c:99 sofia/external/<a href="http://1000@116.214.15.45:5080" target="_blank">1000@116.214.15.45:5080</a> Standard DESTROY</div>

<div>2013-01-17 00:25:27.753511 [DEBUG] switch_core_state_machine.c:569 (sofia/external/<a href="http://1000@116.214.15.45:5080" target="_blank">1000@116.214.15.45:5080</a>) State DESTROY going to sleep</div><div>nta.c:1294 agent_timer() nta: timer set next to 322 ms</div>

<div>tport.c:2730 tport_wakeup_pri() tport_wakeup_pri(0x26036f0): events IN</div><div>tport.c:2845 tport_recv_event() tport_recv_event(0x26036f0)</div><div>tport.c:3186 tport_recv_iovec() tport_recv_iovec(0x26036f0) msg 0x7f9198220070 from (udp/<a href="http://116.214.15.45:5080" target="_blank">116.214.15.45:5080</a>) has 339 bytes, veclen = 1</div>

<div>tport.c:3004 tport_deliver() tport_deliver(0x26036f0): msg 0x7f9198220070 (339 bytes) from udp/<a href="http://121.245.35.150:5080/sip" target="_blank">121.245.35.150:5080/sip</a> next=(nil)</div><div>nta.c:2803 agent_recv_request() nta: received ACK <a href="mailto:sip%3A30201009@116.214.15.45" target="_blank">sip:30201009@116.214.15.45</a> SIP/2.0 (CSeq 2141)</div>

<div>nta.c:2938 agent_recv_request() nta: ACK (2141) is going to INVITE (2141)</div><div>nta.c:1294 agent_timer() nta: timer set next to 4823 ms</div><div>nta.c:7010 _nta_incoming_timer() nta: timer I fired, terminate 488 response</div>

<div>nta.c:5718 incoming_reclaim_queued() incoming_reclaim_all((nil), (nil), 0x7f91aa98ac20)</div><div>nta.c:7061 _nta_incoming_timer() nta_incoming_timer: 0/0 resent, 0/0 tout, 1/1 term, 1/1 free</div><div>nta.c:1279 agent_timer() nta: timer not set<br>

================================================================</div><br></div><div>Here is the Log from JsSIP in the browser that receives messages from FreeSWITCH : <br>===========================================================<br>

<div style="vertical-align:baseline;border-bottom-style:solid;font-size:11px;font-family:&#39;dejavu sans mono&#39;,monospace;margin:0px 0px 0px 24px;border-width:0px 0px 1px;min-height:16px;padding:1px 22px 1px 0px;border-bottom-color:rgb(240,240,240)">

<span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;white-space:pre-wrap"><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">JsSIP | TRANSPORT | Received WebSocket text message: 

SIP/2.0 180 Ringing
Via: SIP/2.0/TCP 29.62.109.242;branch=z9hG4bK1565615
Record-Route: &lt;sip:192.168.1.8:5060;transport=udp;lr;ovid=69d4d6a0&gt;
Record-Route: &lt;sip:774f80554e@192.168.1.8:10080;transport=ws;lr;ovid=69d4d6a0&gt;
From: &lt;<a href="http://sip:1000@116.214.15.45:5080/" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;text-decoration:initial;color:rgb(102,17,204)" target="_blank">sip:1000@116.214.15.45:5080</a>&gt;;tag=rj2nc38qem
To: &lt;<a href="mailto:sip%3A30201009@116.214.15.45" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;text-decoration:initial;color:rgb(102,17,204)" target="_blank">sip:30201009@116.214.15.45</a>&gt;;tag=j4X0e04aZjU2K
Call-ID: joshempnx2kuh7smrt3x
CSeq: 1974 INVITE
Contact: &lt;sip:30201009@116.214.15.45:5080;transport=udp&gt;
User-Agent: FreeSWITCH-mod_sofia/1.3.13b+git~20130108T190107Z~30e4c71bbe
Accept: application/sdp
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY
Supported: timer, precondition, path, replaces
Allow-Events: talk, hold, conference, refer
Content-Length: 0
P-Asserted-Identity: &quot;30201009&quot; &lt;<a href="mailto:sip%3A30201009@116.214.15.45" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;text-decoration:initial;color:rgb(102,17,204)" target="_blank">sip:30201009@116.214.15.45</a>&gt;


</span> <a href="http://example.com:8080/static/did/tryit/jssip-0.2.1.js" title="" style="margin:0px 0px 0px 4px;padding:0px;border:0px;vertical-align:baseline;text-decoration:initial;color:rgb(84,84,84);float:right;max-width:100%" target="_blank">jssip-0.2.1.js:684</a></span></div>

<div style="vertical-align:baseline;border-bottom-style:solid;font-size:11px;font-family:&#39;dejavu sans mono&#39;,monospace;margin:0px 0px 0px 24px;border-width:0px 0px 1px;min-height:16px;padding:1px 22px 1px 0px;border-bottom-color:rgb(240,240,240)">

<span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;white-space:pre-wrap"><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">JsSIP | DIALOG | New UAC dialog created: 1</span> <a href="http://example.com:8080/static/did/tryit/jssip-0.2.1.js" title="" style="margin:0px 0px 0px 4px;padding:0px;border:0px;vertical-align:baseline;text-decoration:initial;color:rgb(84,84,84);float:right;max-width:100%" target="_blank">jssip-0.2.1.js:2171</a></span></div>

<div style="vertical-align:baseline;border-bottom-style:solid;font-size:11px;font-family:&#39;dejavu sans mono&#39;,monospace;margin:0px 0px 0px 24px;border-width:0px 0px 1px;min-height:16px;padding:1px 22px 1px 0px;border-bottom-color:rgb(240,240,240)">

<span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;white-space:pre-wrap"><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">JsSIP | EVENT EMITTER | Emitting event: progress</span> <a href="http://example.com:8080/static/did/tryit/jssip-0.2.1.js" title="" style="margin:0px 0px 0px 4px;padding:0px;border:0px;vertical-align:baseline;text-decoration:initial;color:rgb(84,84,84);float:right;max-width:100%" target="_blank">jssip-0.2.1.js:170</a></span></div>

<div style="vertical-align:baseline;border-bottom-style:solid;font-size:11px;font-family:&#39;dejavu sans mono&#39;,monospace;margin:0px 0px 0px 24px;border-width:0px 0px 1px;min-height:16px;padding:1px 22px 1px 0px;border-bottom-color:rgb(240,240,240)">

<span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;white-space:pre-wrap">JsSIP | TRANSPORT | Received WebSocket text message: 

SIP/2.0 488 Not Acceptable Here
Via: SIP/2.0/TCP 29.62.109.242;branch=z9hG4bK1565615
Max-Forwards: 10
From: &lt;<a href="http://sip:1000@116.214.15.45:5080/" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;text-decoration:initial;color:rgb(102,17,204)" target="_blank">sip:1000@116.214.15.45:5080</a>&gt;;tag=rj2nc38qem
To: &lt;<a href="mailto:sip%3A30201009@116.214.15.45" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;text-decoration:initial;color:rgb(102,17,204)" target="_blank">sip:30201009@116.214.15.45</a>&gt;;tag=j4X0e04aZjU2K
Call-ID: joshempnx2kuh7smrt3x
CSeq: 1974 INVITE
User-Agent: FreeSWITCH-mod_sofia/1.3.13b+git~20130108T190107Z~30e4c71bbe
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY
Supported: timer, precondition, path, replaces
Allow-Events: talk, hold, conference, refer
Reason: Q.850;cause=88;text=&quot;INCOMPATIBLE_DESTINATION&quot;
Content-Length: 0
P-Asserted-Identity: &quot;30201009&quot; &lt;<a href="mailto:sip%3A30201009@116.214.15.45" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;text-decoration:initial;color:rgb(102,17,204)" target="_blank">sip:30201009@116.214.15.45</a>&gt;
=============================================================================
<br></span></div><div style="vertical-align:baseline;border-bottom-style:solid;font-size:11px;font-family:&#39;dejavu sans mono&#39;,monospace;margin:0px 0px 0px 24px;border-width:0px 0px 1px;min-height:16px;padding:1px 22px 1px 0px;border-bottom-color:rgb(240,240,240)">

<span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;white-space:pre-wrap"><br></span></div><div style="vertical-align:baseline;border-bottom-style:solid;font-size:11px;font-family:&#39;dejavu sans mono&#39;,monospace;margin:0px 0px 0px 24px;border-width:0px 0px 1px;min-height:16px;padding:1px 22px 1px 0px;border-bottom-color:rgb(240,240,240)">

<span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;white-space:pre-wrap"><br></span></div><div style="vertical-align:baseline;border-bottom-style:solid;font-size:11px;font-family:&#39;dejavu sans mono&#39;,monospace;margin:0px 0px 0px 24px;border-width:0px 0px 1px;min-height:16px;padding:1px 22px 1px 0px;border-bottom-color:rgb(240,240,240)">

<span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;white-space:pre-wrap"><br></span></div><div style="vertical-align:baseline;border-bottom-style:solid;font-size:11px;font-family:&#39;dejavu sans mono&#39;,monospace;margin:0px 0px 0px 24px;border-width:0px 0px 1px;min-height:16px;padding:1px 22px 1px 0px;border-bottom-color:rgb(240,240,240)">

<span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;white-space:pre-wrap"><br></span></div><div style="vertical-align:baseline;border-bottom-style:solid;font-size:11px;font-family:&#39;dejavu sans mono&#39;,monospace;margin:0px 0px 0px 24px;border-width:0px 0px 1px;min-height:16px;padding:1px 22px 1px 0px;border-bottom-color:rgb(240,240,240)">

<span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;white-space:pre-wrap"><br></span></div><div style="vertical-align:baseline;border-bottom-style:solid;font-size:11px;font-family:&#39;dejavu sans mono&#39;,monospace;margin:0px 0px 0px 24px;border-width:0px 0px 1px;min-height:16px;padding:1px 22px 1px 0px;border-bottom-color:rgb(240,240,240)">

<span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;white-space:pre-wrap">What am I doing wrong? 

Thanks, </span></div><span class="HOEnZb"><font color="#888888"><div style="vertical-align:baseline;border-bottom-style:solid;font-size:11px;font-family:&#39;dejavu sans mono&#39;,monospace;margin:0px 0px 0px 24px;border-width:0px 0px 1px;min-height:16px;padding:1px 22px 1px 0px;border-bottom-color:rgb(240,240,240)">

<span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;white-space:pre-wrap">Paan

</span></div><div style="vertical-align:baseline;border-bottom-style:solid;font-size:11px;font-family:&#39;dejavu sans mono&#39;,monospace;margin:0px 0px 0px 24px;border-width:0px 0px 1px;min-height:16px;padding:1px 22px 1px 0px;border-bottom-color:rgb(240,240,240)">

<span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;white-space:pre-wrap">
<br></span></div></font></span></div></div>
</blockquote></div><br></div>