[ previous ] [ next ] [ threads ]
 To :  yate@v...
 From :  "lerto.chicco@t..." <lerto.chicco@t...>
 Subject :  R: [yate] Problem with Sangoma+Windows+Yate
 Date :  Mon, 22 Mar 2010 21:44:18 +0100 (CET)
I have tried to compile the wpcard module but it seems that the file 
wpcardw.cpp is not mantained and so the Sangoma cards are not supported 
on windows.

The first compilation problem is in the struct API_POLL_STRUCT that 
not contains the timeout field, in the WpSocket::select method.

The second problem that I found is the return value of WpInterface::
create method must be changed in SignallingComponent* instead of void 
*.
With these two changes, the wpcardw.cpp compile but yate fails to 
initialize the card.

I have see that the  WpInterface::create checks if the type is "sig" 
or "voice" but debugging the code, the value of type is 
"SignallingInterface" or "SignallingCircuitSpan" and so I have changed 
the first check in this method copying from wpcard.cpp. From the same 
file I have copied the value of sectName.

I have then changed the wpcard.conf file according with the code:

[general]

[wanpipe1]
type=E1
readonly=no
siggroup=if1
voicegroup=if2
voicechans=1-15.17-31
samples=50
echocancel=no
dtmfdetect=no

[wanpipe2]
type=E1
readonly=no
siggroup=if1
voicegroup=if2
voicechans=1-15.17-31
samples=50
echocancel=no
dtmfdetect=no

with this modification it seems that yate initialize correctely but 
doesn't works and there is an infinite and cpu consuming print as:

 Packet got error: 2 
(SANG_STATUS_RX_DATA_AVAILABLE) [02845EF0]
HERE - 1

on console.

Please, can anyone help me?

Thanks,

Lerto Chicco


----Messaggio originale----
Da: lerto.chicco@t...
Data: 21/03/2010 23.28
A: 
Ogg: [yate] Problem with Sangoma+Windows+Yate

I have a problem with an A102 Sangoma card on Windows with Yate 2.2.

I have insert the card and installed the Sangoma drivers (I have 
found only one version on Sangoma site, the 6.0.19.0).

I have connected the two E1 of A102 with a cross cable and 
configured 
the two ports with 2 groups of channels:

1: wanpipe1_IF1, Channels 16, HDLC, mtu 1500, mode API
2: wanpipe1_IF2, Channels 1-15.17-31, BitStream, mtu 1500, mode API
3: wanpipe2_IF1, Channels 16, HDLC, mtu 1500, mode API
4: wanpipe2_IF2, Channels 1-15.17-31, BitStream, mtu 1500, mode API

With wanpipemon I have verified that all alarm are OFF (ALOS, LOS, 
RED, AIS, LOF, RAI).

Then I have configured the file wpcard.conf as:

[general]

[wanpipe1]
type=E1
readonly=no
siggroup=wanpipe1_if1
voicegroup=wanpipe1_if2
voicechans=1-15.17-31
samples=50
echocancel=no
dtmfdetect=no

[wanpipe2]
type=E1
readonly=no
siggroup=wanpipe2_if1
voicegroup=wanpipe2_if2
voicechans=1-15.17-31
samples=50
echocancel=no
dtmfdetect=no

An I have configured the ysigchan.conf as:

[general]

[trunk1]
type=isdn-pri-net
switchtype=euro-isdn-e1
sig=wanpipe1
voice=wanpipe1
format=alaw

[trunk2]
type=isdn-pri-cpe
switchtype=euro-isdn-e1
sig=wanpipe2
voice=wanpipe2
format=alaw

But when I start Yate there are some errors:

 ISUP Call Controller pointcode-type=ITU 
format=alaw plan/type/pres/screen=unknown/unknown/allowed/user-
provided 
caller-category=ordinaryremote-pointcode=1-1-1 priority+SSF=128 
lockcircuits= userpartavail=false lockgroup=true [00689E28]

 ISUP Call Controller pointcode-type=ITU 
format=alaw plan/type/pres/screen=unknown/unknown/allowed/user-
provided 
caller-category=ordinaryremote-pointcode=1-1-1 priority+SSF=128 
lockcircuits= userpartavail=false lockgroup=true [00689FD0]

 Factory could not create 'SignallingCircuitSpan' named 
'trunk1/B/wanpipe1'

 Trunk('trunk1'). Create failure: Failed to build voice 
span 'wanpipe1' [006944D0]

 Failed to initialize trunk 'trunk1' of type 'isdn-pri-
net'

 Factory could not create 'SignallingCircuitSpan' named 
