cmpark
August 11, 2022, 1:46pm
1
HI, i have a little problem.
when using sip proxy, sip message looping.
M/G → SIP Proxy (INVITE)
SIP Proxy → SIP Server (INVITE)
SIP Server → SIP Proxy (INVITE destination endpoint)
but, sip proxy doesn’t send to endpoint. always send sip server, then loop
Can you see in the logs the endpoint actually registering to the SIP Proxy?
cmpark
August 12, 2022, 12:22am
3
Thanks hsujdik,
Register from endpoint message
03:42:05.167 SIPTR: Received [0,UDP] 615 bytes from 10.25.65.80:5060 <<<<<
REGISTER sip:sip.hmc.co.kr:5060 SIP/2.0
From: <sip:[email removed]>;tag=7ccd78-5041190a-13c4-55013-1b83-4e920c63-1b83
To: <sip:[email removed]>
Call-ID: 7dece0-5041190a-13c4-55013-1b83-6b396c75-1b83
CSeq: 2554 REGISTER
Via: SIP/2.0/UDP 10.25.65.80:5060;rport;branch=z9hG4bK-70fc-1b959bf-4dab7adc
Max-Forwards: 70
Supported: replaces,100rel,eventlist,timer
Allow: REGISTER, INVITE, ACK, BYE, REFER, NOTIFY, CANCEL, INFO, OPTIONS, PRACK, SUBSCRIBE, PUBLISH
User-Agent: AUDC-IPPhone/2.2.16.480.1 (420HDG-Rev2-AC494; 00908F9DE032)
Expires: 10
Contact: sip:3001@10.25.65.80:5060
Content-Length: 0
Endpoint : Audiocodes HD420
Endpoint IP : 10.25.65.80
Endpoint line number : 3001
SIP Proxy : 10.10.61.54 (sip.hmc.co.kr)
It looks like the From header is wrong. Should the From header be ‘3001@10.25.65.80’ ?
cmpark
August 12, 2022, 4:57am
4
I saw the tech tutorial and found out how the sip proxy determines the direction.
If the Via header matches the SIP Server, it is sent to the outside, otherwise it is sent to the SIP Server.
In my case, Via Header conatains ‘sip.hmc.co.kr’
and Configuration options ‘sip-address-srv=sip.hmc.co.kr’
Perhaps the SIP Proxy cannot do SRV Resolution.
Removed the option and routed normally.