Asterisk and NCS-Patch with SBV5121e | docsis.org

You are here

Asterisk and NCS-Patch with SBV5121e

9 posts / 0 new
Last post
schirrmeister
Asterisk and NCS-Patch with SBV5121e

Hi,

at this time we're Implementing our VoIP-Lab.

Our Setup:

Docsis_Server +opt122-patch -> Provisioning
BSR2000 -> CMTS
SBV5121E -> eMTA CableModems
Asterisk +ncs-patch -> VoipGW

The provisioing runs very well and the Cablemodems register with Asterisk.

We can call different eMTAs and Lines but there are no voice-flows established.

Our Asterisk-Configuration:

=mgcp.conf=

[general]
port = 2427
disallow=all
allow=alaw

[FQDN1]
wcardep => aaln/*
singlepath=no
context=from-mgcp
host=192.168.5.2
cancallforward=no
transfer=no
threewaycalling=no
callwaiting=no
canreinvite=no
dtmfmode=hybrid
ncs=1 ;
callerid="20" <20>
line=aaln/1
callerid="21" <21>
line=aaln/2

[FQDN2]
wcardep => aaln/*
singlepath=no
context=from-mgcp
host=192.168.5.3
cancallforward=no
callwaiting=no
transfer=no
threewaycalling=no
canreinvite=no
dtmfmode=hybrid
ncs=1 ;
callerid="24" <24>
line=aaln/1
callerid="25" <25>
line=aaln/2

=extensions.conf=

[from-mgcp]
exten => 20,1,Dial(MGCP/aaln/1@FQDN1)
exten => 21,1,Dial(MGCP/aaln/2@FQDN1)
exten => 24,1,Dial(MGCP/aaln/1@FQDN2)
exten => 25,1,Dial(MGCP/aaln/2@FQDN2)

Did someone get asterisk running mgcp with sbv5121e?

Thank you
regards
Benedikt

cabo81
Any luck?

I'm in same issue here. Could you post your eMTA config file and Asterisk config for guidance?

Thanks in advance.

schirrmeister
Hi cabo81,

Hi cabo81,

the Asterisk-config is listed above. It is mostly the same in Asterisk 1.8.

This is the MTA-Config
Main
{
MtaConfigDelimiter 1;
VendorSpecific
{
VendorIdentifier 0x002040;
GenericTLV TlvCode 126 TlvLength 1 TlvValue 0x02;
GenericTLV TlvCode 128 TlvString "DE"; /* tlv length = 2 */
}
SnmpMibObject pktcMtaDevEnabled.0 Integer 1; /* true */
SnmpMibObject pktcMtaDevRealmOrgName.1 String "cableProvider" ;
SnmpMibObject pktcMtaDevRealmName.1 String "TCOMLABS.COM" ;
SnmpMibObject pktcNcsEndPntConfigCallAgentId.9 String "[192.168.3.101]" ;
SnmpMibObject pktcNcsEndPntConfigCallAgentId.10 String "[192.168.3.101]" ;
SnmpMibObject pktcMtaDevCmsKerbRealmName.1 String "TCOMLABS.COM" ;
SnmpMibObject pktcMtaDevCmsFqdn.1 String "192.168.3.101" ;
SnmpMibObject pktcMtaDevCmsIpsecCtrl.1 Integer 2; /* false */
SnmpMibObject pktcNcsEndPntConfigMWD.9 Gauge32 10 ;
SnmpMibObject pktcNcsEndPntConfigMWD.10 Gauge32 10 ;
SnmpMibObject ifAdminStatus.9 Integer 1; /* up */
SnmpMibObject ifAdminStatus.10 Integer 1; /* up */
SnmpMibObject pktcNcsEndPntConfigCallAgentUdpPort.9 Gauge32 2427 ;
SnmpMibObject pktcNcsEndPntConfigCallAgentUdpPort.10 Gauge32 2427 ;
MtaConfigDelimiter 255;
}

I never got it working correctly.

regards,
Benedikt

mdulaj
can you please send me the cfg file for modem SBV5120 E

I have a cfg file, it works, but I need a cfg file with MTA- config

mdulaj @ hotmail . com

best regards

Gloochy
still got problems

Hi everyone,

since few days I"ve been trying to run SBV5121E (with Asterisk) - unfortunately without success.
Everything goes fine until MTA TFTP phase - here modem says:
Telephony DHCP Completed
Telephony TFTP Failed
Telephony Provisioning State Failure: Configuration File Error

and in logs I get:

2011-10-12 12:33:17 2-Major 4000951502 Provisioning Complete - Fail
2011-10-12 12:33:17 2-Major 4000950904 Configuration File Error - Missing Parameter
2011-10-12 12:33:17 2-Major 4000950904 Configuration File Error - Missing Parameter

