View Single Post
Staro 11.03.2013., 18:41   #892
Facelessone
Premium
Moj komp
 
Facelessone's Avatar
 
Datum registracije: Jan 2006
Lokacija: Samobor
Postovi: 4,203



Code:
 17:28:13.159     tapi_dev.c  factory_get_dev_info()
 17:28:13.159     tapi_dev.c  stream_stop()
 17:28:13.162     tapi_dev.c  stream_destroy()
 17:28:13.163     tapi_dev.c  stream_stop()
 17:28:13.210     tapi_dev.c  TAPI: thread stopping...
 17:28:13.518     tapi_dev.c  factory_destroy()
root@OpenWrt:~# owsip_ua
 17:28:17.217    b/backend.h  registering backend ltq_tapi_backend
registering call handler echo
 17:28:17.220       d/dial.h  registering dial contact
 17:28:17.221 os_core_unix.c  pjlib 1.12.0 for POSIX initialized
 17:28:17.227        owsip.c  using backend ltq_tapi
 17:28:17.228     tapi_dev.c  using ETSI FSK configuration for TAPI CID
 17:28:17.230 os_core_unix.c  pjlib 1.12.0 for POSIX initialized
 17:28:17.236 sip_endpoint.c  Creating endpoint instance...
 17:28:17.240          pjlib  select() I/O Queue created (0x6de928)
 17:28:17.241 sip_endpoint.c  Module "mod-msg-print" registered
 17:28:17.242 sip_transport.  Transport manager created.
 17:28:17.246     tapi_dev.c  pjmedia_tapi_factory()
 17:28:17.247     tapi_dev.c  factory_init()
 17:28:17.484     tapi_dev.c  factory_get_dev_count()
 17:28:17.486     tapi_dev.c  factory_get_dev_info()
 17:28:17.699   pjsua_core.c  pjsua version 1.12.0 for Linux-3.2.12/mips/glibc-2                                  .2 initialized
 17:28:17.725        owsip.c  found 0 codecs
 17:28:17.726     tapi_dev.c  factory_get_dev_info()
 17:28:17.727     tapi_dev.c  factory_get_dev_info()
 17:28:17.729   b/ltq-tapi.c  initializing audio device 0 named TAPI_00
 17:28:17.730   b/ltq-tapi.c  initializing audio device 1 named TAPI_01
 17:28:17.731     tapi_dev.c  factory_default_param.
 17:28:17.732     tapi_dev.c  factory_get_dev_info()
 17:28:17.732     tapi_dev.c  factory_create_stream() rec_id:0 play_id:0
 17:28:17.738     tapi_dev.c  stream_start()
 17:28:17.739     tapi_dev.c  factory_get_dev_info()
 17:28:17.740     tapi_dev.c  factory_default_param.
 17:28:17.740     tapi_dev.c  factory_get_dev_info()
 17:28:17.741     tapi_dev.c  factory_create_stream() rec_id:1 play_id:1
 17:28:17.744     tapi_dev.c  TAPI: thread starting...
 17:28:17.747     tapi_dev.c  stream_start()
 17:28:17.749     tapi_dev.c  using localized tones for Croatia
 17:28:17.765    tsx0x7237dc  Failed to send Request msg REGISTER/cseq=36436 (td                                  ta0x722770)! err=70018 (gethostbyname() has returned error (PJ_ERESOLVE))
 17:28:17.767    pjsua_acc.c  SIP registration failed, status=502 (gethostbyname                                  () has returned error (PJ_ERESOLVE))
 17:28:17.769    pjsua_acc.c  Unable to create/send REGISTER: gethostbyname() ha                                  s returned error (PJ_ERESOLVE) [status=70018]
 17:28:21.709    tsx0x7237dc  Failed to send Request msg REGISTER/cseq=16528 (td                                  ta0x722770)! err=70018 (gethostbyname() has returned error (PJ_ERESOLVE))
 17:28:21.711    pjsua_acc.c  SIP registration failed, status=502 (gethostbyname                                  () has returned error (PJ_ERESOLVE))
 17:28:21.713    pjsua_acc.c  Unable to create/send REGISTER: gethostbyname() ha                                  s returned error (PJ_ERESOLVE) [status=70018]
^C 17:31:42.342     tapi_dev.c  factory_get_dev_info()
 17:31:42.342     tapi_dev.c  factory_get_dev_info()
 17:31:42.344     tapi_dev.c  stream_stop()
 17:31:42.345     tapi_dev.c  stream_destroy()
 17:31:42.346     tapi_dev.c  stream_stop()
 17:31:44.058     tapi_dev.c  TAPI: thread stopping...
 17:31:44.418     tapi_dev.c  factory_destroy()
root@OpenWrt:~# owsip_ua
 17:31:50.865    b/backend.h  registering backend ltq_tapi_backend