'trunk2/B/wanpipe2'

 Trunk('trunk2'). Create failure: Failed to build voice 
span 'wanpipe2' [006944D0]

 Failed to initialize trunk 'trunk2' of type 'isdn-pri-
cpe'

Initialization complete

Please, can anyone help me!
Thanks in advance,


Lerto Chicco


Presentaci un amico! Invita i tuoi amici a scoprire i servizi 
Tiscali: per ogni amico che attiverà un servizio Tiscali, potrai avere 
30 euro di sconto e lo stesso sconto di 30 euro verrà poi offerto al 
tuo amico. Scopri come! http://abbonati.tiscali.it/presentaci_un_amico/?
WT.mc_id=01fw




----Messaggio originale----
Da: lerto.chicco@t...
Data: 21/03/2010 23.28
A: 
Ogg: [yate] Problem with Sangoma+Windows+Yate

I have a problem with an A102 Sangoma card on Windows with Yate 2.2.

I have insert the card and installed the Sangoma drivers (I have 
found only one version on Sangoma site, the 6.0.19.0).

I have connected the two E1 of A102 with a cross cable and 
configured 
the two ports with 2 groups of channels:

1: wanpipe1_IF1, Channels 16, HDLC, mtu 1500, mode API
2: wanpipe1_IF2, Channels 1-15.17-31, BitStream, mtu 1500, mode API
3: wanpipe2_IF1, Channels 16, HDLC, mtu 1500, mode API
4: wanpipe2_IF2, Channels 1-15.17-31, BitStream, mtu 1500, mode API

With wanpipemon I have verified that all alarm are OFF (ALOS, LOS, 
RED, AIS, LOF, RAI).

Then I have configured the file wpcard.conf as:

[general]

[wanpipe1]
type=E1
readonly=no
siggroup=wanpipe1_if1
voicegroup=wanpipe1_if2
voicechans=1-15.17-31
samples=50
echocancel=no
dtmfdetect=no

[wanpipe2]
type=E1
readonly=no
siggroup=wanpipe2_if1
voicegroup=wanpipe2_if2
voicechans=1-15.17-31
samples=50
echocancel=no
dtmfdetect=no

An I have configured the ysigchan.conf as:

[general]

[trunk1]
type=isdn-pri-net
switchtype=euro-isdn-e1
sig=wanpipe1
voice=wanpipe1
format=alaw

[trunk2]
type=isdn-pri-cpe
switchtype=euro-isdn-e1
sig=wanpipe2
voice=wanpipe2
format=alaw

But when I start Yate there are some errors:

 ISUP Call Controller pointcode-type=ITU 
format=alaw plan/type/pres/screen=unknown/unknown/allowed/user-
provided 
caller-category=ordinaryremote-pointcode=1-1-1 priority+SSF=128 
lockcircuits= userpartavail=false lockgroup=true [00689E28]

 ISUP Call Controller pointcode-type=ITU 
format=alaw plan/type/pres/screen=unknown/unknown/allowed/user-
provided 
caller-category=ordinaryremote-pointcode=1-1-1 priority+SSF=128 
lockcircuits= userpartavail=false lockgroup=true [00689FD0]

 Factory could not create 'SignallingCircuitSpan' named 
'trunk1/B/wanpipe1'

 Trunk('trunk1'). Create failure: Failed to build voice 
span 'wanpipe1' [006944D0]

 Failed to initialize trunk 'trunk1' of type 'isdn-pri-
net'

 Factory could not create 'SignallingCircuitSpan' named 
'trunk2/B/wanpipe2'

 Trunk('trunk2'). Create failure: Failed to build voice 
span 'wanpipe2' [006944D0]

 Failed to initialize trunk 'trunk2' of type 'isdn-pri-
cpe'

Initialization complete

Please, can anyone help me!
Thanks in advance,


Lerto Chicco


Presentaci un amico! Invita i tuoi amici a scoprire i servizi 
Tiscali: per ogni amico che attiverà un servizio Tiscali, potrai avere 
30 euro di sconto e lo stesso sconto di 30 euro verrà poi offerto al 
tuo amico. Scopri come! http://abbonati.tiscali.it/presentaci_un_amico/?
WT.mc_id=01fw





Presentaci un amico! Invita i tuoi amici a scoprire i servizi Tiscali: per ogni amico che attiverà un servizio Tiscali, potrai avere 30 euro di sconto e lo stesso sconto di 30 euro verrà poi offerto al tuo amico. Scopri come! http://abbonati.tiscali.it/presentaci_un_amico/?WT.mc_id=01fw