Advertisement

01.20.2008 at 08:10PM PST, ID: 23097435
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.7

Asterisk IAXMODEM Macro for Ticket ID Huntgroup elastix

Asked by johnritzer in Asterisk Open Source Telephony, Linux Programming, Open Source Programming

Tags: , ,

And what exactly im trying to do is i have 4 fxo with my zaptel configured ... when the fax call comes in the promt will say please enter the ticket number for the ticket you are faxing.  when the 6 DTMF digits are pressed.  Send the incoming fax to the iaxmodem with the 6 DTMF digits going to that file in mailfax and using that macro below

Im am trying to connect this macro to one of the IAxmodem dev
and i do a iax2 show peers which is binded to 127.0.0.1 port 40000

elastix*CLI> iax2 show peers
Name/Username    Host                 Mask             Port          Status
7004              127.0.0.1       (D)  255.255.255.255  40003         OK (1 ms)
7003              127.0.0.1       (D)  255.255.255.255  40002         OK (3 ms)
7002              127.0.0.1       (D)  255.255.255.255  40001         OK (3 ms)
7001              127.0.0.1       (D)  255.255.255.255  40000         OK (3 ms)



which im trying to put in this macro script thanks to GRBLADES made for me  Below

[macro-recfax]
; ARG1 = ticket number
exten => s,1,Set(FAXFILE=${ARG1}-${UNIQUEID}.tif)
exten => s,n,rxfax(/var/spool/asterisk-fax/${FAXFILE})
exten => s,n,system(/usr/local/bin/mailfax ${UNIQUEID} ${FAXFILE} destination@youraddress.com "${CALLERIDNUM} ${CALLERIDNAME}")
exten => s,n,Hangup

[faxmenu]
  exten => s,1,Wait(2)
  exten => s,n,Answer
  exten => s,n,Wait(1)
  exten => s,n,SetMusicOnHold(default)
  exten => s,n,Set(TIMEOUT(digit)=5)
  exten => s,n,Set(TIMEOUT(response)=10)
  exten => s,n(menu),Background(custom/ticket-num)   ; enter ticket number for the ticket you are faxing
  exten => XXXXX,1,Macro(recfax,${MACRO_EXTEN})
  exten => t,1,Wait(1)
  exten => t,n,Goto(s,menu)
  exten => i,1,Playback(custom/invalidoption)
  exten => i,n,Wait(1)
  exten => i,n,Goto(s,menu)

which also goes to a file name but in my
/etc/iaxmodem Directory for every iax modem configured there is a .cfg file which contains.

device          /dev/ttyIAX1
owner           uucp:uucp
mode            660
port            40000
refresh         300
server          127.0.0.1
peername        7001
secret          7001
cidname         7001
cidnumber       7001
codec           slinear

and the file name is   iaxmodem-cfg.ttyIAX1
and i have 4 devs IAX1 - 4


Thanks ;) Start Free Trial
[+][-]01.21.2008 at 01:01AM PST, ID: 20704653

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.22.2008 at 06:22PM PST, ID: 20720398

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.24.2008 at 11:22AM PST, ID: 20736329

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.28.2008 at 04:43PM PST, ID: 20764445

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.28.2008 at 04:52PM PST, ID: 20764496

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.29.2008 at 12:44AM PST, ID: 20766217

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.21.2008 at 04:55PM PDT, ID: 22055463

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.22.2008 at 01:21AM PDT, ID: 22057208

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.22.2008 at 07:30AM PDT, ID: 22059788

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.22.2008 at 01:32PM PDT, ID: 22063373

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.22.2008 at 01:49PM PDT, ID: 22063532

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.23.2008 at 01:12AM PDT, ID: 22066959

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Asterisk Open Source Telephony, Linux Programming, Open Source Programming
Tags: linux, Asterisk, Elastix
Sign Up Now!
Solution Provided By: grblades
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20081112-EE-VQP-42 / EE_QW_2_20070628