registering call handler echo
 17:31:50.867       d/dial.h  registering dial contact
 17:31:50.870 os_core_unix.c  pjlib 1.12.0 for POSIX initialized
 17:31:50.874        owsip.c  using backend ltq_tapi
 17:31:50.876     tapi_dev.c  using ETSI FSK configuration for TAPI CID
 17:31:50.878 os_core_unix.c  pjlib 1.12.0 for POSIX initialized
 17:31:50.884 sip_endpoint.c  Creating endpoint instance...
 17:31:50.888          pjlib  select() I/O Queue created (0x70f920)
 17:31:50.889 sip_endpoint.c  Module "mod-msg-print" registered
 17:31:50.890 sip_transport.  Transport manager created.
 17:31:50.894     tapi_dev.c  pjmedia_tapi_factory()
 17:31:50.894     tapi_dev.c  factory_init()
 17:31:51.138     tapi_dev.c  factory_get_dev_count()
 17:31:51.139     tapi_dev.c  factory_get_dev_info()
 17:31:51.335   pjsua_core.c  pjsua version 1.12.0 for Linux-3.2.12/mips/glibc-2.2                                 initialized
 17:31:51.359        owsip.c  found 0 codecs
 17:31:51.360     tapi_dev.c  factory_get_dev_info()
 17:31:51.361     tapi_dev.c  factory_get_dev_info()
 17:31:51.362   b/ltq-tapi.c  initializing audio device 0 named TAPI_00
 17:31:51.363   b/ltq-tapi.c  initializing audio device 1 named TAPI_01
 17:31:51.363     tapi_dev.c  factory_default_param.
 17:31:51.364     tapi_dev.c  factory_get_dev_info()
 17:31:51.364     tapi_dev.c  factory_create_stream() rec_id:0 play_id:0
 17:31:51.371     tapi_dev.c  stream_start()
 17:31:51.372     tapi_dev.c  factory_get_dev_info()
 17:31:51.373     tapi_dev.c  factory_default_param.
 17:31:51.374     tapi_dev.c  factory_get_dev_info()
 17:31:51.375     tapi_dev.c  factory_create_stream() rec_id:1 play_id:1
 17:31:51.379     tapi_dev.c  TAPI: thread starting...
 17:31:51.381     tapi_dev.c  stream_start()
 17:31:51.382     tapi_dev.c  using localized tones for Croatia
 17:31:51.390    pjsua_acc.c  Registration sent
 17:31:51.407    pjsua_acc.c  SIP registration error: No suitable credential (PJSI                                P_ENOCREDENTIAL) [status=171101]



voiceint.iskon.hr je unesen IP. ako unesem kao adresu natrag dobijem:




Code:
 17:24:46.694     tapi_dev.c  stream_start()
 17:24:46.695     tapi_dev.c  using localized tones for Croatia
 17:24:46.712    tsx0x8307dc  Failed to send Request msg REGISTER/cseq=30408 (td                                  ta0x82f770)! err=70018 (gethostbyname() has returned error (PJ_ERESOLVE))
 17:24:46.713    pjsua_acc.c  SIP registration failed, status=502 (gethostbyname                                  () has returned error (PJ_ERESOLVE))
 17:24:46.715    pjsua_acc.c  Unable to create/send REGISTER: gethostbyname() ha                                  s returned error (PJ_ERESOLVE) [status=70018]
 17:24:53.945    tsx0x8307dc  Failed to send Request msg REGISTER/cseq=4231 (tdt                                  a0x82f770)! err=70018 (gethostbyname() has returned error (PJ_ERESOLVE))
 17:24:53.946    pjsua_acc.c  SIP registration failed, status=502 (gethostbyname                                  () has returned error (PJ_ERESOLVE))
 17:24:53.948    pjsua_acc.c  Unable to create/send REGISTER: gethostbyname() ha                                  s returned error (PJ_ERESOLVE) [status=70018]
^C 17:28:13.159     tapi_dev.c  factory_get_dev_info()




Na voicetv, ako ne pišem ip onda opet isti error kao gore. Sa ip-om natrag dobijem



17:35:12.932 pjsua_acc.c Registration sent
17:35:12.956 pjsua_acc.c SIP registration failed, status=404 (Domain not bound)




Telephony config:



Code:
config general 'general'
	option name 'owsip'
	option backend 'ltq_tapi'
	option ossdev '0'
	option log_level '3'
	option interface 'nas0'
	option local_port '5060'
	option rtp_port '4000'
	option locale 'croatia'

config account 'example1'
	option username '01336xxxx
	option password 'telephony_password
	option port '0'
	option realm '10.128.2.1'

config account 'example2'
	option realm 'myrealm2.com'
	option username 'myuser2'
	option password 'mypass2'
	option disabled '1'
	option port '1'

config contact
	option desc 'example contact description'
	option code 'example'
	option dial '0123456789'
	option type 'realm'

config port 'port0'
	option id '0'
	option led 'soc:green:phone1'
	option noring '0'
	option nodial '0'




