[asterisk-r2] asterisk-r2 Digest, Vol 16, Issue 23

Evandro Arruda evandro at ezvoice.com.br
Sat Dec 12 06:06:41 CST 2009


Hello,

Are you tried to change the :

mf_g1_tones.no_more_dnis_available=F
mf_g1_tones.no_more_ani_available=F

I solved the same problem with Avaya changing this.

Regards,
Evandro Arruda
B.ENG, Software Engineer/Field Applications Engineer
Gerente de Desenvolvimento / Gerente de Projeto
evandro at ezvoice.com.br
Phone: 16-35155803


`
On Dec 12, 2009, at 3:28 AM, asterisk-r2-request at lists.digium.com wrote:

> Send asterisk-r2 mailing list submissions to
> 	asterisk-r2 at lists.digium.com
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.digium.com/mailman/listinfo/asterisk-r2
> or, via email, send a message with subject or body 'help' to
> 	asterisk-r2-request at lists.digium.com
> 
> You can reach the person managing the list at
> 	asterisk-r2-owner at lists.digium.com
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of asterisk-r2 digest..."
> 
> 
> Today's Topics:
> 
>   1. Re: help!! i cant make outbound calls telco bestel
>      (vanesa estrada)
>   2. Re: help!! i cant make outbound calls telco bestel (Moises Silva)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Sat, 12 Dec 2009 02:24:53 +0000
> From: vanesa estrada <lady_vane69 at hotmail.com>
> Subject: Re: [asterisk-r2] help!! i cant make outbound calls telco
> 	bestel
> To: <asterisk-r2 at lists.digium.com>
> Message-ID: <BAY134-W27CF5AF0BE5EDA64FB7818938B0 at phx.gbl>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> 
> Well just a little extra information:
> 
> mfcr2 show version
> OpenR2 version: 1.3.0, revision: 276
> 
> with the svn that moy send.
> 
> 
> 
> From: lady_vane69 at hotmail.com
> To: asterisk-r2 at lists.digium.com
> Date: Sat, 12 Dec 2009 02:09:07 +0000
> Subject: Re: [asterisk-r2] help!! i cant make outbound calls telco bestel
> 
> 
> 
> 
> 
> 
> 
> 
> Thaks!! Moises!!
> 
> I tested :S and i got the same result i make the call but the telco send a promt "the call cant be completed as dialed" here is the log:
> 
> [19:51:55:219] [Thread: 3073440656] [Chan 1] - Call started at Fri Dec 11 19:51:55 2009 on chan 1 [openr2 version 1.3.0, revision 276]
> [19:51:55:219] [Thread: 3073440656] [Chan 1] - CAS Tx >> [SEIZE] 0x00
> [19:51:55:219] [Thread: 3073440656] [Chan 1] - CAS Raw Tx >> 0x01
> [19:51:55:219] [Thread: 3073440656] [Chan 1] - scheduled timer id 2 (r2_seize)
> [19:51:55:251] [Thread: 3073440656] [Chan 1] - Bits changed from 0x08 to 0x0C
> [19:51:55:251] [Thread: 3073440656] [Chan 1] - CAS Rx << [SEIZE ACK] 0x0C
> [19:51:55:251] [Thread: 3073440656] [Chan 1] - Attempting to cancel timer timer 2
> [19:51:55:251] [Thread: 3073440656] [Chan 1] - timer id 2 found, cancelling it now
> [19:51:55:251] [Thread: 3073440656] [Chan 1] - MFC/R2 call acknowledge!
> [19:51:55:251] [Thread: 3073440656] [Chan 1] - Sending DNIS digit 3
> [19:51:55:251] [Thread: 3073440656] [Chan 1] - MF Tx >> 3 [ON]
> [19:51:55:339] [Thread: 3073440656] [Chan 1] - MF Rx << 6 [ON]
> [19:51:55:339] [Thread: 3073440656] [Chan 1] - Attempting to cancel timer timer 0
> [19:51:55:339] [Thread: 3073440656] [Chan 1] - Cannot cancel timer 0
> [19:51:55:339] [Thread: 3073440656] [Chan 1] - MF Tx >> 3 [OFF]
> [19:51:55:419] [Thread: 3073440656] [Chan 1] - MF Rx << 6 [OFF]
> [19:51:55:419] [Thread: 3073440656] [Chan 1] - Sending category National Priority Subscriber
> [19:51:55:419] [Thread: 3073440656] [Chan 1] - MF Tx >> 2 [ON]
> [19:51:55:499] [Thread: 3073440656] [Chan 1] - MF Rx << 1 [ON]
> [19:51:55:499] [Thread: 3073440656] [Chan 1] - Attempting to cancel timer timer 0
> [19:51:55:499] [Thread: 3073440656] [Chan 1] - Cannot cancel timer 0
> [19:51:55:499] [Thread: 3073440656] [Chan 1] - MF Tx >> 2 [OFF]
> [19:51:55:559] [Thread: 3073440656] [Chan 1] - MF Rx << 1 [OFF]
> [19:51:55:559] [Thread: 3073440656] [Chan 1] - Sending ANI digit 3
> [19:51:55:559] [Thread: 3073440656] [Chan 1] - MF Tx >> 3 [ON]
> [19:51:55:639] [Thread: 3073440656] [Chan 1] - MF Rx << 1 [ON]
> [19:51:55:639] [Thread: 3073440656] [Chan 1] - Attempting to cancel timer timer 0
> [19:51:55:639] [Thread: 3073440656] [Chan 1] - Cannot cancel timer 0
> [19:51:55:639] [Thread: 3073440656] [Chan 1] - MF Tx >> 3 [OFF]
> [19:51:55:699] [Thread: 3073440656] [Chan 1] - MF Rx << 1 [OFF]
> [19:51:55:699] [Thread: 3073440656] [Chan 1] - Sending ANI digit 3
> [19:51:55:699] [Thread: 3073440656] [Chan 1] - MF Tx >> 3 [ON]
> [19:51:55:759] [Thread: 3073440656] [Chan 1] - MF Rx << 1 [ON]
> [19:51:55:759] [Thread: 3073440656] [Chan 1] - Attempting to cancel timer timer 0
> [19:51:55:759] [Thread: 3073440656] [Chan 1] - Cannot cancel timer 0
> [19:51:55:759] [Thread: 3073440656] [Chan 1] - MF Tx >> 3 [OFF]
> [19:51:55:839] [Thread: 3073440656] [Chan 1] - MF Rx << 1 [OFF]
> [19:51:55:839] [Thread: 3073440656] [Chan 1] - Sending ANI digit 3
> [19:51:55:839] [Thread: 3073440656] [Chan 1] - MF Tx >> 3 [ON]
> [19:51:55:919] [Thread: 3073440656] [Chan 1] - MF Rx << 1 [ON]
> [19:51:55:919] [Thread: 3073440656] [Chan 1] - Attempting to cancel timer timer 0
> [19:51:55:919] [Thread: 3073440656] [Chan 1] - Cannot cancel timer 0
> [19:51:55:919] [Thread: 3073440656] [Chan 1] - MF Tx >> 3 [OFF]
> [19:51:55:979] [Thread: 3073440656] [Chan 1] - MF Rx << 1 [OFF]
> [19:51:55:979] [Thread: 3073440656] [Chan 1] - Sending ANI digit 4
> [19:51:55:979] [Thread: 3073440656] [Chan 1] - MF Tx >> 4 [ON]
> [19:51:56:039] [Thread: 3073440656] [Chan 1] - MF Rx << 1 [ON]
> [19:51:56:039] [Thread: 3073440656] [Chan 1] - Attempting to cancel timer timer 0
> [19:51:56:039] [Thread: 3073440656] [Chan 1] - Cannot cancel timer 0
> [19:51:56:039] [Thread: 3073440656] [Chan 1] - MF Tx >> 4 [OFF]
> [19:51:56:099] [Thread: 3073440656] [Chan 1] - MF Rx << 1 [OFF]
> [19:51:56:099] [Thread: 3073440656] [Chan 1] - Sending ANI digit 4
> [19:51:56:099] [Thread: 3073440656] [Chan 1] - MF Tx >> 4 [ON]
> [19:51:56:179] [Thread: 3073440656] [Chan 1] - MF Rx << 1 [ON]
> [19:51:56:179] [Thread: 3073440656] [Chan 1] - Attempting to cancel timer timer 0
> [19:51:56:179] [Thread: 3073440656] [Chan 1] - Cannot cancel timer 0
> [19:51:56:179] [Thread: 3073440656] [Chan 1] - MF Tx >> 4 [OFF]
> [19:51:56:239] [Thread: 3073440656] [Chan 1] - MF Rx << 1 [OFF]
> [19:51:56:239] [Thread: 3073440656] [Chan 1] - Sending ANI digit 1
> [19:51:56:239] [Thread: 3073440656] [Chan 1] - MF Tx >> 1 [ON]
> [19:51:56:319] [Thread: 3073440656] [Chan 1] - MF Rx << 1 [ON]
> [19:51:56:319] [Thread: 3073440656] [Chan 1] - Attempting to cancel timer timer 0
> [19:51:56:319] [Thread: 3073440656] [Chan 1] - Cannot cancel timer 0
> [19:51:56:319] [Thread: 3073440656] [Chan 1] - MF Tx >> 1 [OFF]
> [19:51:56:379] [Thread: 3073440656] [Chan 1] - MF Rx << 1 [OFF]
> [19:51:56:379] [Thread: 3073440656] [Chan 1] - Sending ANI digit 0
> [19:51:56:379] [Thread: 3073440656] [Chan 1] - MF Tx >> 0 [ON]
> [19:51:56:439] [Thread: 3073440656] [Chan 1] - MF Rx << 1 [ON]
> [19:51:56:439] [Thread: 3073440656] [Chan 1] - Attempting to cancel timer timer 0
> [19:51:56:439] [Thread: 3073440656] [Chan 1] - Cannot cancel timer 0
> [19:51:56:439] [Thread: 3073440656] [Chan 1] - MF Tx >> 0 [OFF]
> [19:51:56:499] [Thread: 3073440656] [Chan 1] - MF Rx << 1 [OFF]
> [19:51:56:499] [Thread: 3073440656] [Chan 1] - Sending ANI digit 0
> [19:51:56:499] [Thread: 3073440656] [Chan 1] - MF Tx >> 0 [ON]
> [19:51:56:579] [Thread: 3073440656] [Chan 1] - MF Rx << 1 [ON]
> [19:51:56:579] [Thread: 3073440656] [Chan 1] - Attempting to cancel timer timer 0
> [19:51:56:579] [Thread: 3073440656] [Chan 1] - Cannot cancel timer 0
> [19:51:56:579] [Thread: 3073440656] [Chan 1] - MF Tx >> 0 [OFF]
> [19:51:56:639] [Thread: 3073440656] [Chan 1] - MF Rx << 1 [OFF]
> [19:51:56:639] [Thread: 3073440656] [Chan 1] - Sending ANI digit 6
> [19:51:56:639] [Thread: 3073440656] [Chan 1] - MF Tx >> 6 [ON]
> [19:51:56:719] [Thread: 3073440656] [Chan 1] - MF Rx << 1 [ON]
> [19:51:56:719] [Thread: 3073440656] [Chan 1] - Attempting to cancel timer timer 0
> [19:51:56:719] [Thread: 3073440656] [Chan 1] - Cannot cancel timer 0
> [19:51:56:719] [Thread: 3073440656] [Chan 1] - MF Tx >> 6 [OFF]
> [19:51:56:779] [Thread: 3073440656] [Chan 1] - MF Rx << 1 [OFF]
> [19:51:56:779] [Thread: 3073440656] [Chan 1] - Sending ANI digit 7
> [19:51:56:779] [Thread: 3073440656] [Chan 1] - MF Tx >> 7 [ON]
> [19:51:56:839] [Thread: 3073440656] [Chan 1] - MF Rx << 1 [ON]
> [19:51:56:839] [Thread: 3073440656] [Chan 1] - Attempting to cancel timer timer 0
> [19:51:56:839] [Thread: 3073440656] [Chan 1] - Cannot cancel timer 0
> [19:51:56:839] [Thread: 3073440656] [Chan 1] - MF Tx >> 7 [OFF]
> [19:51:56:919] [Thread: 3073440656] [Chan 1] - MF Rx << 1 [OFF]
> [19:51:56:919] [Thread: 3073440656] [Chan 1] - Sending more ANI unavailable
> [19:51:56:919] [Thread: 3073440656] [Chan 1] - MF Tx >> F [ON]
> [19:51:56:999] [Thread: 3073440656] [Chan 1] - MF Rx << 1 [ON]
> [19:51:56:999] [Thread: 3073440656] [Chan 1] - Attempting to cancel timer timer 0
> [19:51:56:999] [Thread: 3073440656] [Chan 1] - Cannot cancel timer 0
> [19:51:56:999] [Thread: 3073440656] [Chan 1] - MF Tx >> F [OFF]
> [19:51:57:059] [Thread: 3073440656] [Chan 1] - MF Rx << 1 [OFF]
> [19:51:57:059] [Thread: 3073440656] [Chan 1] - Sending more ANI unavailable
> [19:51:57:059] [Thread: 3073440656] [Chan 1] - MF Tx >> F [ON]
> [19:51:57:119] [Thread: 3073440656] [Chan 1] - MF Rx << 3 [ON]
> [19:51:57:119] [Thread: 3073440656] [Chan 1] - Attempting to cancel timer timer 0
> [19:51:57:119] [Thread: 3073440656] [Chan 1] - Cannot cancel timer 0
> [19:51:57:119] [Thread: 3073440656] [Chan 1] - MF Tx >> F [OFF]
> [19:51:57:199] [Thread: 3073440656] [Chan 1] - MF Rx << 3 [OFF]
> [19:51:57:199] [Thread: 3073440656] [Chan 1] - Sending category National Priority Subscriber
> [19:51:57:199] [Thread: 3073440656] [Chan 1] - MF Tx >> 2 [ON]
> [19:51:57:279] [Thread: 3073440656] [Chan 1] - MF Rx << 5 [ON]
> [19:51:57:279] [Thread: 3073440656] [Chan 1] - Attempting to cancel timer timer 0
> [19:51:57:279] [Thread: 3073440656] [Chan 1] - Cannot cancel timer 0
> [19:51:57:279] [Thread: 3073440656] [Chan 1] - MF Tx >> 2 [OFF]
> [19:51:57:339] [Thread: 3073440656] [Chan 1] - MF Rx << 5 [OFF]
> [19:51:57:339] [Thread: 3073440656] [Chan 1] - scheduled timer id 3 (r2_answer)
> [19:51:57:339] [Thread: 3073440656] [Chan 1] - Attempting to cancel timer timer 0
> [19:51:57:339] [Thread: 3073440656] [Chan 1] - Cannot cancel timer 0
> [19:52:02:078] [Thread: 3073440656] [Chan 1] - Attempting to cancel timer timer 0
> [19:52:02:078] [Thread: 3073440656] [Chan 1] - Cannot cancel timer 0
> [19:52:02:078] [Thread: 3073440656] [Chan 1] - CAS Tx >> [CLEAR FORWARD] 0x08
> [19:52:02:078] [Thread: 3073440656] [Chan 1] - CAS Raw Tx >> 0x09
> [19:52:02:111] [Thread: 3076651920] [Chan 1] - Bits changed from 0x0C to 0x08
> [19:52:02:111] [Thread: 3076651920] [Chan 1] - CAS Rx << [IDLE] 0x08
> [19:52:02:111] [Thread: 3076651920] [Chan 1] - Call ended
> [19:52:02:111] [Thread: 3076651920] [Chan 1] - Attempting to cancel timer timer 0
> [19:52:02:111] [Thread: 3076651920] [Chan 1] - Cannot cancel timer 0
> 
> I see that my telco whats something like: first dnis -> category -> all ani -> F for no more ani signal -> rest of dnis . I feel loose!!
> 
> 
> Date: Fri, 11 Dec 2009 15:45:32 -0500
> From: moises.silva at gmail.com
> To: asterisk-r2 at lists.digium.com
> Subject: Re: [asterisk-r2] help!! i cant make outbound calls telco bestel
> 
> Hello Vanesa,
> On Fri, Dec 11, 2009 at 11:41 AM, vanesa estrada <lady_vane69 at hotmail.com> wrote:
> 
> 
> 
> 
> 
> 
> 
> They said its R2, i looked my old pbx config and i saw these coments by the person that used to give us support, i dont know if this help
> It certainly helps, at least helps me :-)
> 
> 
> The problem is that at that point, openr2 does not expect more MF tones, but still we get an F tone, may be is the progress tone sent by the telco immediately which openr2 may miss detect as an F.
> 
> 
> I created a code branch to try to get your telco working. I committed a small fix. Please try this branch:
> svn co http://openr2.googlecode.com/svn/branches/release-1-bestel
> 
> Recompile, re-install openr2 and try again. Be sure to re-configure and re-install Asterisk (if testing with Asterisk).
> The r2test application is mostly for development and debugging when the Asterisk code is not stable, but at this point I feel very confident about the R2 Asterisk code so you may want to try to test with Asterisk if that is easier for you. Besides, Asterisk has enabled more R2 features that r2test (which has fallen a bit outdated), for example, call files may or may not work well on r2test, try Asterisk enabling mfcr2_call_files=yes and mfcr2_logdir=bestel, then you will find protocol dump files for each incoming or outgoing call in /var/log/asterisk/mfcr2/bestel
> 
> -- 
> Moises Silva
> Senior Software Engineer
> Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R 9T3 Canada
> 
> t. 1 905 474 1990 x 128 | e. moy at sangoma.com
> 
> 		 	   		  
> Bing: Ahorra tiempo y clics cuando buscas en Internet 		 	   		  
> _________________________________________________________________
> Una nueva experiencia de b?squeda est? aqu?
> http://www.bing.com/?mkt=es-MX&FORM=M006IR&Publ=WLHMTAG&Crea=TEXT_M006IR_Bing_ES_SaveTimeClicks_1X1
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://lists.digium.com/pipermail/asterisk-r2/attachments/20091212/b87fdcf4/attachment-0001.htm 
> 
> ------------------------------
> 
> Message: 2
> Date: Sat, 12 Dec 2009 00:28:04 -0500
> From: Moises Silva <moises.silva at gmail.com>
> Subject: Re: [asterisk-r2] help!! i cant make outbound calls telco
> 	bestel
> To: asterisk-r2 at lists.digium.com
> Message-ID:
> 	<c4d05cbe0912112128h27929708o9f77d0bb067adbba at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
> 
> On Fri, Dec 11, 2009 at 9:09 PM, vanesa estrada <lady_vane69 at hotmail.com>wrote:
> 
>> Thaks!! Moises!!
>> 
>> I tested :S and i got the same result i make the call but the telco send a
>> promt "the call cant be completed as dialed" here is the log:
>> 
>> 
> Actually is not the same result. In your r2test log you showed us "Protocol
> error", in this case I don't see such thing. In fact, from a protocol point
> of view, there was no error, the originating side simply decided to hang up
> the call ( probably because the user hung up the phone when hearing the
> recording about the central not being able to place the call as dialed).
> 
> Something is strange though, all telcos I know of (Telmex, Axtel etc) DO NOT
> ask for ANI, because there is no point in asking for ANI because they know
> which line the call is coming from (the number assigned to the company
> subscriber). It seems after we send the first DNIS they ask us for category
> and switch to group C (Tone 6) and therefore for ANI (that's the purpose of
> group C in Mexico, the only country I know of with group C), then they keep
> requesting more ANI (tone 1) until we say, ok I have no more ANI, after
> that, I don't see them requesting for DNIS.
> 
> My conclusion is that this is a different MFC-R2 variant. The truth is that
> COFETEL in Mexico is doing nothing at all to create a standard MFC-R2
> variant in Mexico and never did. At some point Telmex was the only one but
> as new telcos started operations, each one provides the signaling in their
> own terms.
> 
> At this point you have 4 choices.
> 
> 1. Try to get an MFC-R2 specification from your telco and use the
> r2proto.conf advanced configuration to try make your telco variant to work.
> 
> 2. Wait until I finish my vacations :-), try to get an MFC-R2 specification
> from your telco and send it to me, then as soon as I have a spare weekend I
> will write the new code in openr2 to make the variant work.
> 
> 3. Try the following work-around that I think it may work.
> Set(CALLERID(num)=${EXTEN}) in your dialplan (assuming you want to dial the
> full ${EXTEN} number), that is, set the callerid to the number you wish to
> dial (this is because I suspect the problem is that they think they're
> requesting DNIS but we think they are requesting ANI).
> 
> 4. Send me an off-list e-mail and I can give you my quote to work on this
> issue.
> 
> -- 
> Moises Silva
> Senior Software Engineer
> Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R 9T3
> Canada
> t. 1 905 474 1990 x 128 | e. moy at sangoma.com
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://lists.digium.com/pipermail/asterisk-r2/attachments/20091212/fde4716c/attachment.htm 
> 
> ------------------------------
> 
> _______________________________________________
> --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
> 
> End of asterisk-r2 Digest, Vol 16, Issue 23
> *******************************************

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-r2/attachments/20091212/450638ab/attachment-0001.htm 


More information about the asterisk-r2 mailing list