itf-yamanocuhi / sipml5

Automatically exported from code.google.com/p/sipml5
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

DomEX when a non ip-phone number call me #47

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I used the demo to connect with my phone-ip number. i can call/receive a call 
from some sip provider as ekiga. But when a non ip call me, the windows of 
video show up and i god a dom exeption, so no sound no video.
when i use my number with a ip-phone i can receive the call without any problem.

i'm using chrome with opensuse 12.2

in the console i got: 
/src/tinySAK/src/tsk_utils.js?svn=10:55
DOMException
code: 12
message: "SYNTAX_ERR: DOM Exception 12"
name: "SYNTAX_ERR"
stack: "Error: An invalid or illegal string was specified.↵    at 
tmedia_session_jsep.__set_ro 
(http://sipml5.org/src/tinyMEDIA/src/tmedia_session_jsep.js?svn=10:222:23)↵   
 at tmedia_session_jsep.__get_lo 
(http://sipml5.org/src/tinyMEDIA/src/tmedia_session_jsep.js?svn=10:127:18)↵   
 at tmedia_session.get_lo 
(http://sipml5.org/src/tinyMEDIA/src/tmedia_session.js?svn=10:563:17)↵    at 
tmedia_session_mgr.get_lo 
(http://sipml5.org/src/tinyMEDIA/src/tmedia_session.js?svn=10:293:45)↵    at 
tmedia_session_mgr.set_ro 
(http://sipml5.org/src/tinyMEDIA/src/tmedia_session.js?svn=10:397:11)↵    at 
tsip_dialog_invite.process_ro 
(http://sipml5.org/src/tinySIP/src/dialogs/tsip_dialog_invite.js?svn=10:730:39)�
��    at tsk_fsm_entry.__tsip_dialog_invite_cond_is_bad_content [as 
fn_condition] 
(http://sipml5.org/src/tinySIP/src/dialogs/tsip_dialog_invite__server.js?svn=10:
96:27)↵    at tsk_fsm.act 
(http://sipml5.org/src/tinySAK/src/tsk_fsm.js?svn=10:82:46)↵    at 
tsip_dialog.fsm_act 
(http://sipml5.org/src/tinySIP/src/dialogs/tsip_dialog.js?svn=10:726:23)↵    
at tsip_dialog.__tsip_dialog_invite_event_callback [as fn_callback] 
(http://sipml5.org/src/tinySIP/src/dialogs/tsip_dialog_invite.js?svn=10:894:32)"
__proto__: DOMException
 /src/tinySAK/src/tsk_utils.js?svn=10:67
tsk_utils_log_error /src/tinySAK/src/tsk_utils.js?svn=10:67
tmedia_session_jsep.__set_ro 
/src/tinyMEDIA/src/tmedia_session_jsep.js?svn=10:230
tmedia_session_jsep.__get_lo 
/src/tinyMEDIA/src/tmedia_session_jsep.js?svn=10:127
tmedia_session.get_lo /src/tinyMEDIA/src/tmedia_session.js?svn=10:563
tmedia_session_mgr.get_lo /src/tinyMEDIA/src/tmedia_session.js?svn=10:293
tmedia_session_mgr.set_ro /src/tinyMEDIA/src/tmedia_session.js?svn=10:397
tsip_dialog_invite.process_ro 
/src/tinySIP/src/dialogs/tsip_dialog_invite.js?svn=10:730
__tsip_dialog_invite_cond_is_bad_content 
/src/tinySIP/src/dialogs/tsip_dialog_invite__server.js?svn=10:96
tsk_fsm.act /src/tinySAK/src/tsk_fsm.js?svn=10:82
tsip_dialog.fsm_act /src/tinySIP/src/dialogs/tsip_dialog.js?svn=10:726
__tsip_dialog_invite_event_callback 
/src/tinySIP/src/dialogs/tsip_dialog_invite.js?svn=10:894
tsip_dialog.callback /src/tinySIP/src/dialogs/tsip_dialog.js?svn=10:711
__tsip_transac_ist_Started_2_Proceeding_X_INVITE 
/src/tinySIP/src/transactions/tsip_transac_ist.js?svn=10:184
tsk_fsm.act /src/tinySAK/src/tsk_fsm.js?svn=10:91
tsip_transac.fsm_act /src/tinySIP/src/transactions/tsip_transac.js?svn=10:123
tsip_transac_ist.start 
/src/tinySIP/src/transactions/tsip_transac_ist.js?svn=10:142
tsip_dialog_layer.handle_incoming_message 
/src/tinySIP/src/dialogs/tsip_dialog_layer.js?svn=10:238
tsip_transport_layer.handle_incoming_message 
/src/tinySIP/src/transports/tsip_transport_layer.js?svn=10:231
__tsip_transport_ws_onmessage 
/src/tinySIP/src/transports/tsip_transport.js?svn=10:425
TypeError
arguments: Array[2]
get message: function () { [native code] }
get stack: function () { [native code] }
set message: function () { [native code] }
set stack: function () { [native code] }
type: "non_object_property_call"
__proto__: Error
 /src/tinySAK/src/tsk_utils.js?svn=10:67
tsk_utils_log_error /src/tinySAK/src/tsk_utils.js?svn=10:67
tsk_fsm.act /src/tinySAK/src/tsk_fsm.js?svn=10:96
tsip_transac.fsm_act /src/tinySIP/src/transactions/tsip_transac.js?svn=10:123
tsip_transac_ist.start 
/src/tinySIP/src/transactions/tsip_transac_ist.js?svn=10:142
tsip_dialog_layer.handle_incoming_message 
/src/tinySIP/src/dialogs/tsip_dialog_layer.js?svn=10:238
tsip_transport_layer.handle_incoming_message 
/src/tinySIP/src/transports/tsip_transport_layer.js?svn=10:231
__tsip_transport_ws_onmessage

thank you for any help

Original issue reported on code.google.com by jaballah...@gmail.com on 29 Sep 2012 at 7:26

GoogleCodeExporter commented 9 years ago
Hi , 
I don't clearly understand the scenario that you are referring to.
please explain more details. are you trying to call from/to chrome and some 
softphone or IP-phone ?
chrome only supports SRTP (RTP/SAVPF profile) and currently only doubango 
softphone clients can be used for direct calls between chrome and softphone.
have a look at here :
http://code.google.com/p/sipml5/wiki/Calling_SIP_clients

If this is not the case,you should attach the full console log , from when you 
press call in chrome , until you hangup.
put it in some txt file and attach it here.
and also mention what chrome version are you using. details like this are 
really important.

Original comment by ln.nima...@gmail.com on 29 Sep 2012 at 5:12

GoogleCodeExporter commented 9 years ago
thank you for your answer.
i have a sip number from ovh. we use it with a configured phone. the number can 
receive call from any phone (ip number and no-ip number).
i can connect to the demo. So i tested a lot of scenarios: 
- from my sip numbrer ( form = sip:number@*.* ) --> a ekiga ip --> it work 
- from ekiga number --> my number phone ( form = sip:number@*.* )--> it work
so from a ip provider to ip provider it work.
but what i'm trying to do is calling from a 'real number' not a ip-number 
- from non-ip ---> my number ( without the form sip..) --> dont work and i have 
the probleme that i explained.
i hope it is clear now
i'm using chrome: 22
thank you 

Original comment by jaballah...@gmail.com on 29 Sep 2012 at 9:27

GoogleCodeExporter commented 9 years ago

Original comment by boss...@yahoo.fr on 1 Oct 2012 at 1:23