edit: vratio sam iskon router, spojio se, isprobao telefon i vration natrag ovaj s openwrtom. Napokon se spojio, ali kada mu kada gledam u owsip opet mu baci 404. Na 1. tel. portu zvoni ali ne čuje se ništa iz telefona. Na 2. se čuje da zvoni ali kada se podigne slušalica odmah prekine. Kada pokušam nekoga nazvati s telefona mi samo javi ko da je zauzeto.

Tel. config sada:



config general 'general'
option name 'owsip'
option backend 'ltq_tapi'
option ossdev '0'
option log_level '3'
option interface 'nas0'
option local_port '5060'
option rtp_port '4000'
option locale 'croatia'

config account 'example1'
option username '01336****
option password '******
option port '0'
option realm '10.128.2.50'

config contact
option desc 'example contact description'
option code 'example'
option dial '0123456789'
option type 'realm'

config port 'port0'
option id '0'
option led 'soc:greenhone1'
option noring '0'
option nodial '0'




edit2: log kod poziva





voiceint
19:45:02.031 owsip.c incoming call from "0958407337"
19:45:02.034 owsip.c handling call with id 1 and state EARLY
19:45:02.036 c/call.c call 1 ring
19:45:02.037 b/ltq-tapi.c port 0 ring
19:45:11.335 tapi_dev.c TAPI: OFFHOOK
19:45:11.335 b/ltq-tapi.c off hook on port 0
19:45:11.335 b/ltq-tapi.c port 0 on hook
19:45:11.337 b/ltq-tapi.c port 0 connect
19:45:11.338 owsip.c answering call from "0958407337"
19:45:11.343 c/call.c call 1 connect
19:45:11.344 b/ltq-tapi.c connect call to port 0
19:45:11.348 owsip.c handling call with id 1 and state CONNECTING
19:45:14.511 tapi_dev.c TAPI: ONHOOK
19:45:14.512 b/ltq-tapi.c on hook on port 0
19:45:14.513 b/ltq-tapi.c port 0 on hook
19:45:14.515 owsip.c hanging up call with "0958407337"
19:45:14.547 owsip.c handling call with id 1 and state DISCONNCTD
19:45:14.548 c/call.c call 1 stop



odlazni
19:45:21.519 tapi_dev.c TAPI: OFFHOOK
19:45:21.519 b/ltq-tapi.c off hook on port 0
19:45:21.519 b/ltq-tapi.c port 0 off hook
19:45:23.076 b/ltq-tapi.c port 0 detected tone 0
19:45:23.077 b/ltq-tapi.c port 0 dial
19:45:23.361 b/ltq-tapi.c port 0 detected tone 9
19:45:23.766 b/ltq-tapi.c port 0 detected tone 5
19:45:24.074 b/ltq-tapi.c port 0 detected tone 8
19:45:24.381 b/ltq-tapi.c port 0 detected tone 4
19:45:24.811 b/ltq-tapi.c port 0 detected tone 0
19:45:25.136 b/ltq-tapi.c port 0 detected tone 7
19:45:25.676 b/ltq-tapi.c port 0 detected tone 3
19:45:25.869 b/ltq-tapi.c port 0 detected tone 3
19:45:26.296 b/ltq-tapi.c port 0 detected tone 7
19:45:29.297 d/dial.c port 0 dialed 0958407337
19:45:29.306 owsip.c handling call with id 2 and state CALLING
19:45:29.308 c/call.c call 2 call
19:45:29.309 b/ltq-tapi.c port 0 connect
19:45:29.350 owsip.c handling call with id 2 and state DISCONNCTD
19:45:29.351 c/call.c call 2 stop
19:45:29.352 b/ltq-tapi.c port 0 end
19:45:35.039 tapi_dev.c TAPI: ONHOOK
19:45:35.039 b/ltq-tapi.c on hook on port 0
19:45:35.040 b/ltq-tapi.c port 0 on hook


