Woersty / LoxBerry-Plugin-Text2SIP

A LoxBerry Plugin
http://plugins.loxberry.de
Apache License 2.0
0 stars 4 forks source link

Problem mit Grandstream HT 802 #25

Open mgruendlerZH opened 5 years ago

mgruendlerZH commented 5 years ago

Hallo Christian

Ich habe hier ein Problem das ich mir nicht erklären kann.

Konstellation: Ich habe ein Analoges Retro Telefon das an einem Grandstream HT802 Analogconverter hängt Der HT802 unterstütze Direct Calls also von IP zu IP ohne SIP Proxy

Wenn ich das ganze aus der Plugin Konfiguration aus teste klingelt das Telefon wie erwartet. Wenn ich allerdings die Ansage über den Browser oder den Miniserver aufrufen will, habe ich im Browsertest "http://192.168.2.55/plugins/text2sip/?mode=make_call&vg=1" die Fehlermeldung "ERROR0005: Kann mich auf Port 5060 nicht zum SIP-Proxy verbinden. (192.168.2.59)" Warum ist das so?

Danke Gruss Mirko

Woersty commented 5 years ago

Weiß ich gerade nicht. Aber das eine wird über Perl gemacht und das andere über PHP. Da scheint was schief zu gehen. Hast du es mal im Debug Modus versucht? Was steht dann im Log?

mgruendlerZH commented 5 years ago

Hallo Christian

Hier das Log, danke für deine Hilfe

Gruss Mirko

Den Call habe ich über die Testfunktion im Plugin gestartet ->> Funktioniert

