:-P Actually this is not freepbx centric at all. I just need to execute
a macro on a dial when the call is answered.
I am writing code to duplicate the RS-232 SMDR interface of Nortel Meridian.
----
Andre Courchesne
Concepteur Logiciel - Software Developer
[email protected]
PrivalODC Inc.
9955 ave Catania, local 145
Brossard, QC
J4Z 3V5
Web.: http://www.prival.ca
Tel.: (450) 761-9973 poste 635
1-866-761-9973
Fax.: (450) 761-9842
Ce message électronique ainsi que tous les documents annexés s’adressent
exclusivement à la personne ou à l’entité inscrit dans la rubrique
destinataire ; il peut contenir des renseignements de nature
confidentielle ou privilégiée aux termes des lois applicables. Nulle
autre personne ne doit y avoir accès. Si vous n’êtes pas le
destinataire convenu, nous vous avisons par la présente qu'il est
strictement interdit d'en divulguer le contenu, de le distribuer, le
copier ou l’ utiliser. Veuillez aviser l’expéditeur immédiatement par
retour de courrier électronique et supprimer ce message de votre
système. Toute diffusion ou reproduction de ce document ainsi que tout
mesure prise à l’égard de la présente est formellement interdite.
Merci de penser à l'environnement avant d'imprimer ce courriel.
Philip Mullis wrote:
Ah SOS don't support freepbx, let me know though what your trying to
do and I'll see if I can pull you something from my code library
Sent from my iPhone
On 25-Jun-09, at 1:35 PM, André Courchesne <[email protected]>
wrote:
Yes this is ok as the extensions are created via freepbx. I can also
call from one to the other
Sent from my BlackBerry® smartphone.
-----Original Message-----
From: Philip Mullis <[email protected]>
Date: Thu, 25 Jun 2009 13:06:16
To: Andre Courchesne - Consultant<[email protected]>
Cc: Asterisk Users Group<[email protected]>
Subject: Re: [on-asterisk] Usage of M(x) in Dial
also for the iax part your getting a fail on that..
do you see an iax proile identified by 200 or fully implement properly
(ie do you have a peer type defined?) a simple iax2 show peers should
tell your this.
Phil
Philip Mullis wrote:
gosh my typo's where bad there... take out the work macro- when you
call it in the dialplan.. M and Macro will look for the macro-
preceding your word.. ie if you have made something called
macro-smdr.. its called via Macro(smdr,arg1,arg2) etc.. or
M(smdr,arg1,arg2) etc...
Phil
Philip Mullis wrote:
Andre take out the work macro, if you have something call macro-
smdr,
you just call it via M(smdr)
Andre Courchesne - Consultant wrote:
Ok, I have the following macro:
[macro-smdr]
exten => s,1,NoOp(In Macro smdr)
And the following dialplan:
exten => 1111,1,Dial(IAX2/200,,M(smdr))
Whan I dial 1111, I see the following result:
[Jun 25 12:55:04] VERBOSE[2601] logger.c: -- Executing
[1...@from-internal:1] Dial("IAX2/100-4558",
"IAX2/200||M(macro-smdr)") in new stack
[Jun 25 12:55:04] WARNING[2601] app_dial.c: Unable to create
channel
of type 'IAX2' (cause 20 - Unknown)
[Jun 25 12:55:04] VERBOSE[2601] logger.c: == Everyone is
busy/congested at this time (1:0/0/1)
Any ideas? After lunch I'll setup with sip hard phones to see if it
makes a difference.
---
------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]