voicetv
20:07:28.814 b/backend.h registering backend ltq_tapi_backend
registering call handler echo
20:07:28.816 d/dial.h registering dial contact
20:07:28.818 os_core_unix.c pjlib 1.12.0 for POSIX initialized
20:07:28.824 owsip.c using backend ltq_tapi
20:07:28.827 os_core_unix.c pjlib 1.12.0 for POSIX initialized
20:07:28.833 sip_endpoint.c Creating endpoint instance...
20:07:28.838 pjlib select() I/O Queue created (0x906770)
20:07:28.839 sip_endpoint.c Module "mod-msg-print" registered
20:07:28.841 sip_transport. Transport manager created.
20:07:28.845 tapi_dev.c pjmedia_tapi_factory()
20:07:28.846 tapi_dev.c factory_init()
20:07:29.084 tapi_dev.c factory_get_dev_count()
20:07:29.086 tapi_dev.c factory_get_dev_info()
20:07:29.287 pjsua_core.c pjsua version 1.12.0 for Linux-3.2.12/mips/glibc-2.2 initialized
20:07:29.313 owsip.c found 0 codecs
20:07:29.314 tapi_dev.c factory_get_dev_info()
20:07:29.315 tapi_dev.c factory_get_dev_info()
20:07:29.316 b/ltq-tapi.c initializing audio device 0 named TAPI_00
20:07:29.316 b/ltq-tapi.c initializing audio device 1 named TAPI_01
20:07:29.317 tapi_dev.c factory_default_param.
20:07:29.318 tapi_dev.c factory_get_dev_info()
20:07:29.318 tapi_dev.c factory_create_stream() rec_id:0 play_id:0
20:07:29.323 tapi_dev.c stream_start()
20:07:29.324 tapi_dev.c factory_get_dev_info()
20:07:29.324 tapi_dev.c factory_default_param.
20:07:29.325 tapi_dev.c factory_get_dev_info()
20:07:29.325 tapi_dev.c factory_create_stream() rec_id:1 play_id:1
20:07:29.329 tapi_dev.c TAPI: thread starting...
20:07:29.332 tapi_dev.c stream_start()
20:07:29.333 tapi_dev.c using localized tones for Croatia
20:07:29.358 tsx0x94b1dc Failed to send Request msg REGISTER/cseq=39857 (tdta0x94a170)! err=70018 (gethostbyname() has returned error (PJ_ERESOLVE))
20:07:29.359 pjsua_acc.c SIP registration failed, status=502 (gethostbyname() has returned error (PJ_ERESOLVE))
20:07:29.363 pjsua_acc.c Unable to create/send REGISTER: gethostbyname() has returned error (PJ_ERESOLVE) [status=70018]
20:07:35.699 tsx0x94b1dc Failed to send Request msg REGISTER/cseq=34132 (tdta0x94a170)! err=70018 (gethostbyname() has returned error (PJ_ERESOLVE))
20:07:35.700 pjsua_acc.c SIP registration failed, status=502 (gethostbyname() has returned error (PJ_ERESOLVE))
20:07:35.701 pjsua_acc.c Unable to create/send REGISTER: gethostbyname() has returned error (PJ_ERESOLVE) [status=70018]
20:09:11.216 tapi_dev.c TAPI: OFFHOOK
20:09:11.216 b/ltq-tapi.c off hook on port 0
20:09:11.217 b/ltq-tapi.c port 0 off hook
20:09:12.794 b/ltq-tapi.c port 0 detected tone 0
20:09:12.795 b/ltq-tapi.c port 0 dial
20:09:13.116 b/ltq-tapi.c port 0 detected tone 9
20:09:13.398 b/ltq-tapi.c port 0 detected tone 5
20:09:13.703 b/ltq-tapi.c port 0 detected tone 8
20:09:14.053 b/ltq-tapi.c port 0 detected tone 4
20:09:14.418 b/ltq-tapi.c port 0 detected tone 0
20:09:14.738 b/ltq-tapi.c port 0 detected tone 7
20:09:15.098 b/ltq-tapi.c port 0 detected tone 3
20:09:15.283 b/ltq-tapi.c port 0 detected tone 3
20:09:15.590 b/ltq-tapi.c port 0 detected tone 7
20:09:18.591 d/dial.c port 0 dialed 0958407337
20:09:18.885 tsx0x94ed7c Failed to send Request msg INVITE/cseq=19205 (tdta0x94cd68)! err=70018 (gethostbyname() has returned error (PJ_ERESOLVE))
20:09:18.886 owsip.c handling call with id 0 and state DISCONNCTD
20:09:18.886 c/call.c call 0 stop
20:09:18.887 pjsua_call.c Unable to send initial INVITE request: gethostbyname() has returned error (PJ_ERESOLVE) [status=70018]
20:09:18.888 owsip.c failed to call 'sip:0958407337@voicetv.iskon.hr'
20:09:18.891 b/ltq-tapi.c port 0 error
20:09:22.928 tapi_dev.c TAPI: ONHOOK
20:09:22.929 b/ltq-tapi.c on hook on port 0
20:09:22.931 b/ltq-tapi.c port 0 on hook



Kada zovem na voicetv ništa.

edit3: Hvala .Delboy, konačno riješeno
-->
Hvala .Delboy, uspio sam upogoniti net. Sada zapinjem na VOIP-u.




Code:
 17:28:13.159     tapi_dev.c  factory_get_dev_info()
 17:28:13.159     tapi_dev.c  stream_stop()
 17:28:13.162     tapi_dev.c  stream_destroy()
 17:28:13.163     tapi_dev.c  stream_stop()
 17:28:13.210     tapi_dev.c  TAPI: thread stopping...
 17:28:13.518     tapi_dev.c  factory_destroy()
root@OpenWrt:~# owsip_ua
 17:28:17.217    b/backend.h  registering backend ltq_tapi_backend
