Francesco Peeters
2005-Nov-15 14:58 UTC
[Asterisk-Users] Anyone got zaphfc running 2 cards with NT and TE simultaneously?
I am trying to set up the following: Asterisk Server (1.0.9-stable) with BriStuff (0.2.0.RC8j) and florz patch 2 HFC cards (cologne chip) I want to connect 1 to the ISDN net (TE) and to the other connect the old Siemens Gigaset 4135 (NT mode) I have tried loading zaphfc.0 with modes=1, modes=2 and modes=3 I have tried changing zapata.conf with different combinations of bri_cpe_ptmp and bri_net_ptmp It makes no apparent difference whether I insmod zaphfc.o with modes=1/2/3 It does make a difference whether I use signalling=bri_cpe_ptmp or signalling=bri_net_ptmp. When both groups are set for cpe, asterisk recognizes the cards, and has the bri commands (try 'help bri' from the CLI) available. When intermixing net and cpe, or just using net, asterisk no longer sees it has bri cards, and therefore doesn't have the bri commands available... Find below the zaptel and zapata config... (Note that this is simply the latest version, with both set to cpe. This was changed as appropriate while testing) TIA! -- Francesco Peeters ---- GPG Key = AA69 E7C6 1D8A F148 160C D5C4 9943 6E38 D5E3 7704 If your program doesn't recognize my signature, please visit http://www.CAcert.org/index.php?id=3 to retrieve the Root CA certificate. ---- zaptel.conf ---- # hfc-s pci a span definition # most of the values should be bogus because we are not really zaptel loadzone=nl defaultzone=nl span=1,1,3,ccs,ami bchan=1-2 dchan=3 span=2,1,3,ccs,ami bchan=4-5 dchan=6 ---- end of zaptel.conf ---- ---- zapata.conf ---- ; ; Zapata telephony interface ; ; Configuration file [channels] ; ; Default language ; ;language=en ; ; Default context ; ; switchtype = euroisdn ; p2mp TE mode ;signalling = bri_cpe_ptmp ; p2p TE mode ;signalling = bri_cpe ; p2mp NT mode signalling = bri_net_ptmp ; p2p NT mode ;signalling = bri_net pridialplan = dynamic prilocaldialplan = local nationalprefix = 0 internationalprefix = 00 echocancel=yes echotraining = 100 echocancelwhenbridged=yes immediate=yes signalling = bri_cpe_ptmp group = 1,3 context=demo channel => 1-2 signalling = bri_cpe_ptmp group = 2,3 context=demo channel => 4-5 ---- end of zapata.conf ----
Francesco Peeters
2005-Nov-16 09:44 UTC
[Asterisk-Users] Anyone got zaphfc running 2 cards with NT and TE simultaneously?
As I have not seen my post show up in my mail-client, I am resending it to be sure it arrives on the list. My apologies if it is a double-post!... ---------------------------------------- I am trying to set up the following: Asterisk Server (1.0.9-stable) with BriStuff (0.2.0.RC8j) and florz patch 2 HFC cards (cologne chip) I want to connect 1 to the ISDN net (TE) and to the other connect the old Siemens Gigaset 4135 (NT mode) I have tried loading zaphfc.0 with modes=1, modes=2 and modes=3 I have tried changing zapata.conf with different combinations of bri_cpe_ptmp and bri_net_ptmp It makes no apparent difference whether I insmod zaphfc.o with modes=1/2/3 It does make a difference whether I use signalling=bri_cpe_ptmp or signalling=bri_net_ptmp. When both groups are set for cpe, asterisk recognizes the cards, and has the bri commands (try 'help bri' from the CLI) available. When intermixing net and cpe, or just using net, asterisk no longer sees it has bri cards, and therefore doesn't have the bri commands available... Find below the zaptel and zapata config... (Note that this is simply the latest version, with both set to cpe. This was changed as appropriate while testing) TIA! -- Francesco Peeters ---- GPG Key = AA69 E7C6 1D8A F148 160C D5C4 9943 6E38 D5E3 7704 If your program doesn't recognize my signature, please visit http://www.CAcert.org/index.php?id=3 to retrieve the Root CA certificate. ---- zaptel.conf ---- # hfc-s pci a span definition # most of the values should be bogus because we are not really zaptel loadzone=nl defaultzone=nl span=1,1,3,ccs,ami bchan=1-2 dchan=3 span=2,1,3,ccs,ami bchan=4-5 dchan=6 ---- end of zaptel.conf ---- ---- zapata.conf ---- ; ; Zapata telephony interface ; ; Configuration file [channels] ; ; Default language ; ;language=en ; ; Default context ; ; switchtype = euroisdn ; p2mp TE mode ;signalling = bri_cpe_ptmp ; p2p TE mode ;signalling = bri_cpe ; p2mp NT mode signalling = bri_net_ptmp ; p2p NT mode ;signalling = bri_net pridialplan = dynamic prilocaldialplan = local nationalprefix = 0 internationalprefix = 00 echocancel=yes echotraining = 100 echocancelwhenbridged=yes immediate=yes signalling = bri_cpe_ptmp group = 1,3 context=demo channel => 1-2 signalling = bri_cpe_ptmp group = 2,3 context=demo channel => 4-5 ---- end of zapata.conf ----