SIP examples not working

Gabriel T

Member
Hello again
while all streaming related seem to work properly, i cant get all SIP examples to work.
connection to my SIP account is fine apparently, but then i've never been able to place a call.

for example when using the phone UI example, call hangup immediatly.

here is an error i noticed in the logs: (replaced my sip phone number by 00xxxxxxx)

09:52:32,917 INFO WCS4Handler - WSS-pool-9-thread-8 Wrong invite params: Wrong invite params: InviteParams{caller='00xxxxxxx', callee='00xxxxxxx@sip.ovh.fr', displayName='00xxxxxxx', isValidUri=false, contactHeader=Contact: <sip:00xxxxxxx@MYSERVERIP:30005>

thank you !
 

Max

Administrator
Staff member
Callee parameter is incorrect.
Try with prefix "sip:"
Code:
callee='sip:00xxxxxxx@sip.ovh.fr'
or without SIP part at all
Code:
callee='00xxxxxxx'
 

Gabriel T

Member
see logs, specially this maybe:

11:22:05,541 INFO ergingDatagramSocket - MergingDatagramSocket reader thread for: /198.245.61.176:31322 -> null Failed to receive: java.net.SocketException: Socket closed

--------------------> ACK sip:0033979947113@sip.ovh.fr SIP/2.0
from: /SERVER IP:30006
to: /91.121.129.20:5060
time: 1498814525496
timeStamp:
isSender: true
transactionId: z9hg4bkabdd62546ecb05ce66754b83e0a730c8
callId: 8f2eb850-5d75-11e7-bbe2-3331109ef0b4

ACK sip:00xxxxx@sip.ovh.fr SIP/2.0
Call-ID: 8f2eb850-5d75-11e7-bbe2-3331109ef0b4
Max-Forwards: 70
From: "0033979947113" <sip:00xxxxx@sip.ovh.fr>;tag=a164615b
To: <sip:00xxxxx@sip.ovh.fr>;tag=00-25322-1e493015-0789311a3
Via: SIP/2.0/UDP 198.245.61.176:30006;branch=z9hG4bKabdd62546ecb05ce66754b83e0a730c8
CSeq: 1 ACK
Content-Length: 0


11:22:05,517 INFO ManagerApiConnection - pool-1-thread-6 Config for method ErrorStatusEvent not found, using defaults
11:22:05,538 INFO SipCallProcessor - pool-1-thread-6 terminate: sipCall.id=8f2eb850-5d75-11e7-bbe2-3331109ef0b4
11:22:05,538 INFO SipCallProcessor - pool-1-thread-6 Stop rtc media session id RTC-8f2eb850-5d75-11e7-bbe2-3331109ef0b4, sipCallId 8f2eb850-5d75-11e7-bbe2-3331109ef0b4
11:22:05,538 INFO Agent - pool-1-thread-6 ICE state changed from Waiting to Terminated. Local ufrag RTC-8f2eb850-5d75-11e7-bbe2-3331109ef0b42b0gs1bjs4tbug
11:22:05,539 INFO ergingDatagramSocket - pool-1-thread-6 Closing.
11:22:05,541 INFO ergingDatagramSocket - MergingDatagramSocket reader thread for: /198.245.61.176:31322 -> null Failed to receive: java.net.SocketException: Socket closed
11:22:05,541 INFO WCS4CallbackHandler - pool-1-thread-6 finish SipCall{id='8f2eb850-5d75-11e7-bbe2-3331109ef0b4', cost='', callee='00xxxxx', calleeVisibleName='<sip:00xxxxx@sip.ovh.fr>', caller='00xxxxx', callerVisibleName='00xxxxx', isVideoCall=false, incoming=false, terminated=true, state=FINISH, lastResponseStatusCode=403} 0033979947113@sip.ovh.fr
11:22:05,542 INFO Streams - pool-1-thread-6 unpublish name: IN_0033979947113_8f2eb850-5d75-11e7-bbe2-3331109ef0b4
11:22:05,542 INFO C - pool-1-thread-6 unpublish name: IN_0033979947113_8f2eb850-5d75-11e7-bbe2-3331109ef0b4
11:22:05,542 INFO ManagerApiConnection - pool-1-thread-6 Config for method CallStatusEvent not found, using defaults
11:22:05,562 INFO SipCall - pool-1-thread-6 cancelScheduleSessionRefresh
11:22:37,914 INFO SipUserAgentListener - EventScannerThread-22 processTransactionTerminated: javax.sip.TransactionTerminatedEvent[source=gov.nist.javax.sip.SipProviderImpl@54d22238]
 

mbedial

Member
Hi,
I have the same problem:

', visibleName='null', inviteParameters=null, mediaProvider='WebRTC', sipMessageRaw='null', isMsrp=false, target='null', holdForTransfer=false}
11:36:04,118 INFO WCS4Handler - API-ASYNC-pool-21-thread-6769 Wrong invite params: Wrong invite params: InviteParams{caller='918883334', callee='6980350@xxx.xxx.es', displayName='918883334', isValidUri=false, contactHeader=Contact: <sip:91888334@10.0.0.4:40222>
, isMsrp=false, localPort=0, isLocal=false, viaHeader=Via: SIP/2.0/UDP 10.0.0.4:40222

Did you fix it?
 

mbedial

Member
Thanks a lot,
we have modified it and it works!. However now we have a new issue that we have reported in other thread.

BR
Mario
 
Top