I have followed the 3CX guide for setting up the SPA-3102 to the letter. But in order to receive the caller id that arrives in the first few seconds via the Bell 202T modem modulation you must delay the answer.
So, I will show you successfull inbound call logs when the delay is set to ZERO and then I will show you the authentication failure when the delay is set high enough (3 seconds) to capture the inbound caller id number.
I presume my issue is with setting up some sort of wildcard/mask for incoming rules but I have tried numerous options without success.
Any help would be very much appreciated. BTW, My voip provider and DIDS are all working correctly. This analog gateway is installed to supplement the VOIP provider.
Here are the logs...
An example of failure when answer delay is set to 3 seconds...
- Code: Select all
00:12:09.312 [CM500002]: Unidentified incoming call. Review INVITE and adjust source identification:
INVITE sip:%3C10700@192.168.1.119 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.125:5060;branch=z9hG4bK-5f274305
Max-Forwards: 70
Contact: "SPA-3102"<sip:4165586275@192.168.1.125:5060>
To: <sip:%3C10700@192.168.1.119>
From: "SPA-3102"<sip:4165586275@192.168.1.119>;tag=4a7b115ca0b65edo1
Call-ID: 838f5d48-abbbaaf1@192.168.1.125
CSeq: 101 INVITE
Expires: 240
Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER
Supported: x-sipura, replaces
User-Agent: Linksys/SPA3102-5.1.10(GW)
Content-Length: 0
Remote-Party-ID: SPA-3102 <sip:4165586275@192.168.1.119>;screen=yes;party=calling
00:12:09.312 [CM302001]: Authorization system can not identify source of: SipReq: INVITE <10700@192.168.1.119 tid=-5f274305 cseq=INVITE contact=4165586275@192.168.1.125:5060 / 101 from(wire)
00:11:40.928 Currently active calls [none]
00:11:10.926 Currently active calls [none]
00:10:38.924 Currently active calls [none]
00:10:25.127 [CM503003]: Call(131): Call to sip:200@pbx.rsti.ca has failed; Cause: 487 Request Terminated; from IP:192.168.1.113:3412
00:10:25.029 [CM503008]: Call(131): Call is terminated
00:10:12.540 [CM505001]: Ext.200: Device info: Device Not Identified: User Agent not matched; Capabilities:[reinvite, replaces, able-no-sdp, recvonly] UserAgent: [snom-m9/9.5.7-a] PBX contact: [sip:200@192.168.1.119:5060]
00:10:12.539 [CM503002]: Call(131): Alerting sip:200@192.168.1.113:3412;transport=udp;line=3mdqy6
00:10:12.396 [CM503025]: Call(131): Calling Ext:Ext.200@[Dev:sip:200@192.168.1.113:3412;transport=udp;line=3mdqy6]
00:10:12.395 [MS210002] C:131.2:Offer provided. Connection(transcoding mode): 192.168.1.119:7280(7281)
00:10:12.371 [CM503004]: Call(131): Route 1: Ext:Ext.200@[Dev:sip:200@192.168.1.113:3412;transport=udp;line=3mdqy6]
00:10:12.370 [CM503010]: Making route(s) to <sip:200@192.168.1.119:5060>
00:10:12.369 [MS210000] C:131.1:Offer received. RTP connection: 192.168.1.125:16414(16415)
00:10:12.367 Remote SDP is set for legC:131.1
00:10:12.366 [CM505002]: Gateway:[Analog Outbound] Device info: Device Identified: [Man: Linksys;Mod: SPA Series;Rev: General] Capabilities:[reinvite, no-replaces, able-no-sdp, recvonly] UserAgent: [Linksys/SPA3102-5.1.10(GW)] PBX contact: [sip:10700@192.168.1.119:5060]
00:10:12.363 [CM503001]: Call(131): Incoming call from 10700@(Ln.10700@Analog Outbound) to <sip:200@192.168.1.119:5060>
00:10:12.345 [CM503012]: Inbound out-of-office hours rule (unnamed) for 10700 forwards to DN:200
00:10:12.344 Looking for inbound target: called=<10700; caller=10700
00:10:12.340 [CM500002]: Info on incoming INVITE:
INVITE sip:%3C10700@192.168.1.119 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.125:5060;branch=z9hG4bK-450b7316
Max-Forwards: 70
Contact: "SPA-3102"<sip:10700@192.168.1.125:5060>
To: <sip:%3C10700@192.168.1.119>
From: "SPA-3102"<sip:10700@192.168.1.119>;tag=2043379dd602dee2o1
Call-ID: b3291679-4d9d2db6@192.168.1.125
CSeq: 102 INVITE
Expires: 240
Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER
Proxy-Authorization: Digest username="10700",realm="3CXPhoneSystem",nonce="414d535c0532c2b495:62e039a7a22f2fe1ecefca70d7ac6edc",uri="sip:<10700@192.168.1.119",algorithm=MD5,response="776c4d3e2d681462bca89670c673d97d"
Supported: x-sipura, replaces
User-Agent: Linksys/SPA3102-5.1.10(GW)
Content-Length: 0
Remote-Party-ID: SPA-3102 <sip:10700@192.168.1.119>;screen=yes;party=calling
And then an example of success when answer delay is set to 0 seconds...
- Code: Select all
00:10:25.029 [CM503008]: Call(131): Call is terminated
00:10:12.540 [CM505001]: Ext.200: Device info: Device Not Identified: User Agent not matched; Capabilities:[reinvite, replaces, able-no-sdp, recvonly] UserAgent: [snom-m9/9.5.7-a] PBX contact: [sip:200@192.168.1.119:5060]
00:10:12.539 [CM503002]: Call(131): Alerting sip:200@192.168.1.113:3412;transport=udp;line=3mdqy6
00:10:12.396 [CM503025]: Call(131): Calling Ext:Ext.200@[Dev:sip:200@192.168.1.113:3412;transport=udp;line=3mdqy6]
00:10:12.395 [MS210002] C:131.2:Offer provided. Connection(transcoding mode): 192.168.1.119:7280(7281)
00:10:12.371 [CM503004]: Call(131): Route 1: Ext:Ext.200@[Dev:sip:200@192.168.1.113:3412;transport=udp;line=3mdqy6]
00:10:12.370 [CM503010]: Making route(s) to <sip:200@192.168.1.119:5060>
00:10:12.369 [MS210000] C:131.1:Offer received. RTP connection: 192.168.1.125:16414(16415)
00:10:12.367 Remote SDP is set for legC:131.1
00:10:12.366 [CM505002]: Gateway:[Analog Outbound] Device info: Device Identified: [Man: Linksys;Mod: SPA Series;Rev: General] Capabilities:[reinvite, no-replaces, able-no-sdp, recvonly] UserAgent: [Linksys/SPA3102-5.1.10(GW)] PBX contact: [sip:10700@192.168.1.119:5060]
00:10:12.363 [CM503001]: Call(131): Incoming call from 10700@(Ln.10700@Analog Outbound) to <sip:200@192.168.1.119:5060>
00:10:12.345 [CM503012]: Inbound out-of-office hours rule (unnamed) for 10700 forwards to DN:200
00:10:12.344 Looking for inbound target: called=<10700; caller=10700
00:10:12.340 [CM500002]: Info on incoming INVITE:
INVITE sip:%3C10700@192.168.1.119 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.125:5060;branch=z9hG4bK-450b7316
Max-Forwards: 70
Contact: "SPA-3102"<sip:10700@192.168.1.125:5060>
To: <sip:%3C10700@192.168.1.119>
From: "SPA-3102"<sip:10700@192.168.1.119>;tag=2043379dd602dee2o1
Call-ID: b3291679-4d9d2db6@192.168.1.125
CSeq: 102 INVITE
Expires: 240
Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER
Proxy-Authorization: Digest username="10700",realm="3CXPhoneSystem",nonce="414d535c0532c2b495:62e039a7a22f2fe1ecefca70d7ac6edc",uri="sip:<10700@192.168.1.119",algorithm=MD5,response="776c4d3e2d681462bca89670c673d97d"
Supported: x-sipura, replaces
User-Agent: Linksys/SPA3102-5.1.10(GW)
Content-Length: 0
Remote-Party-ID: SPA-3102 <sip:10700@192.168.1.119>;screen=yes;party=calling
So what do I need to put in the inbound rules section that might patch this up - even just a workaround.

