[asterisk-r2] OpenR2 and NEC

Pedro Bastos pedro at pontonet.com
Mon Dec 7 11:27:42 CST 2009


Hello Melcon,

Any news?


Pedro

On Fri, Dec 4, 2009 at 11:04 AM, Pedro Bastos <pedro at pontonet.com> wrote:
> I am sorry.
>
> Now the complete one:
>
> Originating call
> http://pastebin.com/m6730d91e
> Receiving call
> http://pastebin.com/d417e2694
>
> The scenario is: A place a call from PSTN to B in legacy PBX.
>
> This is my system.conf file:
>
> [root at pbx-ip1 dahdi]# more system.conf
> dynamic=ethmf,eth1/00:50:C2:65:D8:1C/0,31,0
> dynamic=ethmf,eth1/00:50:C2:65:D8:1C/1,31,0
> dynamic=ethmf,eth1/00:50:C2:65:D8:1C/2,31,1
> dynamic=ethmf,eth1/00:50:C2:65:D8:1C/3,31,1
>
> # porta 1
> cas=1-15:1101
> cas=17-31:1101
>
> # porta 2
> cas=32-46:1101
> cas=48-62:1101
>
> # porta 3
> cas=63-77:1100
> cas=79-93:1100
>
> # porta 4
> cas=94-108:1101
> cas=110-124:1101
>
> loadzone = br
> defaultzone = br
>
> alaw=1-124
>
> This is my chan_dahdi.conf
>
> [root at pbx-ip1 asterisk]# more chan_dahdi.conf
> [channels]
> usecallerid=yes
> callwaiting=no
> usecallingpres=no
> callwaitingcallerid=no
> threewaycalling=yes
> transfer=no
> canpark=yes
> cancallforward=no
> callreturn=no
> echocancel=no
> echocancelwhenbridged=no
> signalling=mfcr2
>
> mfcr2_variant=BR
> mfcr2_get_ani_first=no
> mfcr2_max_ani=20
> mfcr2_max_dnis=11
> mfcr2_category=national_subscriber
> mfcr2_mfback_timeout=-1
> mfcr2_metering_pulse_timeout=-1
> mfcr2_logdir=span3
> mfcr2_call_files=yes
> mfcr2_logging=all
> mfcr2_forced_release=yes
> mfcr2_charge_calls=yes
> mfcr2_double_answer=yes
>
> context=from-pstn
> group=0
> callgroup=0
> pickupgroup=0
> channel => 1-15
> channel => 17-31
> channel => 32-46
> channel => 48-62
>
> context=from-pbx
> group=1
> callgroup=1
> pickupgroup=1
> channel => 63-77
> channel => 79-93
> channel => 94-108
> channel => 110-124
>
>
> Thanks for now,
>
>
> Pedro
> On Fri, Dec 4, 2009 at 1:25 AM, Melcon Moraes <melcon at gmail.com> wrote:
>> I see no config o_O
>>
>> Would it be better to have the entire call file posted. You're missing some
>> lines.
>>
>> -
>> MM
>>
>> On Fri, Dec 4, 2009 at 02:05, Pedro Bastos <pedro at pontonet.com> wrote:
>>>
>>> Hello,
>>>
>>> Thanks in advance.
>>>
>>>
>>> Here it goes:
>>>
>>> http://pastebin.com/m4652170a
>>>
>>> http://pastebin.com/m3957b06e
>>>
>>>
>>> Pedro
>>>
>>> On Fri, Dec 4, 2009 at 12:49 AM, Melcon Moraes <melcon at gmail.com> wrote:
>>> > Error? Says who?
>>> >
>>> > Quoting moy from so many other posts: "pastebin.com a protocol call file
>>> > (mfcr2_logdir=xxx, mfcr2_call_files=yes) and your config"
>>> >
>>> > -
>>> > MM
>>> >
>>> > On Fri, Dec 4, 2009 at 01:19, Pedro Bastos <pedro at pontonet.com> wrote:
>>> >>
>>> >> Hello,
>>> >>
>>> >> I am trying to connect Asterisk 1.6.2 to a NEC PBX but the connection
>>> >> drops as soon as the other party answers.
>>> >>
>>> >> The error is: Far end disconnected. Reason: Normal Clearing
>>> >>
>>> >> Below is my asterisk console outputs:
>>> >>
>>> >> MFC/R2 call has been accepted on forward channel 63
>>> >>    -- DAHDI/63-1 is ringing
>>> >> MFC/R2 call has been answered on channel 63
>>> >>    -- DAHDI/63-1 answered DAHDI/42-1
>>> >> Chan 63 - Far end disconnected. Reason: Normal Clearing
>>> >> MFC/R2 call disconnected on channel 63
>>> >>    -- Hungup 'DAHDI/63-1'
>>> >>
>>> >> Any tip?
>>> >>
>>> >> Thanks in advance,
>>> >>
>>> >>
>>> >> Pedro
>>> >>
>>> >> _______________________________________________
>>> >> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>>> >>
>>> >> asterisk-r2 mailing list
>>> >> To UNSUBSCRIBE or update options visit:
>>> >>   http://lists.digium.com/mailman/listinfo/asterisk-r2
>>> >
>>> >
>>> > _______________________________________________
>>> > --Bandwidth and Colocation Provided by http://www.api-digital.com--
>>> >
>>> > asterisk-r2 mailing list
>>> > To UNSUBSCRIBE or update options visit:
>>> >   http://lists.digium.com/mailman/listinfo/asterisk-r2
>>> >
>>>
>>>
>>>
>>> --
>>>
>>> Pedro Bastos
>>> PontoNET.com - IT Solutions
>>>
>>> _______________________________________________
>>> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>>>
>>> asterisk-r2 mailing list
>>> To UNSUBSCRIBE or update options visit:
>>>   http://lists.digium.com/mailman/listinfo/asterisk-r2
>>
>>
>> _______________________________________________
>> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>>
>> asterisk-r2 mailing list
>> To UNSUBSCRIBE or update options visit:
>>   http://lists.digium.com/mailman/listinfo/asterisk-r2
>>
>
>
>
> --
>
> Pedro Bastos
> PontoNET.com - IT Solutions
>



-- 

Pedro Bastos
PontoNET.com - IT Solutions



More information about the asterisk-r2 mailing list