[asterisk-r2] begginer question - r2test results

Marcelo Amorim Fernandes marceloamorim46 at gmail.com
Thu Jan 7 10:49:33 CST 2016


I'm working with OI

I tried those 3 samples from:

Sample Configuration for Oi

=========================== ; Sample 1

signalling=mfcr2

mfcr2_variant=br

mfcr2_get_ani_first=yes

mfcr2_max_ani=20

mfcr2_max_dnis=4

mfcr2_category=national_subscriber

; The next three params are for debuging, you can disable when in production

mfcr2_call_files=yes

mfcr2_logdir=oi

mfcr2_logging=all ; Sample 2

signalling=mfcr2

mfcr2_variant=br

mfcr2_get_ani_first=no

mfcr2_max_ani=20

mfcr2_max_dnis=20

mfcr2_category=national_subscriber

; The next three params are for debuging, you can disable when in production

mfcr2_call_files=yes

mfcr2_logdir=oi

mfcr2_logging=all ; Sample 3

signalling=mfcr2

mfcr2_variant=br

mfcr2_metering_pulse_timeout=500

mfcr2_get_ani_first=no

mfcr2_max_ani=20

mfcr2_max_dnis=20

mfcr2_category=national_subscriber

; The next three params are for debuging, you can disable when in production

mfcr2_call_files=yes

mfcr2_logdir=oi

mfcr2_logging=all


2016-01-07 14:47 GMT-02:00 Vinicius Fontes <vinicius at aittelecom.com.br>:

> I can provide you with a working config. What carrier (operator) is your
> E1 circuit from?
>
> 2016-01-07 14:39 GMT-02:00 Marcelo Amorim Fernandes <
> marceloamorim46 at gmail.com>:
>
>> Guys, this is my first time trying to check something at r2.
>>
>> My first time using R2 wasn't that bad, everything work fine, but someday
>> my hdd crashed and I lost everything of config. So I reinstall asterisk
>> 13.6.0, dahdi-last-version 2.11.0 and openr2-1.3.3.
>>
>> Unfortunately this time isn't go well, so I tried somethings until I
>> discover the r2test, the problem I don't know what to expect.
>>
>> the r2test -c /usr/etc/r2test.conf is on the pastebin and I'll paste here
>> too:
>>
>> the question is, I used this making a loop in my digium card, I don't
>> know if this is the right way, because without the loop I could't get any
>> results.
>>
>> http://pastebin.com/tQbUNzeg
>>
>>    1. found category = NATIONAL_SUBSCRIBER
>>    2. found Log Level = all
>>    3. found option callfiles=no
>>    4. found R2 variant = br
>>    5. found MAX ANI= 20
>>    6. found MAX DNIS= 4
>>    7. found option Get ANI First = no
>>    8. found option Use DAHDI MF = no
>>    9. found option MF threshold = 0
>>    10. found option MF backward timeout = -1
>>    11. found option meteringpulsetimeout=-1
>>    12. found option collectcalls=no
>>    13. found option chargecalls=yes
>>    14. found option doubleanswer=no
>>    15. found option immediateaccept=no
>>    16. found option skipcategory=no
>>    17. found channel range = 1-10
>>    18. found DNID = 8300
>>    19. found CID = 03732812020
>>    20. channel 1, variant = BR
>>    21. channel 3, variant = BR
>>    22. channel 2, variant = BR
>>    23. channel 10, variant = BR
>>    24. channel 8, variant = BR
>>    25. [42:46:526][CAS TRACE] Channel 8 -- CAS Tx >> [IDLE] 0x08
>>    26. [42:46:526][CAS TRACE] Channel 8 -- CAS Raw Tx >> 0x09
>>    27. channel 6, variant = BR
>>    28. [42:46:526][CAS TRACE] Channel 6 -- CAS Tx >> [IDLE] 0x08
>>    29. [42:46:527][CAS TRACE] Channel 6 -- CAS Raw Tx >> 0x09
>>    30. channel 4, variant = BR
>>    31. Spawned 10 listener threads, waiting for them to be ready ...
>>    32. [42:46:526][CAS TRACE] Channel 3 -- CAS Tx >> [IDLE] 0x08
>>    33. [42:46:527][CAS TRACE] Channel 4 -- CAS Tx >> [IDLE] 0x08
>>    34. [42:46:527][CAS TRACE] Channel 3 -- CAS Raw Tx >> 0x09
>>    35. [42:46:527][CAS TRACE] Channel 2 -- CAS Tx >> [IDLE] 0x08
>>    36. [42:46:527][CAS TRACE] Channel 2 -- CAS Raw Tx >> 0x09
>>    37. [42:46:526][CAS TRACE] Channel 1 -- CAS Tx >> [IDLE] 0x08
>>    38. [42:46:527][CAS TRACE] Channel 1 -- CAS Raw Tx >> 0x09
>>    39. [42:46:526][CAS TRACE] Channel 10 -- CAS Tx >> [IDLE] 0x08
>>    40. [42:46:527][CAS TRACE] Channel 10 -- CAS Raw Tx >> 0x09
>>    41. [42:46:527][CAS TRACE] Channel 4 -- CAS Raw Tx >> 0x09
>>    42. channel 7, variant = BR
>>    43. [42:46:527][CAS TRACE] Channel 7 -- CAS Tx >> [IDLE] 0x08
>>    44. [42:46:527][CAS TRACE] Channel 7 -- CAS Raw Tx >> 0x09
>>    45. channel 5, variant = BR
>>    46. [42:46:527][CAS TRACE] Channel 5 -- CAS Tx >> [IDLE] 0x08
>>    47. [42:46:527][CAS TRACE] Channel 5 -- CAS Raw Tx >> 0x09
>>    48. channel 9, variant = BR
>>    49. [42:46:527][CAS TRACE] Channel 9 -- CAS Tx >> [IDLE] 0x08
>>    50. [42:46:527][CAS TRACE] Channel 9 -- CAS Raw Tx >> 0x09
>>    51. Spawned 0 calling threads, waiting for all threads ...
>>
>>
>> --
>> --
>> Marcelo Amorim
>>
>> --
>> _____________________________________________________________________
>> -- 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
>



-- 
--
Marcelo Amorim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-r2/attachments/20160107/2ceebd0f/attachment-0001.html>


More information about the asterisk-r2 mailing list