registering call handler echo
 17:28:17.220       d/dial.h  registering dial contact
 17:28:17.221 os_core_unix.c  pjlib 1.12.0 for POSIX initialized
 17:28:17.227        owsip.c  using backend ltq_tapi
 17:28:17.228     tapi_dev.c  using ETSI FSK configuration for TAPI CID
 17:28:17.230 os_core_unix.c  pjlib 1.12.0 for POSIX initialized
 17:28:17.236 sip_endpoint.c  Creating endpoint instance...
 17:28:17.240          pjlib  select() I/O Queue created (0x6de928)
 17:28:17.241 sip_endpoint.c  Module "mod-msg-print" registered
 17:28:17.242 sip_transport.  Transport manager created.
 17:28:17.246     tapi_dev.c  pjmedia_tapi_factory()
 17:28:17.247     tapi_dev.c  factory_init()
 17:28:17.484     tapi_dev.c  factory_get_dev_count()
 17:28:17.486     tapi_dev.c  factory_get_dev_info()
 17:28:17.699   pjsua_core.c  pjsua version 1.12.0 for Linux-3.2.12/mips/glibc-2                                  .2 initialized
 17:28:17.725        owsip.c  found 0 codecs
 17:28:17.726     tapi_dev.c  factory_get_dev_info()
 17:28:17.727     tapi_dev.c  factory_get_dev_info()
 17:28:17.729   b/ltq-tapi.c  initializing audio device 0 named TAPI_00
 17:28:17.730   b/ltq-tapi.c  initializing audio device 1 named TAPI_01
 17:28:17.731     tapi_dev.c  factory_default_param.
 17:28:17.732     tapi_dev.c  factory_get_dev_info()
 17:28:17.732     tapi_dev.c  factory_create_stream() rec_id:0 play_id:0
 17:28:17.738     tapi_dev.c  stream_start()
 17:28:17.739     tapi_dev.c  factory_get_dev_info()
 17:28:17.740     tapi_dev.c  factory_default_param.
 17:28:17.740     tapi_dev.c  factory_get_dev_info()
 17:28:17.741     tapi_dev.c  factory_create_stream() rec_id:1 play_id:1
 17:28:17.744     tapi_dev.c  TAPI: thread starting...
 17:28:17.747     tapi_dev.c  stream_start()
 17:28:17.749     tapi_dev.c  using localized tones for Croatia
 17:28:17.765    tsx0x7237dc  Failed to send Request msg REGISTER/cseq=36436 (td                                  ta0x722770)! err=70018 (gethostbyname() has returned error (PJ_ERESOLVE))
 17:28:17.767    pjsua_acc.c  SIP registration failed, status=502 (gethostbyname                                  () has returned error (PJ_ERESOLVE))
 17:28:17.769    pjsua_acc.c  Unable to create/send REGISTER: gethostbyname() ha                                  s returned error (PJ_ERESOLVE) [status=70018]
 17:28:21.709    tsx0x7237dc  Failed to send Request msg REGISTER/cseq=16528 (td                                  ta0x722770)! err=70018 (gethostbyname() has returned error (PJ_ERESOLVE))
 17:28:21.711    pjsua_acc.c  SIP registration failed, status=502 (gethostbyname                                  () has returned error (PJ_ERESOLVE))
 17:28:21.713    pjsua_acc.c  Unable to create/send REGISTER: gethostbyname() ha                                  s returned error (PJ_ERESOLVE) [status=70018]
^C 17:31:42.342     tapi_dev.c  factory_get_dev_info()
 17:31:42.342     tapi_dev.c  factory_get_dev_info()
 17:31:42.344     tapi_dev.c  stream_stop()
 17:31:42.345     tapi_dev.c  stream_destroy()
 17:31:42.346     tapi_dev.c  stream_stop()
 17:31:44.058     tapi_dev.c  TAPI: thread stopping...
 17:31:44.418     tapi_dev.c  factory_destroy()
root@OpenWrt:~# owsip_ua
 17:31:50.865    b/backend.h  registering backend ltq_tapi_backend
