Open imakou opened 6 years ago
Hi, To see if the library works with IPV6 is not yet made. This needs to be done to add ipv6 https://trac.pjsip.org/repos/ticket/415
Hi,
First of all, I very appreciate your replying. In addition, I also found a ref. How can I follow the steps and modify the settings in this lib(Vialer-pjsip-iOS).
Thanks.
I’m testing abuild configuration for ip V6. But not entirly how i can test it with a call
There is the log that I got.
13:37:50.184 pjsua_acc.c Adding account: id=allen <sip:213@sip.myserver.com>
13:37:50.185 pjsua_acc.c .Account allen <sip:213@sip.myserver.com> added with id 0
13:37:50.185 pjsua_acc.c .Acc 0: setting registration..
13:37:50.185 sip_transport. ..Warning: unable to determine local interface, fallback to default interface!
13:37:50.185 endpoint ..Request msg REGISTER/cseq=40591 (tdta0x134821200) created.
13:37:50.186 sip_transport. ..Warning: unable to determine local interface, fallback to default interface!
13:37:50.186 tsx0x1348026a8 ...Transaction created for Request msg REGISTER/cseq=40592 (tdta0x134821200)
13:37:50.186 tsx0x1348026a8 ..Sending Request msg REGISTER/cseq=40592 (tdta0x134821200) in state Null
13:37:50.186 sip_resolve.c ...DNS resolver not available, target 'sip.myserver.com:0' type=TCP will be resolved with getaddrinfo()
13:37:50.189 sip_resolve.c ...Failed to resolve 'sip.myserver.com'. Err=70018 (gethostbyname() has returned error (PJ_ERESOLVE))
13:37:50.189 tsx0x1348026a8 ...Failed to send Request msg REGISTER/cseq=40592 (tdta0x134821200)! err=70018 (gethostbyname() has returned error (PJ_ERESOLVE))
13:37:50.189 tsx0x1348026a8 ...State changed from Null to Terminated, event=TRANSPORT_ERROR
13:37:50.189 pjsua_acc.c .....SIP registration failed, status=502 (gethostbyname() has returned error (PJ_ERESOLVE))
13:37:50.189 pjsua_acc.c .....Scheduling re-registration retry for acc 0 in 0 seconds..
13:37:50.189 sip_reg.c ..Error sending request, status=70018
13:37:50.189 pjsua_acc.c ..Unable to create/send REGISTER: gethostbyname() has returned error (PJ_ERESOLVE) [status=70018]
13:37:50.199 tsx0x1348026a8 !Timeout timer event
13:37:50.199 tsx0x1348026a8 .State changed from Terminated to Destroyed, event=TIMER
13:37:50.199 tdta0x13482120 ..Destroying txdata Request msg REGISTER/cseq=40592 (tdta0x134821200)
13:37:50.199 tsx0x1348026a8 Transaction destroyed!
13:37:50.957 pjsua_acc.c Acc 0: setting registration..
13:37:50.958 sip_transport. .Warning: unable to determine local interface, fallback to default interface!
13:37:50.959 endpoint .Request msg REGISTER/cseq=58356 (tdta0x13682bc00) created.
13:37:50.959 sip_transport. .Warning: unable to determine local interface, fallback to default interface!
13:37:50.959 tsx0x1368288a8 ..Transaction created for Request msg REGISTER/cseq=58357 (tdta0x13682bc00)
13:37:50.960 tsx0x1368288a8 .Sending Request msg REGISTER/cseq=58357 (tdta0x13682bc00) in state Null
13:37:50.960 sip_resolve.c ..DNS resolver not available, target 'sip.myserver.com:0' type=TCP will be resolved with getaddrinfo()
13:37:50.963 sip_resolve.c ..Failed to resolve 'sip.myserver.com'. Err=70018 (gethostbyname() has returned error (PJ_ERESOLVE))
13:37:50.963 tsx0x1368288a8 ..Failed to send Request msg REGISTER/cseq=58357 (tdta0x13682bc00)! err=70018 (gethostbyname() has returned error (PJ_ERESOLVE))
13:37:50.963 tsx0x1368288a8 ..State changed from Null to Terminated, event=TRANSPORT_ERROR
13:37:50.963 pjsua_acc.c ....SIP registration failed, status=502 (gethostbyname() has returned error (PJ_ERESOLVE))
13:37:50.963 pjsua_acc.c ....Scheduling re-registration retry for acc 0 in 292 seconds..
13:37:50.964 sip_reg.c .Error sending request, status=70018
13:37:50.964 pjsua_acc.c .Unable to create/send REGISTER: gethostbyname() has returned error (PJ_ERESOLVE) [status=70018]
13:37:50.964 pjsua_acc.c Scheduling re-registration retry for acc 0 in 300 seconds..
13:37:50.972 tsx0x1368288a8 Timeout timer event
13:37:50.972 tsx0x1368288a8 .State changed from Terminated to Destroyed, event=TIMER
13:37:50.972 tdta0x13682bc0 ..Destroying txdata Request msg REGISTER/cseq=58357 (tdta0x13682bc00)
13:37:50.972 tsx0x1368288a8 Transaction destroyed!
I have created a new build for PJSIP with ip v6 enabled but can't test it because our proxies don't yet fully support it yet
I've released 3.3.0 of this library to cocoapods. Could you see when you update the pod that ip v6 works?
Hi,
Sorry for replying late. A question,
if enabled PJ_HAS_IPV6
in pj/config_site.h:
by adding
#define PJ_HAS_IPV6 1
How can built/compile VialerPJSIP.framework
which is included new settings?
Thanks.
Hey Hi, is there any functions for recording calls?
Hi all, A
Bad Gateway
error message comes up when my device in IPV6 environment connects to my SIP server but everything works fine in the IPV4 environment.I've struggled for many days. Can anyone give some advice?
Thanks.