[Asterisk-Users] zaphfc problem: overlapdial don't work after update bristuff

tuned at fan.priv.at tuned at fan.priv.at
Fri Sep 23 08:38:50 MST 2005


hello,

I patched it and now it works fine - thank you

  Best regards

  Andreas

On Fri, 23 Sep 2005, Johann Steinwendtner wrote:

> I had the same problem. It seems that a fix into bristuff for .at
> does not work very well.
> I 've patched chan_zap.c
>
> Best regards
>
> Hans
>
> old:
>                           } else {
>                           if (pri->nodetype == BRI_CPE) {
>                           /* fix for .at p2p bri lines */
>
> pri->pvts[chanpos]->exten[0] = 's';
>
> new:
>
>                           } else {
> 				if ((pri->nodetype == BRI_CPE) && 
> (!pri->overlapdial)) {
> 		           /* fix for .at p2p bri lines */
> 						    pri->pvts[chanpos]->exten[0] 
> = 's';
> 
> tuned at fan.priv.at schrieb:
>> hello,
>> 
>> I have a asterisk box (Slackware 9.1.0, Linux 2.4.31) connected to a 
>> Ericsson Businessphone PBX on the internal S0 bus with HFC-S card and 
>> zaphfc driver - point2point mode -.
>> 
>> 
>>   ---------
>>   | TELCO |
>>   |  BRI  |
>>   ---------
>>       |
>>       | PBX external S0
>>    --------
>>    | PBX  |
>>    --------
>>       | PBX internal P2P S0 NT Mode
>>       |
>>       | HFC-S Card P2P TE Mode
>>   ---------
>>   |   *   |
>>   |  BOX  |
>>   ---------
>> 
>> Since nearly one year it runs Asterisk 1.0.2-BRIstuffed-0.2.0-RC2b
>> fine. after dialing the internal S0 number (61) I get overlapdial and
>> dialtone.
>> 
>> [example dial the PBX S0 with Asterisk 1.0.2-BRIstuffed-0.2.0-RC2b]
>>     -- Accepting AUTHENTICATED call from 192.168.255.1, requested format = 
>> 8, actual format = 8
>>     -- Executing Dial("IAX2/ogo at call_saar/1", "Zap/g1/61|60") in new stack
>>     -- Called g1/61
>> Sep 23 10:27:50 NOTICE[229390]: chan_zap.c:8725 pri_dchannel: SETUP_ACK 
>> for 'Zap/1-1'
>>     -- Accepting overlap call from '' to '<unspecified>' on channel 0/2, 
>> span 1
>>     -- Starting simple switch on 'Zap/2-1'
>>                    ^^^^^^^^
>>                             here I get a dialtone from PBX and I can dial
>>                             start dialing for 8 seconds
>> 
>> for different reasons I tried to update on latest bristuff-0.2.0-RC8n.
>> after update the zaphfc overlap dial don't work anymore.
>> when I dial the S0 bus it jumps directly into 's' extension,
>> which does not exisist in the context and I get 'no number' from PBX.
>> 
>> zapata.conf:
>> ------------
>> [channels]
>> switchtype = euroisdn
>> signalling = bri_cpe
>> pridialplan=local
>> echocancel=yes
>> immediate=no
>> overlapdial=yes
>> group = 1
>> faxdetect=both
>> context=fromisdn
>> channel => 1-2
>> 
>> zaptel.conf:
>> ------------
>> loadzone=nl
>> defaultzone=nl
>> span=1,1,3,ccs,ami
>> bchan=1-2
>> dchan=3
>> 
>> extension.conf:
>> 
>> [fromisdn]
>> ; example dial to BRI on other location
>> exten => _0.,1,Dial(IAX2/call_saar/${EXTEN}@intern,60)
>> exten => _0.,2,Congestion
>> exten => _0.,102,Hangup
>> 
>> 
>> 
>> _______________________________________________
>> --Bandwidth and Colocation sponsored by Easynews.com --
>> 
>> Asterisk-Users mailing list
>> Asterisk-Users at lists.digium.com
>> http://lists.digium.com/mailman/listinfo/asterisk-users
>> To UNSUBSCRIBE or update options visit:
>>   http://lists.digium.com/mailman/listinfo/asterisk-users
>> 
>> 
>> 
>
>
>
> _______________________________________________
> --Bandwidth and Colocation sponsored by Easynews.com --
>
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>  http://lists.digium.com/mailman/listinfo/asterisk-users
>



More information about the asterisk-users mailing list