registering call handler echo
 17:31:50.867       d/dial.h  registering dial contact
 17:31:50.870 os_core_unix.c  pjlib 1.12.0 for POSIX initialized
 17:31:50.874        owsip.c  using backend ltq_tapi
 17:31:50.876     tapi_dev.c  using ETSI FSK configuration for TAPI CID
 17:31:50.878 os_core_unix.c  pjlib 1.12.0 for POSIX initialized
 17:31:50.884 sip_endpoint.c  Creating endpoint instance...
 17:31:50.888          pjlib  select() I/O Queue created (0x70f920)
 17:31:50.889 sip_endpoint.c  Module "mod-msg-print" registered
 17:31:50.890 sip_transport.  Transport manager created.
 17:31:50.894     tapi_dev.c  pjmedia_tapi_factory()
 17:31:50.894     tapi_dev.c  factory_init()
 17:31:51.138     tapi_dev.c  factory_get_dev_count()
 17:31:51.139     tapi_dev.c  factory_get_dev_info()
 17:31:51.335   pjsua_core.c  pjsua version 1.12.0 for Linux-3.2.12/mips/glibc-2.2                                 initialized
 17:31:51.359        owsip.c  found 0 codecs
 17:31:51.360     tapi_dev.c  factory_get_dev_info()
 17:31:51.361     tapi_dev.c  factory_get_dev_info()
 17:31:51.362   b/ltq-tapi.c  initializing audio device 0 named TAPI_00
 17:31:51.363   b/ltq-tapi.c  initializing audio device 1 named TAPI_01
 17:31:51.363     tapi_dev.c  factory_default_param.
 17:31:51.364     tapi_dev.c  factory_get_dev_info()
 17:31:51.364     tapi_dev.c  factory_create_stream() rec_id:0 play_id:0
 17:31:51.371     tapi_dev.c  stream_start()
 17:31:51.372     tapi_dev.c  factory_get_dev_info()
 17:31:51.373     tapi_dev.c  factory_default_param.
 17:31:51.374     tapi_dev.c  factory_get_dev_info()
 17:31:51.375     tapi_dev.c  factory_create_stream() rec_id:1 play_id:1
 17:31:51.379     tapi_dev.c  TAPI: thread starting...
 17:31:51.381     tapi_dev.c  stream_start()
 17:31:51.382     tapi_dev.c  using localized tones for Croatia
 17:31:51.390    pjsua_acc.c  Registration sent
 17:31:51.407    pjsua_acc.c  SIP registration error: No suitable credential (PJSI                                P_ENOCREDENTIAL) [status=171101]



voiceint.iskon.hr je unesen IP. ako unesem kao adresu natrag dobijem:




Code:
 17:24:46.694     tapi_dev.c  stream_start()
 17:24:46.695     tapi_dev.c  using localized tones for Croatia
 17:24:46.712    tsx0x8307dc  Failed to send Request msg REGISTER/cseq=30408 (td                                  ta0x82f770)! err=70018 (gethostbyname() has returned error (PJ_ERESOLVE))
 17:24:46.713    pjsua_acc.c  SIP registration failed, status=502 (gethostbyname                                  () has returned error (PJ_ERESOLVE))
 17:24:46.715    pjsua_acc.c  Unable to create/send REGISTER: gethostbyname() ha                                  s returned error (PJ_ERESOLVE) [status=70018]
 17:24:53.945    tsx0x8307dc  Failed to send Request msg REGISTER/cseq=4231 (tdt                                  a0x82f770)! err=70018 (gethostbyname() has returned error (PJ_ERESOLVE))
 17:24:53.946    pjsua_acc.c  SIP registration failed, status=502 (gethostbyname                                  () has returned error (PJ_ERESOLVE))
 17:24:53.948    pjsua_acc.c  Unable to create/send REGISTER: gethostbyname() ha                                  s returned error (PJ_ERESOLVE) [status=70018]
^C 17:28:13.159     tapi_dev.c  factory_get_dev_info()




Na voicetv, ako ne pišem ip onda opet isti error kao gore. Sa ip-om natrag dobijem



17:35:12.932 pjsua_acc.c Registration sent
17:35:12.956 pjsua_acc.c SIP registration failed, status=404 (Domain not bound)




Telephony config:



Code:
config general 'general'
	option name 'owsip'
	option backend 'ltq_tapi'
	option ossdev '0'
	option log_level '3'
	option interface 'nas0'
	option local_port '5060'
	option rtp_port '4000'
	option locale 'croatia'

config account 'example1'
	option username '01336xxxx
	option password 'telephony_password
	option port '0'
	option realm '10.128.2.1'

config account 'example2'
	option realm 'myrealm2.com'
	option username 'myuser2'
	option password 'mypass2'
	option disabled '1'
	option port '1'

config contact
	option desc 'example contact description'
	option code 'example'
	option dial '0123456789'
	option type 'realm'

config port 'port0'
	option id '0'
	option led 'soc:green:phone1'
	option noring '0'
	option nodial '0'




edit: vratio sam iskon router, spojio se, isprobao telefon i vration natrag ovaj s openwrtom. Napokon se spojio, ali kada mu kada gledam u owsip opet mu baci 404. Na 1. tel. portu zvoni ali ne čuje se ništa iz telefona. Na 2. se čuje da zvoni ali kada se podigne slušalica odmah prekine. Kada pokušam nekoga nazvati s telefona mi samo javi ko da je zauzeto.

Tel. config sada:



config general 'general'
option name 'owsip'
option backend 'ltq_tapi'
option ossdev '0'
option log_level '3'
option interface 'nas0'
option local_port '5060'
option rtp_port '4000'
option locale 'croatia'

config account 'example1'
option username '01336****
option password '******
option port '0'
option realm '10.128.2.50'

config contact
option desc 'example contact description'
option code 'example'
option dial '0123456789'
option type 'realm'

