Carlos Chavez
2008-Feb-28 00:22 UTC
[asterisk-users] Unicall mfcr2 testcall issues in mexico outgoing:ok | incoming: fail.
I do not know if this will make a difference but the protocol-variant for Mexico should be: protocol-variant mx,10,4 You only get 10 digits from the phone company. On Wed, 2008-02-27 at 18:03 -0800, Andres Tello Abrego wrote:> protocol-variant mx,20,4-- Telecomunicaciones Abiertas de M?xico S.A. de C.V. Carlos Ch?vez Prats Director de Tecnolog?a +52-55-91169161 ext 2001 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20080227/026bec4e/attachment.pgp
Andres Tello Abrego
2008-Feb-28 02:03 UTC
[asterisk-users] Unicall mfcr2 testcall issues in mexico outgoing:ok | incoming: fail.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I have a astunicall-1.4 setup with a te110p to a nortel pbx in Mexico. (Hate R2!). This is what I get when trying to call to * box using testcall: ./testcall Chan 31, class 'mfcr2', variant 'mx,20,4', end 0, caller 0, from '' to '' Loading protocol mfcr2 Thread for channel 0 MFC/R2 Chan 31: Call control(9) MFC/R2 Chan 31: Unblock MFC/R2 Chan 31: 1001 -> [1/BLOCKED /Idle /Idle ] MFC/R2 Chan 31: far_unblocking_expired MFC/R2 Chan 31: local_unblocking_expired Chan 31: -- Far end unblocked! :-) Chan 31: -- Far end unblocked! :-) Chan 31: -- Local end unblocked! :-) Chan 31: -- Local end unblocked! :-) Main thread MFC/R2 Chan 31: <- 0001 [1/IDLE /Idle /Idle ] MFC/R2 Chan 31: Detected MFC/R2 Chan 31: Creating a new call with CRN 32769 MFC/R2 Chan 31: 1101 -> [2/DETECTED/Seize ack /Seize ack ] Chan 31: -- Detected on channel 0, CRN 32769 Chan 31: -- Detected on channel 0, CRN 32769 MFC/R2 Chan 31: <- 8 on [2/DETECTED/Seize ack /Seize ack ] MFC/R2 Chan 31: 1 on -> [2/DETECTED/Group A /DNIS request ] MFC/R2 Chan 31: <- 8 off [2/DETECTED/Group A /DNIS request ] MFC/R2 Chan 31: 1 off -> [2/DETECTED/Group A /DNIS request ] MFC/R2 Chan 31: <- 6 on [2/DETECTED/Group A /DNIS request ] MFC/R2 Chan 31: 1 on -> [2/DETECTED/Group A /DNIS request ] MFC/R2 Chan 31: <- 6 off [2/DETECTED/Group A /DNIS request ] MFC/R2 Chan 31: 1 off -> [2/DETECTED/Group A /DNIS request ] MFC/R2 Chan 31: <- 0 on [2/DETECTED/Group A /DNIS request ] MFC/R2 Chan 31: 1 on -> [2/DETECTED/Group A /DNIS request ] MFC/R2 Chan 31: <- 0 off [2/DETECTED/Group A /DNIS request ] MFC/R2 Chan 31: 1 off -> [2/DETECTED/Group A /DNIS request ] MFC/R2 Chan 31: <- 0 on [2/DETECTED/Group A /DNIS request ] MFC/R2 Chan 31: 6 on -> [2/DETECTED/Group C /Category req ] MFC/R2 Chan 31: <- 0 off [2/DETECTED/Group C /Category req ] MFC/R2 Chan 31: 6 off -> [2/DETECTED/Group C /Category req ] Main thread MFC/R2 Chan 31: R2 prot. err. [2/DETECTED/Group C /Category req ] cause 32771 - T3 timed out MFC/R2 Chan 31: 1001 -> [1/IDLE /Idle /Idle ] Chan 31: -- Protocol failure on channel 0, cause (32771) T3 timed out Chan 31: -- Protocol failure on channel 0, cause (32771) T3 timed out MFC/R2 Chan 31: <- 1001 [1/IDLE /Idle /Idle ] MFC/R2 Chan 31: 1001 -> [1/IDLE /Idle /Idle ] Main thread #cat testcall.conf caller no protocol-class mfcr2 protocol-variant mx,20,4 on-offered answer circuits 31-31 When using testcall to test outcoing call everything is ok. ./testcall Chan 31, class 'mfcr2', variant 'mx,20,4', end 0, caller 1, from '9900' to '2254' Loading protocol mfcr2 Thread for channel 0 MFC/R2 Chan 31: Call control(9) MFC/R2 Chan 31: Unblock MFC/R2 Chan 31: 1001 -> [1/BLOCKED /Idle /Idle ] MFC/R2 Chan 31: far_unblocking_expired MFC/R2 Chan 31: local_unblocking_expired Chan 31: -- Far end unblocked! :-) Chan 31: -- Far end unblocked! :-) Chan 31: -- Local end unblocked! :-) Chan 31: -- Local end unblocked! :-) Chan 31: Initiating call MFC/R2 Chan 31: Call control(1) MFC/R2 Chan 31: Make call MFC/R2 Chan 31: Creating a new call with CRN 32769 MFC/R2 Chan 31: 0001 -> [1/DIALING /Seize /Idle ] Chan 31: -- Dialing on channel 0 Chan 31: -- Dialing on channel 0 MFC/R2 Chan 31: <- 1101 [1/DIALING /Seize /Idle ] MFC/R2 Chan 31: 2 on -> [2/DIALING /Group I /DNIS ] MFC/R2 Chan 31: <- 1 on [2/DIALING /Group I /DNIS ] MFC/R2 Chan 31: 2 off -> [2/DIALING /Group I /DNIS ] MFC/R2 Chan 31: <- 1 off [2/DIALING /Group I /DNIS ] MFC/R2 Chan 31: 2 on -> [2/DIALING /Group I /DNIS ] MFC/R2 Chan 31: <- 1 on [2/DIALING /Group I /DNIS ] MFC/R2 Chan 31: 2 off -> [2/DIALING /Group I /DNIS ] MFC/R2 Chan 31: <- 1 off [2/DIALING /Group I /DNIS ] MFC/R2 Chan 31: 5 on -> [2/DIALING /Group I /DNIS ] MFC/R2 Chan 31: <- 1 on [2/DIALING /Group I /DNIS ] MFC/R2 Chan 31: 5 off -> [2/DIALING /Group I /DNIS ] MFC/R2 Chan 31: <- 1 off [2/DIALING /Group I /DNIS ] MFC/R2 Chan 31: 4 on -> [2/DIALING /Group I /DNIS ] MFC/R2 Chan 31: <- 3 on [2/DIALING /Group I /DNIS ] MFC/R2 Chan 31: 4 off -> [2/DIALING /Group I /DNIS ] MFC/R2 Chan 31: <- 3 off [2/DIALING /Group I /DNIS ] MFC/R2 Chan 31: 1 on -> [2/PROCEED /Group II /Category ] Chan 31: -- Proceeding on channel 0 MFC/R2 Chan 31: <- 1 on [2/PROCEED /Group II /Category ] MFC/R2 Chan 31: 1 off -> [2/PROCEED /Group II /Category ] MFC/R2 Chan 31: <- 1 off [2/PROCEED /Group II /Category ] Chan 31: -- Alerting on channel 0 Chan 31: -- Alerting on channel 0 MFC/R2 Chan 31: <- 0101 [1/ALERTING/Await answer /Category ] Chan 31: -- Connected on channel 0 Chan 31: -- Connected on channel 0 Chan 31: -- '*00000001*9900*2254*#' Main thread MFC/R2 Chan 31: <- 1101 [1/CONNECTD/Answered /Category ] MFC/R2 Chan 31: Far end disconnected(cause=Normal Clearing [16]) - state 0x400 Chan 31: -- Far end disconnected on channel 0 Chan 31: -- Far end disconnected on channel 0 MFC/R2 Chan 31: Call control(7) MFC/R2 Chan 31: Drop call(cause=Normal Clearing [16]) MFC/R2 Chan 31: Clearing fwd MFC/R2 Chan 31: 1001 -> [1/FAR DISC/Clear back B /Idle ] MFC/R2 Chan 31: <- 1001 [1/FAR DISC/Clear fwd D /Idle ] MFC/R2 Chan 31: Call disconnected(cause=Normal Clearing [16]) - state 0x800 Chan 31: -- Drop call on channel 0 Chan 31: -- Drop call on channel 0 MFC/R2 Chan 31: Call control(8) MFC/R2 Chan 31: Release call MFC/R2 Chan 31: Destroying call with CRN 32769 Chan 31: -- Release call on channel 0 Chan 31: -- Release call on channel 0 Chan 31: Initiating call MFC/R2 Chan 31: Call control(1) MFC/R2 Chan 31: Make call MFC/R2 Chan 31: Creating a new call with CRN 32770 # cat testcall.conf caller yes protocol-class mfcr2 protocol-variant mx,20,4 destination-no 2254 originating-no 9900 Thanks in advance. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFHxhaLEXCJrml2yYoRAmrOAJ9SukPQPbSwGUrY/rLJmmdEXcubVgCfUxu/ oRmkg1i2MVFTYqp4vS3oxTA=BeLe -----END PGP SIGNATURE-----