- Joined
- Jun 26, 2010
- Messages
- 149
- Reaction score
- 1
Hi,
I am trying to use one feature from DD-WRT router firmware called "SIP Proxy". This feature is used to avoid the use of bandwith to SIP Server on local calls.
Please read here do understand http://wiki.milkfish.org.sipwerk.com/in ... ndExamples .
So, after enable it and set my ATAs device to use the outbound proxy to point to DD-WRT I am having some issues.
I can dial locally from one extension to another (remote extensions on VPN client house), but when I try to reach the other extensions or gateway (on VPN Server and SIP Server side)I receive the following message:
"[CM503013]: Call(C:1248): Incoming call rejected, caller is unknown; msg=Invite-IN Recv Req INVITE from"
Here is the message from 3CX log:
And here is the log from it working without SIP PROXY (removing outbound proxy from ATA):
I am trying to use one feature from DD-WRT router firmware called "SIP Proxy". This feature is used to avoid the use of bandwith to SIP Server on local calls.
Please read here do understand http://wiki.milkfish.org.sipwerk.com/in ... ndExamples .
So, after enable it and set my ATAs device to use the outbound proxy to point to DD-WRT I am having some issues.
I can dial locally from one extension to another (remote extensions on VPN client house), but when I try to reach the other extensions or gateway (on VPN Server and SIP Server side)I receive the following message:
"[CM503013]: Call(C:1248): Incoming call rejected, caller is unknown; msg=Invite-IN Recv Req INVITE from"
Here is the message from 3CX log:
Code:
03-ago-2016 16:51:30.323 [CM502001]: Source info: From: <sip:[email protected];user=phone>;tag=0c3314de4c336d13; To: <sip:[email protected];user=phone>
03-ago-2016 16:51:30.323 [CM503013]: Call(C:1249): Incoming call rejected, caller is unknown; msg=Invite-IN Recv Req INVITE from 10.1.1.18:5060 tid=534a.cbcf3f74.0 [email protected]:
INVITE sip:[email protected];user=phone SIP/2.0
Via: SIP/2.0/UDP 10.1.1.18;branch=z9hG4bK534a.cbcf3f74.0
Via: SIP/2.0/UDP 192.168.11.68;branch=z9hG4bK76326412b3a279a1
Max-Forwards: 69
Record-Route: <sip:10.1.1.18;r2=on;ftag=0c3314de4c336d13;lr=on>
Record-Route: <sip:192.168.11.65;r2=on;ftag=0c3314de4c336d13;lr=on>
Contact: <sip:[email protected]:5060;user=phone>
To: <sip:[email protected];user=phone>
From: <sip:[email protected];user=phone>;tag=0c3314de4c336d13
Call-ID: [email protected]
CSeq: 9416 INVITE
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, INFO, SUBSCRIBE, UPDATE
Content-Type: application/sdp
Proxy-Authorization: Digest username="111",realm="3CXPhoneSystem",algorithm=MD5,uri="sip:[email protected];user=phone",nonce="414d535c0db2dc4202:e44782edf4d1171278282ad410b7b458",response="7ed0a00a0e6a2fc6dc431fe5c4d60864"
Supported: replaces, timer
User-Agent: Grandstream HT487 1.1.0.45 DevId 000b82091fd3
Content-Length: 376
v=0
o=111 8000 8001 IN IP4 192.168.11.68
s=SIP Call
c=IN IP4 10.1.1.18
t=0 0
m=audio 41456 RTP/AVP 0 8 4 18 2 97 101
a=sendrecv
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:4 G723/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:2 G726-32/8000
a=rtpmap:97 iLBC/8000
a=fmtp:97 mode=20
a=ptime:20
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
03-ago-2016 16:51:30.115 [CM500002]: Unidentified incoming call. Review INVITE and adjust source identification:
Invite-UNK Recv Req INVITE from 10.1.1.18:5060 tid=834a.9e92a964.0 [email protected]:
INVITE sip:[email protected];user=phone SIP/2.0
Via: SIP/2.0/UDP 10.1.1.18;branch=z9hG4bK834a.9e92a964.0
Via: SIP/2.0/UDP 192.168.11.68;branch=z9hG4bK825ff1d42c8acc6a
Max-Forwards: 69
Record-Route: <sip:10.1.1.18;r2=on;ftag=0c3314de4c336d13;lr=on>
Record-Route: <sip:192.168.11.65;r2=on;ftag=0c3314de4c336d13;lr=on>
Contact: <sip:[email protected]:5060;user=phone>
To: <sip:[email protected];user=phone>
From: <sip:[email protected];user=phone>;tag=0c3314de4c336d13
Call-ID: [email protected]
CSeq: 9415 INVITE
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, INFO, SUBSCRIBE, UPDATE
Content-Type: application/sdp
Supported: replaces, timer
User-Agent: Grandstream HT487 1.1.0.45 DevId 000b82091fd3
Content-Length: 376
v=0
o=111 8000 8000 IN IP4 192.168.11.68
s=SIP Call
c=IN IP4 10.1.1.18
t=0 0
m=audio 41456 RTP/AVP 0 8 4 18 2 97 101
a=sendrecv
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:4 G723/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:2 G726-32/8000
a=rtpmap:97 iLBC/8000
a=fmtp:97 mode=20
a=ptime:20
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
And here is the log from it working without SIP PROXY (removing outbound proxy from ATA):
Code:
03-ago-2016 16:53:06.815 [CM503007]: Call(C:1250): Extn:111 has joined, contact <sip:[email protected]:5060>
03-ago-2016 16:53:06.813 L:1250.2[Line:10000>>10314] has joined to L:1250.1[Extn]
03-ago-2016 16:53:06.813 [CM505002]: Gateway:[JVL - 34260694] Device info: Device Not Identified: User Agent not matched; Capabilities:[reinvite, replaces, able-no-sdp, recvonly] UserAgent: [OBIHAI/OBi110-1.3.0.2872] PBX contact: [sip:[email protected]:5060]
03-ago-2016 16:53:04.357 [CM503025]: Call(C:1250): Calling T:Line:10000>>10314@[Dev:sip:[email protected]:5060] for L:1250.1[Extn]
03-ago-2016 16:53:04.318 [CM503027]: Call(C:1250): From: Extn:111 (<sip:[email protected]:5060>) to T:Line:10000>>10314@[Dev:sip:[email protected]:5060]
03-ago-2016 16:53:04.318 [CM503004]: Call(C:1250): Route 1: from L:1250.1[Extn] to T:Line:10000>>10314@[Dev:sip:[email protected]:5060]
03-ago-2016 16:53:04.318 Line limit check: Current # of calls for line Lc:10000(@JVL - 34260694[<sip:[email protected]:5060>]) is 0; limit is 1
03-ago-2016 16:53:04.318 Call(C:1250): Call from Extn:111 to 010314 matches outbound rule 'Regras para JVL - 34260694'
03-ago-2016 16:53:04.316 [CM503001]: Call(C:1250): Incoming call from Extn:111 to <sip:[email protected]:5060>
03-ago-2016 16:52:54.679 [CM504001]: Endpoint Extn:111: new contact is registered. Contact(s): [sip:[email protected]:5060 / 111]
03-ago-2016 16:51:30.357 Leg L:1249.1[Unknown:] is terminated: Cause: BYE from PBX