Ho configurato il mio primo gateway SPA3102 utilizzando il provisioning del 3cx.
Tutto funziona regolarmente in entrata, se arriva una telefonata sulla linea pstn mi suona l'interno ip che ho impostato come destinazione sul 3cx.
In uscita, pero', non riesco ad utilizzare la linea. Il telefono rimane muto per un po', e poi mi dice che il servizio non e' disponibile.
Domanda:
ma se volessi utilizzare il gateway sia per instradare le telefonate verso degli interni ip che poter far utilizzare la linea pstn anche in uscita dagli interni ip, devo configurare solo la parte PSTN-Line oppure anche la Line1 ??
Sono un po' confuso sulla logica dei gateway...... :?
Il gateway ha un ip privato e si trova dietro ad un router (messo in dmz).
Il 3cx si trova su ip pubblico su server dedicato (al di fuori della rete del gateway)
Il numero virtuale del gateway e': 10002
L'interno abilitato a ricevere ed uscire con quella linea e': 501
Il numero di telefono chiamato e': 347000000
Log del server acquisito durante la telefonata in uscita:
15:57:43.526 [CM503008]: Call(7): Call is terminated
15:57:43.526 [CM503015]: Call(7): Attempt to reach "347000000" failed. Reason: No Answer
15:57:43.526 [CM503003]: Call(7): Call to sip:347000000@IP_DEL_GATEWAY:5060 has failed; Cause: 408 Request Timeout; internal
15:57:11.401 [MS210006] C:7.2:Offer provided. Connection(by pass mode): IP_DEL_GATEWAY:64732(64733)
15:57:11.401 [CM503004]: Call(7): Calling: PSTNline:347000000@(Ln.10002@0123456 - SPA3102)@[Dev:sip:10002@IP_DEL_GATEWAY:5061]
15:57:11.386 [MS210000] C:7.1:Offer received. RTP connection: IP_DEL_GATEWAY:64732(64733)
15:57:11.386 [CM503010]: Making route(s) to "347000000"
15:57:11.386 Remote SDP is set for legC:7.1
15:57:11.386 [CM505001]: Ext.501: Device info: Device Identified: [Man: Counterpath;Mod: X-Lite;Rev: General] Capabilities:[reinvite, no-replaces, unable-no-sdp, recvonly] UserAgent: [X-Lite release 1100l stamp 47546] Transport: [sip:81.174.67.16:5060]
15:57:11.386 [CM503001]: Call(7): Incoming call from Ext.501 to "347000000"
15:57:11.370 [CM500002]: Info on incoming INVITE:
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP IP_DEL_GATEWAY:36569;branch=z9hG4bK-d8754z-a62da26d4e1aee0b-1---d8754z-;rport=36569
Max-Forwards: 70
Contact:
To: "347000000"
From: "ITGS";tag=15626325
Call-ID: ZGE5YzUyMzE5NjcyMjkyOWY4MDI3MDU0MTM4MTQyNTg.
CSeq: 2 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
Proxy-Authorization: Digest username="501",realm="3CXPhoneSystem",nonce="414d535bffe949b713:2577f7f0a436b572718b2488901957a8",uri="sip:[email protected]",response="2c22da1892dfc069375a42f17ab0b1f6",algorithm=MD5
User-Agent: X-Lite release 1100l stamp 47546
Content-Length: 0
================================================
Tutto funziona regolarmente in entrata, se arriva una telefonata sulla linea pstn mi suona l'interno ip che ho impostato come destinazione sul 3cx.
In uscita, pero', non riesco ad utilizzare la linea. Il telefono rimane muto per un po', e poi mi dice che il servizio non e' disponibile.
Domanda:
ma se volessi utilizzare il gateway sia per instradare le telefonate verso degli interni ip che poter far utilizzare la linea pstn anche in uscita dagli interni ip, devo configurare solo la parte PSTN-Line oppure anche la Line1 ??
Sono un po' confuso sulla logica dei gateway...... :?
Il gateway ha un ip privato e si trova dietro ad un router (messo in dmz).
Il 3cx si trova su ip pubblico su server dedicato (al di fuori della rete del gateway)
Il numero virtuale del gateway e': 10002
L'interno abilitato a ricevere ed uscire con quella linea e': 501
Il numero di telefono chiamato e': 347000000
Log del server acquisito durante la telefonata in uscita:
15:57:43.526 [CM503008]: Call(7): Call is terminated
15:57:43.526 [CM503015]: Call(7): Attempt to reach "347000000" failed. Reason: No Answer
15:57:43.526 [CM503003]: Call(7): Call to sip:347000000@IP_DEL_GATEWAY:5060 has failed; Cause: 408 Request Timeout; internal
15:57:11.401 [MS210006] C:7.2:Offer provided. Connection(by pass mode): IP_DEL_GATEWAY:64732(64733)
15:57:11.401 [CM503004]: Call(7): Calling: PSTNline:347000000@(Ln.10002@0123456 - SPA3102)@[Dev:sip:10002@IP_DEL_GATEWAY:5061]
15:57:11.386 [MS210000] C:7.1:Offer received. RTP connection: IP_DEL_GATEWAY:64732(64733)
15:57:11.386 [CM503010]: Making route(s) to "347000000"
15:57:11.386 Remote SDP is set for legC:7.1
15:57:11.386 [CM505001]: Ext.501: Device info: Device Identified: [Man: Counterpath;Mod: X-Lite;Rev: General] Capabilities:[reinvite, no-replaces, unable-no-sdp, recvonly] UserAgent: [X-Lite release 1100l stamp 47546] Transport: [sip:81.174.67.16:5060]
15:57:11.386 [CM503001]: Call(7): Incoming call from Ext.501 to "347000000"
15:57:11.370 [CM500002]: Info on incoming INVITE:
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP IP_DEL_GATEWAY:36569;branch=z9hG4bK-d8754z-a62da26d4e1aee0b-1---d8754z-;rport=36569
Max-Forwards: 70
Contact:
To: "347000000"
From: "ITGS";tag=15626325
Call-ID: ZGE5YzUyMzE5NjcyMjkyOWY4MDI3MDU0MTM4MTQyNTg.
CSeq: 2 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
Proxy-Authorization: Digest username="501",realm="3CXPhoneSystem",nonce="414d535bffe949b713:2577f7f0a436b572718b2488901957a8",uri="sip:[email protected]",response="2c22da1892dfc069375a42f17ab0b1f6",algorithm=MD5
User-Agent: X-Lite release 1100l stamp 47546
Content-Length: 0
================================================