config port 'port0'
option id '0'
option led 'soc:greenhone1'
option noring '0'
option nodial '0'




edit2: log kod poziva





voiceint
19:45:02.031 owsip.c incoming call from "0958407337"
19:45:02.034 owsip.c handling call with id 1 and state EARLY
19:45:02.036 c/call.c call 1 ring
19:45:02.037 b/ltq-tapi.c port 0 ring
19:45:11.335 tapi_dev.c TAPI: OFFHOOK
19:45:11.335 b/ltq-tapi.c off hook on port 0
19:45:11.335 b/ltq-tapi.c port 0 on hook
19:45:11.337 b/ltq-tapi.c port 0 connect
19:45:11.338 owsip.c answering call from "0958407337"
19:45:11.343 c/call.c call 1 connect
19:45:11.344 b/ltq-tapi.c connect call to port 0
19:45:11.348 owsip.c handling call with id 1 and state CONNECTING
19:45:14.511 tapi_dev.c TAPI: ONHOOK
19:45:14.512 b/ltq-tapi.c on hook on port 0
19:45:14.513 b/ltq-tapi.c port 0 on hook
19:45:14.515 owsip.c hanging up call with "0958407337"
19:45:14.547 owsip.c handling call with id 1 and state DISCONNCTD
19:45:14.548 c/call.c call 1 stop



odlazni
19:45:21.519 tapi_dev.c TAPI: OFFHOOK
19:45:21.519 b/ltq-tapi.c off hook on port 0
19:45:21.519 b/ltq-tapi.c port 0 off hook
19:45:23.076 b/ltq-tapi.c port 0 detected tone 0
19:45:23.077 b/ltq-tapi.c port 0 dial
19:45:23.361 b/ltq-tapi.c port 0 detected tone 9
19:45:23.766 b/ltq-tapi.c port 0 detected tone 5
19:45:24.074 b/ltq-tapi.c port 0 detected tone 8
19:45:24.381 b/ltq-tapi.c port 0 detected tone 4
19:45:24.811 b/ltq-tapi.c port 0 detected tone 0
19:45:25.136 b/ltq-tapi.c port 0 detected tone 7
19:45:25.676 b/ltq-tapi.c port 0 detected tone 3
19:45:25.869 b/ltq-tapi.c port 0 detected tone 3
19:45:26.296 b/ltq-tapi.c port 0 detected tone 7
19:45:29.297 d/dial.c port 0 dialed 0958407337
19:45:29.306 owsip.c handling call with id 2 and state CALLING
19:45:29.308 c/call.c call 2 call
19:45:29.309 b/ltq-tapi.c port 0 connect
19:45:29.350 owsip.c handling call with id 2 and state DISCONNCTD
19:45:29.351 c/call.c call 2 stop
19:45:29.352 b/ltq-tapi.c port 0 end
19:45:35.039 tapi_dev.c TAPI: ONHOOK
19:45:35.039 b/ltq-tapi.c on hook on port 0
19:45:35.040 b/ltq-tapi.c port 0 on hook


