Jean-Denis Girard
2013-Feb-11 04:18 UTC
[asterisk-users] [OT] Mediatrix Euro ISDN hangup problem
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi list, I'm getting a strange problem with a Mediatrix 3631 Gateway connected to the PSTN via an E1 PRI link configured for Euro ISDN signaling. The Mediatrix sends incoming calls from the PSTN to an Asterisk server via SIP: this works fine. But when the caller hangs up, the Mediatrix doesn't send "Bye" to Asterisk, so the call is not finished immediately from the Asterisk point of view: the delay is exactly 30 seconds. The telco made a trace on the ISDN, hangup is sent immediately, everything looks fine on their side. Then we took a trace on the gateway (see attached file). Line 345, ISDN "Disconnect" is received from the PSTN. According to the ISDN specs (and a trace I made on an Asterisk server connected via an ISDN card), I think the gateway should reply with a "Release", then the network would reply with "Release complete". But the Mediatrix never sends "Release". After 30 sec, the *network* sends "Release" (line 445), then the Mediatrix immediately sends "Release complete" (line 448). Then, the Mediatrix sends SIP / BYE (line 475), and Asterisk immediately hangs up. It seems to me that there is something wrong with the Mediatrix or am I wrong? It could obviously be a mistake in my configuration, but I could not find what is wrong. Has anyone successfully used a 3631 with Euro ISDN? Thanks, - -- Jean-Denis Girard SysNux Syst?mes Linux en Polyn?sie fran?aise sysnux.pf T?l: +689 50 10 40 / GSM: +689 79 75 27 -----BEGIN PGP SIGNATURE----- iEYEARECAAYFAlEYcRoACgkQuu7Rv+oOo/ixzACfQYghIjClC/sDIcBLB7Xp/VBI eFYAn17Kya8EIvAMF+xJvjmBTDfoMrWv =xc1L -----END PGP SIGNATURE----- -------------- next part -------------- A non-text attachment was scrubbed... Name: trace_Mediatrix_anon.txt.bz2 Type: application/x-bzip2 Size: 6031 bytes Desc: not available URL: <lists.digium.com/pipermail/asterisk-users/attachments/20130210/86702e09/attachment.bin>
On 11/02/2013 5.18, Jean-Denis Girard wrote:> The > Mediatrix sends incoming calls from the PSTN to an Asterisk server via > SIP: this works fine. But when the caller hangs up, the Mediatrix > doesn't send "Bye" to Asterisk, so the call is not finished immediately > from the Asterisk point of view: the delay is exactly 30 seconds.According to your logs the network sent a DISCONNECT message with progress indicator #8, so in this case is allowed not to release immediately but leave the user the opportunity to listen for tones/message. It's also allowed not to connect (or keep connected) the B channel then send a RELEASE then entering the release request state. May be this behaviour is configurable in the gateway?> Then we took a trace on the gateway (see attached file). Line 345, ISDN > "Disconnect" is received from the PSTN. According to the ISDN > specs (and a trace I made on an Asterisk server connected via an ISDN > card), I think the gateway should reply with a "Release", then the > network would reply with "Release complete". But the Mediatrix never > sends "Release". After 30 sec, the*network* sends "Release" (line 445), > then the Mediatrix immediately sends "Release complete" (line 448). > Then, the Mediatrix sends SIP / BYE (line 475), and Asterisk immediately > hangs up.I think the gateway is working in compliance to ETS 300 102-1 (5.3.4.1 Clearing when tones/announcements provided). 30 Sec. is the time assigned to T306 on the network side. The ETSI specification is available online for free. -- TeeBX VoIP communication platform (coming soon) code.google.com/p/teebx ----------------------------------------------- Lightweight++ Business Friendly++ Open++
Jean-Denis Girard
2013-Feb-11 16:01 UTC
[asterisk-users] [OT] Mediatrix Euro ISDN hangup problem
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Le 11/02/2013 03:44, giovanni.v a ?crit :> I think the gateway is working in compliance to ETS 300 102-1 (5.3.4.1 > Clearing when tones/announcements provided). 30 Sec. is the time > assigned to T306 on the network side.Ok, thanks for your analysis. So the solution would be that the network does not send the progress indicator in the Disconnect message, or find a configuration parameter on the gateway so that it ignores the progress indicator, right? Thanks, - -- Jean-Denis Girard SysNux Syst?mes Linux en Polyn?sie fran?aise sysnux.pf T?l: +689 50 10 40 / GSM: +689 79 75 27 -----BEGIN PGP SIGNATURE----- iEYEARECAAYFAlEZFccACgkQuu7Rv+oOo/g05ACfSCgt6+FVHSub4K1HMymJe6fx 7tkAnA/XWj9fC/xqNrv2+/THW+HfVt9T =2IzF -----END PGP SIGNATURE-----