Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] How is reinvite triggered


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
rgm at htt-consult.com
Guest





PostPosted: Tue Feb 26, 2008 5:40 pm    Post subject: [asterisk-users] How is reinvite triggered Reply with quote

Particularly WRT T.38 fax.

Supposedly, when fax tones are detected, Asterisk is to do a reinvite
asking for T.38.

Here is what I am using in my dialplan:

[custom-fax1]
exten => s,1,Answer
exten => s,n,StopPlayTones
exten => s,n,Set(FAXFILE=/var/spool/asterisk/fax/${UNIQUEID}.tif)
exten => s,n,rxfax(${FAXFILE})
exten => s,n,Hangup
exten => h,1,system(/var/lib/asterisk/bin/fax-process.pl --to
${FAX_TO_EMAIL} --from ${FAX_RX_FROM} --subject "Fax from
${URIENCODE(${CALLERID(number)})} ${URIENCODE(${CALLERID(name)})}"
--attachment fax_${URIENCODE(${CALLERID(number)})}.pdf --type
application/pdf --file ${FAXFILE});
exten => h,2,Hangup()
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services