tmakkonen / sipcmd

sipcmd
327 stars 108 forks source link

SIPcmd problem speech output #92

Open blacksun80 opened 2 months ago

blacksun80 commented 2 months ago

Hello, there is a problem with speech output when multiple network adapters are active. I also installed Docker. (interface docker0). sipcmd cannot handle this. See logs.

Can sipcmd be extended so that it binds the correct interface?

minRetry=default maxRetry=default compatibility=FullyCompliant 0:00.147 text2sip PTLib Created read/write mutex 0x55874e8588 0:00.147 text2sip PWLib File handle high water mark set: 29 PUDPSocket 0:00.148 text2sip SIP Constructed REGISTER handler for sip:loxberry@192.168.178.1 0:00.148 text2sip SIP Executing state change to Subscribing for REGISTER handler, target=sip:loxberry@192.168.178.1, id=b03b90ad-dd2f-ef11-9cee-e45f01176839@loxberry 0:00.148 text2sip SIP Changing REGISTER handler from Unavailable to Subscribing, target=sip:loxberry@192.168.178.1, id=b03b90ad-dd2f-ef11-9cee-e45f01176839@loxberry 0:00.149 text2sip PTLib Created read/write mutex 0x55874ea1f8 0:00.149 text2sip OpalUDP Binding to interface: 0.0.0.0:5060 0:00.149 text2sip SIP Created transport udp$192.168.178.1:5060 0:00.149 text2sip OpalUDP Started connect to 192.168.178.1:5060 0:00.149 text2sip OpalUDP Writing to interface 0 - "172.17.0.1%docker0" 0:00.151 text2sip OpalMan Listener interfaces: associated transport=udp$172.17.0.1:5060 udp$172.17.0.1:5060,udp$192.168.178.36:5060,udp$172.18.0.1:5060 0:00.152 text2sip PTLib Created read/write mutex 0x55874ed0a8 0:00.152 text2sip SIP Transaction created. 0:00.153 text2sip SIP Transaction remembering interface "172.17.0.1%docker0" 0:00.153 text2sip SIP Transaction remote address is udp$192.168.178.1:5060 0:00.154 text2sip SIP Sending PDU (641 bytes) to: rem=udp$192.168.178.1:5060,local=udp$172.17.0.1:5060,if=172.17.0.1%docker0 REGISTER sip:192.168.178.1 SIP/2.0 CSeq: 1 REGISTER

0:00.141 text2sip IfaceMon Initial interface list: 127.0.0.1 <00-00-00-00-00-00> (lo) 192.168.178.36 (eth0) 172.17.0.1 <02-42-1D-35-AC-89> (docker0) 172.18.0.1 <02-42-0D-66-6F-29> (br-5c52b7525cc9)

grafik