my present MTA cfg is:
Main
{
MtaConfigDelimiter 1;

SnmpMibObject ifAdminStatus.9 Integer 1; /* up */
SnmpMibObject ifAdminStatus.10 Integer 2; /* down */

SnmpMibObject pktcMtaDevEnabled.0 Integer 1; /* true */
SnmpMibObject pktcMtaDevRealmOrgName.1 String "vlabs" ;
SnmpMibObject pktcMtaDevRealmName.1 String "VLABS.ORG" ;

SnmpMibObject pktcNcsEndPntConfigCallAgentId.9 String "ca@beta.vlabs.org" ;
SnmpMibObject pktcNcsEndPntConfigCallAgentId.10 String "ca@beta.vlabs.org" ;
SnmpMibObject pktcMtaDevCmsKerbRealmName.1 String "VLABS.ORG" ;
SnmpMibObject pktcMtaDevCmsFqdn.1 String "beta.vlabs.org" ;

SnmpMibObject pktcNcsEndPntConfigMWD.9 Integer 10 ;
SnmpMibObject pktcNcsEndPntConfigMWD.10 Integer 10 ;
SnmpMibObject pktcNcsEndPntConfigCallAgentUdpPort.9 Integer 2727 ;
SnmpMibObject pktcNcsEndPntConfigCallAgentUdpPort.10 Integer 2727 ;

/* SnmpMibObject pktcMtaDevProvConfigHash.0 HexString 0x59a0d728240abc28df9d75055af9d86824178e48 ;*/

MtaConfigDelimiter 255;
}

and for CM:
Main
{
NetworkAccess 1;
SnmpMibObject docsDevNmAccessIp.1 IPAddress 255.255.255.255 ;
SnmpMibObject docsDevNmAccessIpMask.1 IPAddress 255.255.255.255 ;
SnmpMibObject docsDevNmAccessControl.1 Integer 3; /* readWrite */
SnmpMibObject docsDevNmAccessInterfaces.1 String "@" ;
SnmpMibObject docsDevNmAccessStatus.1 Integer 4; /* createAndGo */
SnmpMibObject docsDevNmAccessCommunity.1 String "public" ;
SnmpMibObject ifAdminStatus.1 Integer 1; /* up */
SnmpMibObject ifAdminStatus.5 Integer 1; /* up */

MaxCPE 2;

GlobalPrivacyEnable 0;

VendorSpecific
{
VendorIdentifier 0x002040;
GenericTLV TlvCode 125 TlvLength 15 TlvValue 0x667265643A63535253636464516452;
GenericTLV TlvCode 161 TlvLength 1 TlvValue 0x00;
GenericTLV TlvCode 168 TlvLength 1 TlvValue 0x01;
}

UsServiceFlow
{
UsServiceFlowRef 1;
QosParamSetType 7;
TrafficPriority 1;
MaxRateSustained 50000000;
}

DsServiceFlow
{
DsServiceFlowRef 2;
QosParamSetType 7;
TrafficPriority 1;
MaxRateSustained 20000000;
}

}

Any onf got idea why it isn't working ?

I use BASIC.1 provisioning and Asterisk as CA

best regards,
G.

Gloochy
update

can someone advise how proper Asterisk config for NCS shall looks like ?

I think it can be root cause here...

best regards
G.

mbowe
Asterisk is not the problem,

Asterisk is not the problem, the MTA is complaining it's missing required config

I know a fair bit about SIP MTA provisioning, but not much about NCS

Just wondering why you are using NCS rather than SIP ?

micabu
Config

Hi,

please add the following lines into your config-file:

For DOCSIS:

SnmpMibObject enterprises.4491.2.2.1.1.1.7.0 Integer 1;
SnmpMibObject enterprises.4491.2.2.1.1.3.16.1.4.'IPFONIX.COM' String "Really Amazing Telephone Company" ;
SnmpMibObject enterprises.4491.2.2.1.1.3.17.1.2.'ASTERISK.NGN.LAB' String "IPFONIX.COM" ;
SnmpMibObject enterprises.4491.2.2.1.1.3.17.1.10.'ASTERISK.NGN.LAB' Integer 2 ;
Or for Euro-DOCSIS:

SnmpMibObject enterprises.7432.1.1.1.6.0 Integer 1;
SnmpMibObject enterprises.7432.1.1.3.6.1.2.1 String "ASTERISK.NGN.LAB" ;
SnmpMibObject enterprises.7432.1.1.3.8.1.2.1 String "ASTERISK.NGN.LAB" ;
SnmpMibObject enterprises.7432.1.1.3.8.1.3.1 String "ASTERISK.NGN.LAB" ;
SnmpMibObject enterprises.7432.1.1.3.6.1.5.1 String "cableProvider" ;
SnmpMibObject enterprises.7432.1.1.3.8.1.9.1 Integer 2 ;

BR,
Michael

Gloochy
SBV5121E

After many tries, I've made one step futher.

When I dial numbers, the dialled endpoint is ringing, but after I pick up the phone nothing can be heared.
I've checked CMTS (C4) and it shows that UGSs are created, but I can't hear anything.

In addition - after I put down the phones (call is finished) UGSs are still active.

Wireshark shows that connection is created and UDP packets are being sent but:
- I can hear nothing (it looks like voice is not transmitted)
- after finishing a call UDP packets are still sent by moto

my config is:
CA: Asterisk 1.4 + NCS patch
EuroDOCSIS / EuroPacketCable
CMTS: C4
MTA: Moto SBV5121E

Any one got idea :)?

Best regards
G.

Log in or register to post comments