2019-02-10 20:37:14 [LOG] Logfile content deleted Lese Daten von Miniserver: Text: Tür /opt/loxberry/webfrontend/htmlauth/plugins/text2sip/bin/sipcmd -m "G.711" -o /opt/loxberry/log/plugins/text2sip/Text2SIP_sipcmd.log -T 1 -P sip -u "99999" -c "1" -a "192.168.2.55" -w "192.168.2.59" -x "c123;w100;v/opt/loxberry/data/plugins/text2sip/wav/Text2SIP_bd0T_wav;w5000;h" 2>&1 |tee -a /opt/loxberry/log/plugins/text2sip/Text2SIP.log|while read DTMF_LINE; do echo $DTMF_LINE|grep -q "Exiting."; if [ $? -eq 0 ]; then wget -q -t 1 -T 10 -O /dev/null "http://Adminuser:Password@Miniserver:80/dev/sps/io/Text2SIP_1/0"; fi; DTMF_CODE=echo $DTMF_LINE |grep "receive DTMF:"|cut -c16; echo "DTMF: $DTMF_CODE"; wget -q -t 1 -T 10 -O /dev/null "http://Adminuser:Password@Miniserver:80/dev/sps/io/Text2SIP_1/$DTMF_CODE"; echo $DTMF_LINE|grep -q "receive DTMF:"; if [ "$DTMF_CODE" == "0" ]; then echo "Confirmation code 0 detected. Exit!!" >> /opt/loxberry/log/plugins/text2sip/Text2SIP.log; sleep .5; killall -15 /opt/loxberry/webfrontend/htmlauth/plugins/text2sip/bin/sipcmd; else if [ ${#DTMF_CODE} -eq 1 ]; then echo "Confirmation code [$DTMF_CODE] detected but [0] expected. Continue..." >> /opt/loxberry/log/plugins/text2sip/Text2SIP.log; fi; fi; done Add job for guide 1 to queue as #39 ################################ Start job from /opt/loxberry/data/plugins/text2sip/wav/Text2SIP_YNpF.job.tsp @ Sun Feb 10 20:37:28 2019 Sun Feb 10 20:37:28 2019 ## Generating voice Sun Feb 10 20:37:28 2019 ## Converting voice Sun Feb 10 20:37:28 2019 ## Calling 123 Starting sipcmd LoxBerry Text2SIP Plugin Edition v0.7a adapted by C.Woerstenfeld (sipcmd developed by Tuomo Makkonen) Manager Init initialising SIP endpoint... Listening for SIP signalling on 0.0.0.0:TestChanAudio TestChanAudio 5060 SIP listener up registered as sip:99999@192.168.2.59 Created LocalEndPoint Main DIAL_TIMEOUT is 1 Codec-Filter: G.711

Call

TestPhone::Main: calling "123" using gateway "192.168.2.59" at Sun Feb 10 20:37:28 2019

Setting up a call to: sip:123@192.168.2.59 LocalEndpoint::MakeConnection LocalEndpointCreateConnection LocalConnection OnIncomingConnection: token=L76bf70cc2 connection set up to sip:123@192.168.2.59 TestPhone::Main: calling "sip:123@192.168.2.59" for 1/1 seconds Problem running command sequence ("c123;w100;v/opt/loxberry/data/plugins/text2sip/wav/Text2SIP_bd0T_wav;w5000;h"): Call: Dial timed out, check -T / --dialtimeout command line option TestPhone::Main: shutting down OnReleased: reason: EndedByLocalUser OnReleased: reason: EndedByLocalUser OnClearedCall ~LocalConnection TestPhone::Main: exiting... Exiting. ~Manager 2019-02-10 20:37:38 [LOG] Show logfile Sun Feb 10 20:37:28 2019 ## Deleting files 0:00.011 text2sip Version 1.0.1 by LoxBerry Text2SIP on Unix Linux (4.14.30-v7+-armv7l) with PTLib (v2.10.11 (svn:30295)) at 2019/2/10 20:37:28.875 0:00.011 text2sip OpalMan Attached endpoint with prefix sip 0:00.011 text2sip OpalEP Created endpoint: sip 0:00.012 text2sip PTLib Created read/write mutex 0x11b8970 0:00.012 text2sip PWLib File handle high water mark set: 9 PUDPSocket 0:00.012 text2sip IfaceMon Initial interface list: 127.0.0.1 <00-00-00-00-00-00> (lo) 192.168.2.55 (eth0)

0:00.012 text2sip PTLIB Opened NetLink socket 0:00.012 text2sip PWLib File handle high water mark set: 13 Thread unblock pipe 0:00.013 text2sip PTLib Created thread 0x11b9eb0 0:00.013 text2sip PTLib Thread high water mark set: 3 0:00.013 text2sip PTLib Created read/write mutex 0x11b8b18 0:00.013 Network In...0x746c5330 PTLib Started thread 0x11b9eb0 (9180) Network Interface Monitor:0x746c5330 0:00.013 Network In...0x746c5330 IfaceMon Started interface monitor thread. 0:00.013 text2sip PWLib File handle high water mark set: 15 Thread unblock pipe 0:00.013 text2sip PTLib Created thread 0x11ba078 Housekeeper 0:00.013 text2sip PTLib No permission to set priority level 4 0:00.014 text2sip PTLib Thread high water mark set: 4 0:00.014 Housekeeper:0x74685330 PTLib Started thread 0x11ba078 (9183) Housekeeper:0x74685330 0:00.015 text2sip OpalMan Attached endpoint with prefix sips 0:00.015 text2sip SIP Created endpoint. 0:00.015 text2sip OpalMan Added route "local:.=sip:" 0:00.015 text2sip OpalMan Added route "sip:.=local:" 0:00.016 text2sip PTLib Created read/write mutex 0x11bd848 0:00.016 text2sip PWLib File handle high water mark set: 16 PUDPSocket 0:00.016 text2sip MonSock Created socket bundle for all interfaces. 0:00.016 text2sip PWLib File handle high water mark set: 17 PUDPSocket 0:00.016 text2sip MonSock Created bundled UDP socket 192.168.2.55:5060 0:00.017 text2sip PWLib File handle high water mark set: 19 Thread unblock pipe 0:00.017 text2sip PTLib Created thread 0x11bddd8 Opal Listener 0:00.017 text2sip PTLib Thread high water mark set: 5 0:00.017 text2sip PTLib No permission to set priority level 4 0:00.017 Opal Liste...0x74645330 PTLib Started thread 0x11bddd8 (9184) Opal Listener:0x74645330 0:00.017 text2sip SIP Start REGISTER aor=99999 remote=192.168.2.59 local= contact= proxy= authID= realm= expire=0 restore=30 minRetry=default maxRetry=default compatibility=FullyCompliant 0:00.017 Opal Liste...0x74645330 Listen Started listening thread on udp$:5060 0:00.018 text2sip SIP Normalised REGISTER aor=sip:99999@192.168.2.59 remote=sip:99999@192.168.2.59 local= contact= proxy= authID=99999 realm= expire=3600 restore=30 minRetry=default maxRetry=default compatibility=FullyCompliant 0:00.018 text2sip PTLib Created read/write mutex 0x11bdf78 0:00.019 text2sip PWLib File handle high water mark set: 20 PUDPSocket 0:00.019 text2sip SIP Constructed REGISTER handler for sip:99999@192.168.2.59 0:00.020 text2sip SIP Executing state change to Subscribing for REGISTER handler, target=sip:99999@192.168.2.59, id=ea9637f8-d82b-e911-9982-b827eb5f3167@loxberry 0:00.020 text2sip SIP Changing REGISTER handler from Unavailable to Subscribing, target=sip:99999@192.168.2.59, id=ea9637f8-d82b-e911-9982-b827eb5f3167@loxberry 0:00.021 text2sip PTLib Created read/write mutex 0x11bf270 0:00.021 text2sip OpalUDP Binding to interface: 0.0.0.0:5060 0:00.021 text2sip SIP Created transport udp$192.168.2.59:5060<if=udp$:5060> 0:00.021 text2sip OpalUDP Started connect to 192.168.2.59:5060 0:00.022 text2sip OpalUDP Writing to interface 0 - "192.168.2.55%eth0" 0:00.024 text2sip OpalMan Listener interfaces: associated transport=udp$192.168.2.55:5060 udp$192.168.2.55:5060 0:00.025 text2sip PTLib Created read/write mutex 0x11c1738 0:00.025 text2sip SIP Transaction created. 0:00.026 text2sip SIP Transaction remembering interface "192.168.2.55%eth0" 0:00.027 text2sip SIP Transaction remote address is udp$192.168.2.59:5060 0:00.027 text2sip SIP Sending PDU (549 bytes) to: rem=udp$192.168.2.59:5060,local=udp$192.168.2.55:5060,if=192.168.2.55%eth0 REGISTER sip:192.168.2.59 SIP/2.0 CSeq: 1 REGISTER Via: SIP/2.0/UDP 192.168.2.55:5060;branch=z9hG4bK3ea638f8-d82b-e911-9982-b827eb5f3167;rport User-Agent: text2sip/1.0.1 From: sip:99999@192.168.2.59;tag=12c437f8-d82b-e911-9982-b827eb5f3167 Call-ID: ea9637f8-d82b-e911-9982-b827eb5f3167@loxberry Organization: LoxBerry Text2SIP To: sip:99999@192.168.2.59 Contact: sip:99999@192.168.2.55:5060;q=1 Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,SUBSCRIBE,NOTIFY,REFER,MESSAGE,INFO,PING,PRACK Expires: 3600 Content-Length: 0 Max-Forwards: 70

0:00.028 text2sip OpalUDP Setting interface to 192.168.2.55%eth0 0:00.028 text2sip SIP Transaction timers set: retry=10.000, completion=16.000 0:00.028 text2sip OpalMan Attached endpoint with prefix local 0:00.029 text2sip OpalEP Created endpoint: local 0:00.029 text2sip LocalEP Created endpoint. 0:00.029 text2sip OpalMan Set up call from local: to sip:123@192.168.2.59 0:00.029 text2sip PTLib Created read/write mutex 0x11c3918 0:00.029 text2sip Call Created Call[C7971d8e11] 0:00.029 text2sip OpalMan Set up connection to "local:" 0:00.029 text2sip PTLib Created read/write mutex 0x11c3bc0 0:00.029 text2sip OpalCon Created connection Call[C7971d8e11]-EP[L76bf70cc2] 0:00.030 text2sip LocalCon Created connection with token "L76bf70cc2" 0:00.030 text2sip Call GetOtherPartyConnection Call[C7971d8e11]-EP[L76bf70cc2] 0:00.030 text2sip OpalCon SetPhase from UninitialisedPhase to SetUpPhase for Call[C7971d8e11]-EP[L76bf70cc2] 0:00.030 text2sip OpalMan OnIncoming connection Call[C7971d8e11]-EP[L76bf70cc2] 0:00.030 text2sip Call GetOtherPartyConnection Call[C7971d8e11]-EP[L76bf70cc2] 0:00.030 text2sip Call GetOtherPartyConnection Call[C7971d8e11]-EP[L76bf70cc2] 0:00.030 text2sip OpalMan Searching for route "local:loxberry sip:123@192.168.2.59" 0:00.030 text2sip OpalMan Matched regex "^local:. .$" ("local:.") 0:00.031 text2sip OpalMan Set up connection to "sip:123@192.168.2.59" 0:00.031 text2sip PTLib Created read/write mutex 0x11c6c18 0:00.031 text2sip OpalCon Created connection Call[C7971d8e11]-EP[066a39f8-d82b-e911-9982-b827eb5f3167] 0:00.031 text2sip RFC2833 Handler created 0:00.031 text2sip RFC2833 Handler created 0:00.033 text2sip SIP Created connection. 0:00.033 text2sip LocalCon Outgoing call routed to sip:123@192.168.2.59 for Call[C7971d8e11]-EP[L76bf70cc2] 0:00.033 text2sip Call OnSetUp Call[C7971d8e11]-EP[L76bf70cc2] 0:00.033 text2sip SIP SetUpConnection: sip:123@192.168.2.59 0:00.033 text2sip SIP Connecting to sip:123@192.168.2.59 via sip:123@192.168.2.59 0:00.033 text2sip SIP Setting new transport for destination "sip:123@192.168.2.59" 0:00.033 text2sip SIP Found registrar on domain 192.168.2.59, using interface 0:00.034 text2sip PTLib Created read/write mutex 0x11c9a78 0:00.034 text2sip OpalUDP Binding to interface: 0.0.0.0:5060 0:00.034 text2sip SIP Created transport udp$192.168.2.59:5060<if=udp$:5060> 0:00.034 text2sip OpalUDP Started connect to 192.168.2.59:5060 0:00.040 text2sip MediaFormat Removing codecs !G.711* 0:00.040 text2sip Call GetMediaFormats for Call[C7971d8e11]-EP[066a39f8-d82b-e911-9982-b827eb5f3167] G.711-ALaw-64k,G.711-uLaw-64k 0:00.040 text2sip SIP Local media formats set: G.711-ALaw-64k,G.711-uLaw-64k 0:00.041 text2sip SIP Remote media formats set: G.711-ALaw-64k,G.711-uLaw-64k,T.38 0:00.041 text2sip OpalUDP Writing to interface 0 - "192.168.2.55%eth0" 0:00.041 text2sip SIP Getting local URI from registeration: sip:99999@192.168.2.59 0:00.041 text2sip SIP Updating dialog tag from "" to "066a39f8-d82b-e911-9982-b827eb5f3167" 0:00.042 text2sip PTLib Created read/write mutex 0x11d5340 0:00.042 text2sip SIP Remote dialog address from target: sip:123@192.168.2.59 0:00.046 text2sip SIP INVITE transaction id=z9hG4bK544c3bf8-d82b-e911-9982-b827eb5f3167 created. 0:00.046 text2sip SIP Creating INVITE request 0:00.046 text2sip SIP Offering all configured media: G.711-ALaw-64k,G.711-uLaw-64k 0:00.046 text2sip SIP Offering media type audio in SDP 0:00.046 text2sip Call IsMediaBypassPossible Call[C7971d8e11]-EP[066a39f8-d82b-e911-9982-b827eb5f3167] session 1 0:00.046 text2sip OpalMan IsMediaBypassPossible: session 1 0:00.046 text2sip OpalCon IsMediaBypassPossible: default returns false 0:00.047 text2sip RTP Cannot find media session 1 0:00.047 text2sip RTP Cannot find RTP session 1 0:00.047 text2sip PTLib Created PXConfig 0x11d5890 0:00.048 text2sip RTP_UDP Session 1, created with NAT flag set to 0 0:00.049 text2sip PWLib File handle high water mark set: 21 PUDPSocket 0:00.049 text2sip RTP_UDP Session 1 created: 192.168.2.55:5000-5001 ssrc=1582504230 0:00.049 text2sip RTP Creating new session RTP_UDP 0:00.049 text2sip RTPEp Session 1, remembering local RTP port 5000 on connection Call[C7971d8e11]-EP[066a39f8-d82b-e911-9982-b827eb5f3167] 0:00.049 text2sip RTP Found existing media session 1 0:00.050 text2sip RFC2833 Set tx pt=[pt=128], events="" for UserInput/RFC2833 0:00.050 text2sip RFC2833 Set tx pt=[pt=128], events="" for NamedSignalEvent 0:00.051 text2sip SIP No media formats of type video, not adding SDP 0:00.052 text2sip SIP Transaction remembering interface "192.168.2.55%eth0" 0:00.052 text2sip SIP Transaction remote address is udp$192.168.2.59:5060 0:00.053 text2sip SIP Sending PDU (807 bytes) to: rem=udp$192.168.2.59:5060,local=udp$192.168.2.55:5060,if=192.168.2.55%eth0 INVITE sip:123@192.168.2.59 SIP/2.0 CSeq: 1 INVITE Via: SIP/2.0/UDP 192.168.2.55:5060;branch=z9hG4bK544c3bf8-d82b-e911-9982-b827eb5f3167;rport User-Agent: text2sip/1.0.1 From: "192.168.2.55" sip:99999@192.168.2.59;tag=066a39f8-d82b-e911-9982-b827eb5f3167 Call-ID: 8a8639f8-d82b-e911-9982-b827eb5f3167@loxberry Supported: 100rel,replaces Organization: LoxBerry Text2SIP To: sip:123@192.168.2.59 Contact: "192.168.2.55" sip:99999@192.168.2.55 Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,SUBSCRIBE,NOTIFY,REFER,MESSAGE,INFO,PING,PRACK Content-Length: 193 Content-Type: application/sdp Max-Forwards: 70

v=0 o=- 1549827448 1 IN IP4 192.168.2.55 s=text2sip/1.0.1 c=IN IP4 192.168.2.55 t=0 0 m=audio 5000 RTP/AVP 8 0 a=sendrecv a=rtpmap:8 PCMA/8000/1 a=rtpmap:0 PCMU/8000/1 a=maxptime:240

0:00.054 text2sip OpalUDP Setting interface to 192.168.2.55%eth0 0:00.054 text2sip SIP Transaction timers set: retry=9.999, completion=31.999 0:00.055 text2sip OpalCon SetPhase from UninitialisedPhase to SetUpPhase for Call[C7971d8e11]-EP[066a39f8-d82b-e911-9982-b827eb5f3167] 0:00.055 text2sip OpalCon OnSetUpConnectionCall[C7971d8e11]-EP[066a39f8-d82b-e911-9982-b827eb5f3167] 0:00.055 text2sip OpalEP OnSetUpConnection Call[C7971d8e11]-EP[066a39f8-d82b-e911-9982-b827eb5f3167] 0:00.055 text2sip OpalMan SetUpCall succeeded, call=Call[C7971d8e11] 0:01.157 text2sip OpalMan Clearing all calls and waiting, primary thread. 0:01.157 text2sip Call Clearing Call[C7971d8e11] reason=EndedByLocalUser 0:01.157 text2sip OpalCon SetPhase from SetUpPhase to ReleasingPhase for Call[C7971d8e11]-EP[066a39f8-d82b-e911-9982-b827eb5f3167] 0:01.157 text2sip OpalCon Call end reason for Call[C7971d8e11]-EP[066a39f8-d82b-e911-9982-b827eb5f3167] set to EndedByLocalUser 0:01.157 text2sip OpalCon Releasing asynchronously Call[C7971d8e11]-EP[066a39f8-d82b-e911-9982-b827eb5f3167] 0:01.157 text2sip PWLib File handle high water mark set: 23 Thread unblock pipe 0:01.157 text2sip PTLib Created thread 0x11db7b8 OnRelease 0:01.158 text2sip PTLib Thread high water mark set: 6 0:01.158 OnRelease:0x742ff330 PTLib Started thread 0x11db7b8 (9387) OnRelease:0x742ff330 0:01.158 OnRelease:0x742ff330 SIP OnReleased: Call[C7971d8e11]-EP[066a39f8-d82b-e911-9982-b827eb5f3167] 0:01.159 OnRelease:0x742ff330 SIP Cancelling 1 transactions. 0:01.159 OnRelease:0x742ff330 SIP Attempting to abort INVITE transaction id=z9hG4bK544c3bf8-d82b-e911-9982-b827eb5f3167 0:01.159 OnRelease:0x742ff330 SIP Set state Terminated_Aborted for INVITE transaction id=z9hG4bK544c3bf8-d82b-e911-9982-b827eb5f3167 0:01.159 OnRelease:0x742ff330 SIP Transaction 1 INVITE sip:123@192.168.2.59 failed, unknown handler, ID: 8a8639f8-d82b-e911-9982-b827eb5f3167@loxberry 0:01.160 OnRelease:0x742ff330 SIP OnTransactionFailed for transaction id=z9hG4bK544c3bf8-d82b-e911-9982-b827eb5f3167 0:01.160 OnRelease:0x742ff330 SIP Completed state for transaction id=z9hG4bK544c3bf8-d82b-e911-9982-b827eb5f3167 0:01.161 OnRelease:0x742ff330 OpalCon OnReleased Call[C7971d8e11]-EP[066a39f8-d82b-e911-9982-b827eb5f3167] 0:01.162 OnRelease:0x742ff330 OpalCon Media streams closed. 0:01.162 OnRelease:0x742ff330 OpalEP OnReleased Call[C7971d8e11]-EP[066a39f8-d82b-e911-9982-b827eb5f3167] 0:01.162 OnRelease:0x742ff330 OpalMan OnReleased Call[C7971d8e11]-EP[066a39f8-d82b-e911-9982-b827eb5f3167] 0:01.162 OnRelease:0x742ff330 Call OnReleased Call[C7971d8e11]-EP[066a39f8-d82b-e911-9982-b827eb5f3167] 0:01.162 OnRelease:0x742ff330 OpalCon SetPhase from SetUpPhase to ReleasingPhase for Call[C7971d8e11]-EP[L76bf70cc2] 0:01.162 OnRelease:0x742ff330 OpalCon Call end reason for Call[C7971d8e11]-EP[L76bf70cc2] set to EndedByLocalUser 0:01.163 OnRelease:0x742ff330 OpalCon Releasing synchronously Call[C7971d8e11]-EP[L76bf70cc2] 0:01.163 OnRelease:0x742ff330 OpalCon OnReleased Call[C7971d8e11]-EP[L76bf70cc2] 0:01.163 OnRelease:0x742ff330 OpalCon Media streams closed. 0:01.163 OnRelease:0x742ff330 OpalEP OnReleased Call[C7971d8e11]-EP[L76bf70cc2] 0:01.163 OnRelease:0x742ff330 OpalMan OnReleased Call[C7971d8e11]-EP[L76bf70cc2] 0:01.163 OnRelease:0x742ff330 Call OnReleased Call[C7971d8e11]-EP[L76bf70cc2] 0:01.164 OnRelease:0x742ff330 OpalCon SetPhase from ReleasingPhase to ReleasedPhase for Call[C7971d8e11]-EP[L76bf70cc2] 0:01.164 OnRelease:0x742ff330 OpalCon Connection Call[C7971d8e11]-EP[L76bf70cc2] released Initial Time: Sun, 10 Feb 2019 20:37:28 +01:00 SetUpPhase: 0.000 ProceedingPhase: N/A AlertingPhase: N/A ConnectedPhase: N/A EstablishedPhase: N/A ForwardingPhase: N/A ReleasingPhase: 1.132 ReleasedPhase: 1.134 Call end reason: EndedByLocalUser

0:01.164 OnRelease:0x742ff330 OpalCon SetPhase from ReleasingPhase to ReleasedPhase for Call[C7971d8e11]-EP[066a39f8-d82b-e911-9982-b827eb5f3167] 0:01.165 OnRelease:0x742ff330 OpalCon Connection Call[C7971d8e11]-EP[066a39f8-d82b-e911-9982-b827eb5f3167] released Initial Time: Sun, 10 Feb 2019 20:37:28 +01:00 SetUpPhase: 0.023 ProceedingPhase: N/A AlertingPhase: N/A ConnectedPhase: N/A EstablishedPhase: N/A ForwardingPhase: N/A ReleasingPhase: 1.125 ReleasedPhase: 1.133 Call end reason: EndedByLocalUser

0:01.165 OnRelease:0x742ff330 OpalCon OnRelease thread completed for Call[C7971d8e11]-EP[066a39f8-d82b-e911-9982-b827eb5f3167] 0:01.165 OnRelease:0x742ff330 PWLib File handle high water mark set: 24 PTextFile 0:01.166 OnRelease:0x742ff330 PTLib Thread ended: name="OnRelease:0x742ff330", real=0.007, kernel=0.000 (0%), user=0.000 (0%), both=0.000 (0%) 0:02.011 Opal Garbage:0x74705330 LocalCon Deleted connection. 0:02.011 Opal Garbage:0x74705330 OpalCon Connection Call[C7971d8e11]-EP[L76bf70cc2] destroyed. 0:02.011 Housekeeper:0x74685330 PTLib Destroyed thread 0x11db7b8 OnRelease:0x742ff330(id = 0) 0:02.012 Opal Garbage:0x74705330 PTLib Destroying read/write mutex 0x11c3bc0 0:03.012 Opal Garbage:0x74705330 RTP Deleting session 1 0:03.013 Opal Garbage:0x74705330 RTPEp Session 1, forgetting local RTP port 5000 on connection Call[C7971d8e11]-EP[066a39f8-d82b-e911-9982-b827eb5f3167] 0:03.013 Opal Garbage:0x74705330 RTP_UDP Session 1, Shutting down read. 0:03.013 Opal Garbage:0x74705330 RTP_UDP Session 1, shutting down write. 0:03.014 Opal Garbage:0x74705330 SIP Transaction id=z9hG4bK544c3bf8-d82b-e911-9982-b827eb5f3167 destroyed. 0:03.015 Opal Garbage:0x74705330 PTLib Destroying read/write mutex 0x11d5340 0:03.015 Opal Garbage:0x74705330 SIP Deleting connection. 0:03.015 Opal Garbage:0x74705330 SIP Setting new transport for destination "" 0:03.015 Opal Garbage:0x74705330 Opal Transport clean up on termination 0:03.015 Opal Garbage:0x74705330 Opal Transport Close 0:03.015 Opal Garbage:0x74705330 Opal Transport clean up on termination 0:03.016 Opal Garbage:0x74705330 Opal Transport Close 0:03.016 Opal Garbage:0x74705330 Opal Deleted transport udp$192.168.2.59:5060 0:03.016 Opal Garbage:0x74705330 PTLib Destroying read/write mutex 0x11c9a78 0:03.018 Opal Garbage:0x74705330 OpalCon Connection Call[C7971d8e11]-EP[066a39f8-d82b-e911-9982-b827eb5f3167] destroyed. 0:03.018 Opal Garbage:0x74705330 PTLib Destroying read/write mutex 0x11c6c18 0:04.018 Opal Garbage:0x74705330 Call Destroyed Call[C7971d8e11] 0:04.019 Opal Garbage:0x74705330 PTLib Destroying read/write mutex 0x11c3918 0:04.019 text2sip OpalMan All calls cleared. 0:04.019 text2sip OpalMan Shutting down endpoints. 0:04.019 text2sip OpalMan Clearing all calls and waiting, primary thread. 0:05.019 text2sip OpalMan All calls cleared. 0:05.020 text2sip SIP Shutting down. 0:05.020 text2sip SIP Attempting to abort REGISTER transaction id=z9hG4bK3ea638f8-d82b-e911-9982-b827eb5f3167 0:05.020 text2sip SIP Set state Terminated_Aborted for REGISTER transaction id=z9hG4bK3ea638f8-d82b-e911-9982-b827eb5f3167 0:05.020 text2sip SIP Not retrying REGISTER due to error response 487 Request Terminated 0:05.020 text2sip SIP Changing REGISTER handler from Subscribing to Unsubscribed, target=sip:99999@192.168.2.59, id=ea9637f8-d82b-e911-9982-b827eb5f3167@loxberry 0:05.021 text2sip SIP Completed state for transaction id=z9hG4bK3ea638f8-d82b-e911-9982-b827eb5f3167 0:05.121 text2sip OpalEP sip endpoint shutting down. 0:05.121 text2sip Listen Stopping listening thread on udp$:5060 0:05.122 text2sip MonSock Closed UDP socket 0x11bdbe0 0:05.122 Opal Liste...0x74645330 Listen UDP read error. 0:05.123 Opal Liste...0x74645330 PWLib File handle low water mark set: 17 PTextFile 0:05.123 Opal Liste...0x74645330 PTLib Thread ended: name="Opal Listener:0x74645330", real=5.105, kernel=0.000 (0%), user=0.000 (0%), both=0.000 (0%) 0:05.142 text2sip MonSock Deleting UDP socket 0x11bdbe0 0:05.142 text2sip PTLib Destroyed thread 0x11bddd8 Opal Listener:0x74645330(id = 74645330) 0:05.143 text2sip OpalEP local endpoint shutting down. 0:05.143 text2sip PTLib Destroying read/write mutex 0x11b8b18 0:05.143 text2sip PTLib Destroying read/write mutex 0x11b8970 0:05.144 text2sip SIP Transaction id=z9hG4bK3ea638f8-d82b-e911-9982-b827eb5f3167 destroyed. 0:05.144 text2sip PTLib Destroying read/write mutex 0x11c1738 0:05.144 text2sip Opal Transport clean up on termination 0:05.145 text2sip Opal Transport Close 0:05.145 text2sip Opal Transport clean up on termination 0:05.145 text2sip Opal Transport Close 0:05.145 text2sip Opal Deleted transport udp$192.168.2.59:5060<if=udp$:5060> 0:05.145 text2sip IfaceMon Awaiting thread termination 0:05.146 Network In...0x746c5330 IfaceMon Finished interface monitor thread. 0:05.146 Network In...0x746c5330 PWLib File handle low water mark set: 16 PTextFile 0:05.146 Network In...0x746c5330 PTLib Thread ended: name="Network Interface Monitor:0x746c5330", real=5.133, kernel=0.000 (0%), user=0.000 (0%), both=0.000 (0%) 0:05.156 text2sip PTLib Destroyed thread 0x11b9eb0 Network Interface Monitor:0x746c5330(id = 746c5330) 0:05.156 text2sip PTLib Destroying read/write mutex 0x11bd848 0:05.156 text2sip PTLib Destroying read/write mutex 0x11bf270 0:05.156 text2sip SIP Destroyed REGISTER handler for sip:99999@192.168.2.59 0:05.157 text2sip PTLib Destroying read/write mutex 0x11bdf78 0:05.157 text2sip OpalEP sip endpoint destroyed. 0:05.157 text2sip LocalEP Deleted endpoint. 0:05.157 text2sip OpalEP local endpoint destroyed. 0:05.158 Opal Garbage:0x74705330 PWLib File handle low water mark set: 9 PTextFile 0:05.158 Opal Garbage:0x74705330 PTLib Thread ended: name="Opal Garbage:0x74705330", real=5.147, kernel=0.000 (0%), user=0.000 (0%), both=0.000 (0%) 0:05.168 text2sip PTLib Destroyed thread 0x11b4630 Opal Garbage:0x74705330(id = 74705330) 0:05.168 text2sip OpalMan Deleted manager. 0:05.169 text2sip PTLib Destroying read/write mutex 0x11b3178 0:10.029 Housekeeper:0x74685330 Housekeeping thread ended 0:10.029 Housekeeper:0x74685330 PWLib File handle low water mark set: 6 PTextFile 0:10.030 Housekeeper:0x74685330 PTLib Thread ended: name="Housekeeper:0x74685330", real=10.015, kernel=0.000 (0%), user=0.000 (0%), both=0.000 (0%) 0:10.030 text2sip PTLib Destroyed thread 0x11ba078 Housekeeper:0x74685330(id = 74685330) 0:10.030 text2sip PTLib Destroyed PXConfig 0x11d5890 ################################ End job from /opt/loxberry/data/plugins/text2sip/wav/Text2SIP_YNpF.job.tsp

Den Call habe ich über die URL ausgelöst: http://192.168.2.55/plugins/text2sip/?mode=make_call&vg=1 -> Fehler

2019-02-10 20:37:51 Anfrage zum Abspielen von Ansage #1 2019-02-10 20:37:51 ERROR0005: Kann mich auf Port 5060 nicht zum SIP-Proxy verbinden. (192.168.2.59) 2019-02-10 20:37:59 [LOG] Show logfile

Von: Wörsty notifications@github.com Gesendet: Samstag, 9. Februar 2019 15:43 An: Woersty/LoxBerry-Plugin-Text2SIP LoxBerry-Plugin-Text2SIP@noreply.github.com Cc: Mirko Gründler mirko@gruendlers.net; Manual manual@noreply.github.com Betreff: Re: [Woersty/LoxBerry-Plugin-Text2SIP] Problem mit Grandstream HT 802 (#25)

Weiß ich gerade nicht. Aber das eine wird über Perl gemacht und das andere über PHP. Da scheint was schief zu gehen. Hast du es mal im Debug Modus versucht? Was steht dann im Log?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/Woersty/LoxBerry-Plugin-Text2SIP/issues/25#issuecomment-462050062, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AtQ5QTfLdCk3mvYw3b04iQXu7LKEB5SQks5vLt6RgaJpZM4axqk1.

Woersty commented 5 years ago

Es kommt keine Antwort. Das INVITE geht an 192.168.2.59 raus aber es kommt nix zurück. INVITE sip:123@192.168.2.59 SIP/2.0 CSeq: 1 INVITE Via: SIP/2.0/UDP 192.168.2.55:5060;branch=z9hG4bK544c3bf8-d82b-e911-9982-b827eb5f3167;rport User-Agent: text2sip/1.0.1 From: "192.168.2.55" <sip:99999@192.168.2.59>;tag=066a39f8-d82b-e911-9982-b827eb5f3167 Call-ID: 8a8639f8-d82b-e911-9982-b827eb5f3167@loxberry Supported: 100rel,replaces Organization: LoxBerry Text2SIP To: <sip:123@192.168.2.59> Contact: "192.168.2.55" <sip:99999@192.168.2.55> Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,SUBSCRIBE,NOTIFY,REFER,MESSAGE,INFO,PING,PRACK Content-Length: 193 Content-Type: application/sdp Max-Forwards: 70 v=0 o=- 1549827448 1 IN IP4 192.168.2.55 s=text2sip/1.0.1 c=IN IP4 192.168.2.55 t=0 0 m=audio 5000 RTP/AVP 8 0 a=sendrecv a=rtpmap:8 PCMA/8000/1 a=rtpmap:0 PCMU/8000/1 a=maxptime:240

Woersty commented 5 years ago

Wie sieht das Log vom "Test" aus (da wo es geht)?