[Freeswitch-dev] OpenZAP/Q.931 question
This one's probably for MikeJ... I am testing out the PRI on OpenZAP. My carrier doesn't support DMS100 so I'm using an Asterisk box to act as my telco. I'm set up on Asterisk with pri_net signaling in Zapata.conf, using the 24th channel as the D channel. I'm pretty sure that the D channels are communicating because I'm getting an error on the actual data sent. Here's what I see when I start up FS: 2007-11-02 22:39:46 [DEBUG] zap_isdn.c:223 zap_isdn_921_23() READ 13 ------------------------------------------------------------------------ -------- [08 02 00 00 46 18 03 a9 83 82 79 01 80] 2007-11-02 22:39:46 [DEBUG] zap_isdn.c:227 zap_isdn_921_23() 931 parse error [-3012] [Q931E_INVALID_CRV] If I read my Q931 specs properly, the data being sent over in this case is a RESTART (the 46 in 5th octet). Question: does the parse error indicate a setup issue or do you think possibly that Asterisk isn't necessarily a good way to emulate a telco PRI circuit? On a DMS100, what would the proper RESTART string look like coming from telco? Thanks, MC
Hi MC, [ 08 - Protocol Discriminator Q.931 02 - CRV header- CRV length is 2 octets 00 00 - CRV Send from Originating side. 46 - Message Type RESTART As the error message says - illegal CRV. RESTART uses the global CRV, so the message should have been 08 00 46 ... Simply - RESTART don't use a CRV because you don't restart a call. You restart an Interface - Calls are RELEASED. And I don't think FreeSWITCH support the later anyway, so we need to fix that. Jan -----Original Message----- From: freeswitch-dev-bounces@lists.freeswitch.org [mailto:freeswitch-dev-bounces@lists.freeswitch.org] On Behalf Of Michael Collins Sent: 3. november 2007 07:15 To: freeswitch-dev@lists.freeswitch.org Subject: [Freeswitch-dev] OpenZAP/Q.931 question This one's probably for MikeJ... I am testing out the PRI on OpenZAP. My carrier doesn't support DMS100 so I'm using an Asterisk box to act as my telco. I'm set up on Asterisk with pri_net signaling in Zapata.conf, using the 24th channel as the D channel. I'm pretty sure that the D channels are communicating because I'm getting an error on the actual data sent. Here's what I see when I start up FS: 2007-11-02 22:39:46 [DEBUG] zap_isdn.c:223 zap_isdn_921_23() READ 13 ------------------------------------------------------------------------ -------- [08 02 00 00 46 18 03 a9 83 82 79 01 80] 2007-11-02 22:39:46 [DEBUG] zap_isdn.c:227 zap_isdn_921_23() 931 parse error [-3012] [Q931E_INVALID_CRV] If I read my Q931 specs properly, the data being sent over in this case is a RESTART (the 46 in 5th octet). Question: does the parse error indicate a setup issue or do you think possibly that Asterisk isn't necessarily a good way to emulate a telco PRI circuit? On a DMS100, what would the proper RESTART string look like coming from telco? Thanks, MC _______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
Jan, Thanks for the reply. It turns out my configs were messed up. I am now up and running with working D-channels in a test environment. (See the other thread about Mikey's experimenting.) I'll have more questions in the near future, but I think I've got the Q.931 issue resolved by getting the correct configuration in place. -MC
-----Original Message----- From: freeswitch-dev-bounces@lists.freeswitch.org [mailto:freeswitch-dev- bounces@lists.freeswitch.org] On Behalf Of Jan Berger Sent: Monday, November 05, 2007 4:21 AM To: freeswitch-dev@lists.freeswitch.org Subject: Re: [Freeswitch-dev] OpenZAP/Q.931 question
Hi MC,
[ 08 - Protocol Discriminator Q.931 02 - CRV header- CRV length is 2 octets 00 00 - CRV Send from Originating side. 46 - Message Type RESTART
As the error message says - illegal CRV.
RESTART uses the global CRV, so the message should have been
08 00 46
...
Simply - RESTART don't use a CRV because you don't restart a call. You restart an Interface - Calls are RELEASED.
And I don't think FreeSWITCH support the later anyway, so we need to fix that.
Jan
-----Original Message----- From: freeswitch-dev-bounces@lists.freeswitch.org [mailto:freeswitch-dev-bounces@lists.freeswitch.org] On Behalf Of Michael Collins Sent: 3. november 2007 07:15 To: freeswitch-dev@lists.freeswitch.org Subject: [Freeswitch-dev] OpenZAP/Q.931 question
This one's probably for MikeJ...
I am testing out the PRI on OpenZAP. My carrier doesn't support DMS100 so I'm using an Asterisk box to act as my telco. I'm set up on Asterisk with pri_net signaling in Zapata.conf, using the 24th channel as the D channel. I'm pretty sure that the D channels are communicating because I'm getting an error on the actual data sent.
Here's what I see when I start up FS: 2007-11-02 22:39:46 [DEBUG] zap_isdn.c:223 zap_isdn_921_23() READ 13
------------------------------------------------------------------------
-------- [08 02 00 00 46 18 03 a9 83 82 79 01 80]
2007-11-02 22:39:46 [DEBUG] zap_isdn.c:227 zap_isdn_921_23() 931 parse error [-3012] [Q931E_INVALID_CRV]
If I read my Q931 specs properly, the data being sent over in this case is a RESTART (the 46 in 5th octet).
Question: does the parse error indicate a setup issue or do you think possibly that Asterisk isn't necessarily a good way to emulate a telco PRI circuit? On a DMS100, what would the proper RESTART string look like coming from telco?
Thanks, MC
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
participants (2)
-
Jan Berger
-
Michael Collins