voicetv
20:07:28.814 b/backend.h registering backend ltq_tapi_backend
registering call handler echo
20:07:28.816 d/dial.h registering dial contact
20:07:28.818 os_core_unix.c pjlib 1.12.0 for POSIX initialized
20:07:28.824 owsip.c using backend ltq_tapi
20:07:28.827 os_core_unix.c pjlib 1.12.0 for POSIX initialized
20:07:28.833 sip_endpoint.c Creating endpoint instance...
20:07:28.838 pjlib select() I/O Queue created (0x906770)
20:07:28.839 sip_endpoint.c Module "mod-msg-print" registered
20:07:28.841 sip_transport. Transport manager created.
20:07:28.845 tapi_dev.c pjmedia_tapi_factory()
20:07:28.846 tapi_dev.c factory_init()
20:07:29.084 tapi_dev.c factory_get_dev_count()
20:07:29.086 tapi_dev.c factory_get_dev_info()
20:07:29.287 pjsua_core.c pjsua version 1.12.0 for Linux-3.2.12/mips/glibc-2.2 initialized
20:07:29.313 owsip.c found 0 codecs
20:07:29.314 tapi_dev.c factory_get_dev_info()
20:07:29.315 tapi_dev.c factory_get_dev_info()
20:07:29.316 b/ltq-tapi.c initializing audio device 0 named TAPI_00
20:07:29.316 b/ltq-tapi.c initializing audio device 1 named TAPI_01
20:07:29.317 tapi_dev.c factory_default_param.
20:07:29.318 tapi_dev.c factory_get_dev_info()
20:07:29.318 tapi_dev.c factory_create_stream() rec_id:0 play_id:0
20:07:29.323 tapi_dev.c stream_start()
20:07:29.324 tapi_dev.c factory_get_dev_info()
20:07:29.324 tapi_dev.c factory_default_param.
20:07:29.325 tapi_dev.c factory_get_dev_info()
20:07:29.325 tapi_dev.c factory_create_stream() rec_id:1 play_id:1
20:07:29.329 tapi_dev.c TAPI: thread starting...
20:07:29.332 tapi_dev.c stream_start()
20:07:29.333 tapi_dev.c using localized tones for Croatia
20:07:29.358 tsx0x94b1dc Failed to send Request msg REGISTER/cseq=39857 (tdta0x94a170)! err=70018 (gethostbyname() has returned error (PJ_ERESOLVE))
20:07:29.359 pjsua_acc.c SIP registration failed, status=502 (gethostbyname() has returned error (PJ_ERESOLVE))
20:07:29.363 pjsua_acc.c Unable to create/send REGISTER: gethostbyname() has returned error (PJ_ERESOLVE) [status=70018]
20:07:35.699 tsx0x94b1dc Failed to send Request msg REGISTER/cseq=34132 (tdta0x94a170)! err=70018 (gethostbyname() has returned error (PJ_ERESOLVE))
20:07:35.700 pjsua_acc.c SIP registration failed, status=502 (gethostbyname() has returned error (PJ_ERESOLVE))
20:07:35.701 pjsua_acc.c Unable to create/send REGISTER: gethostbyname() has returned error (PJ_ERESOLVE) [status=70018]
20:09:11.216 tapi_dev.c TAPI: OFFHOOK
20:09:11.216 b/ltq-tapi.c off hook on port 0
20:09:11.217 b/ltq-tapi.c port 0 off hook
20:09:12.794 b/ltq-tapi.c port 0 detected tone 0
20:09:12.795 b/ltq-tapi.c port 0 dial
20:09:13.116 b/ltq-tapi.c port 0 detected tone 9
20:09:13.398 b/ltq-tapi.c port 0 detected tone 5
20:09:13.703 b/ltq-tapi.c port 0 detected tone 8
20:09:14.053 b/ltq-tapi.c port 0 detected tone 4
20:09:14.418 b/ltq-tapi.c port 0 detected tone 0
20:09:14.738 b/ltq-tapi.c port 0 detected tone 7
20:09:15.098 b/ltq-tapi.c port 0 detected tone 3
20:09:15.283 b/ltq-tapi.c port 0 detected tone 3
20:09:15.590 b/ltq-tapi.c port 0 detected tone 7
20:09:18.591 d/dial.c port 0 dialed 0958407337
20:09:18.885 tsx0x94ed7c Failed to send Request msg INVITE/cseq=19205 (tdta0x94cd68)! err=70018 (gethostbyname() has returned error (PJ_ERESOLVE))
20:09:18.886 owsip.c handling call with id 0 and state DISCONNCTD
20:09:18.886 c/call.c call 0 stop
20:09:18.887 pjsua_call.c Unable to send initial INVITE request: gethostbyname() has returned error (PJ_ERESOLVE) [status=70018]
20:09:18.888 owsip.c failed to call 'sip:0958407337@voicetv.iskon.hr'
20:09:18.891 b/ltq-tapi.c port 0 error
20:09:22.928 tapi_dev.c TAPI: ONHOOK
20:09:22.929 b/ltq-tapi.c on hook on port 0
20:09:22.931 b/ltq-tapi.c port 0 on hook



Kada zovem na voicetv ništa.

edit3: Hvala .Delboy, konačno riješeno
__________________


AMD Ryzen 7 5700X
BQ Pure Rock
MSI B450 Tomahawk Max
32GB (2x16GB) Fury Beast 3600MHz HX432C18FB2K2/16
MSI RX 6800XT GamingX Trio 16GB
500GB Crucial MX500
Fractal Define R4
Corsair HX850 Platinum
Logitech MX Master 3
Logitech MX Keys
Logitech Z2300
Dell U2715H
Iskon 300/100 Mbps



CPU Intel i7-4810MQ
VGA nVidia GT730M 1 GB
RAM DDR3 16 GB 1600 MHz
SSD 500 GB Sandisk Ultra
Display 15.5" 3K HD IPS 2880x1620
LTE Modem
DVD-RW
9 cell battery
Napajanje 135 W
Windows 10 Pro
Logitech MX Anywhere 3s



AMD Ryzen 5 7640HS
AMD RadeonT 760M
14" 2,8K, 120Hz
16GB RAM
1TB HDD
Windows 11 Pro
Logitech MX Anywhere 3s



Xpenology DVA1622 @ DSM 7.1.1-42962 Update 4
H110M-DGS
Intel i3-7100
8GB RAM DDR4
WD Red 8TB
WD Purple 4TB
Seagate IronWolf 3TB
Seagate SkyHawk 6TB
Nanoxia Deep Silence 4
Seasonic X650 SS-650KM Gold


Zadnje izmijenjeno od: Facelessone. 11.03.2013. u 23:27.
Facelessone je offline   Reply With Quote