[asterisk-users] Where are the fax instructions?

José Pablo Méndez Soto auxcri at gmail.com
Thu Jan 5 11:55:54 CST 2012


Thanks from the bottom of my heart sir!

Asterisk 1.8.7.1 is my build, I couldn't chose res_fax_spandsp from
menuselect due to dependencies, so I installed libspandsp-dev:

:~# apt-cache policy libspandsp*
libspandsp2:
  Installed: 0.0.6~pre12-1
  Candidate: 0.0.6~pre12-1
  Version table:
 *** 0.0.6~pre12-1 0

libspandsp-dev:
  Installed: 0.0.6~pre12-1
  Candidate: 0.0.6~pre12-1
  Version table:
 *** 0.0.6~pre12-1 0

So, my dialplan snippet looks good, but I need to correct the lacking
gateway capability?


 *José Pablo Méndez
*********


On Thu, Jan 5, 2012 at 10:04 AM, Kevin P. Fleming <kpfleming at digium.com>wrote:

> On 01/05/2012 01:03 AM, José Pablo Méndez Soto wrote:
>
>> Hello,
>>
>> Trying to set up res_fax_spandsp. Based on
>> https://wiki.asterisk.org/**wiki/display/AST/T.38+Fax+**Gateway<https://wiki.asterisk.org/wiki/display/AST/T.38+Fax+Gateway>I wrote this
>> in my extensions.conf:
>>
>> exten => 306,1,NoOp(Fax transmission)
>>     same => n,Set(FAXOPT(gateway)=yes)
>>     same => n,Dial(DAHDI/3)            ----->FXS port to fax machine
>>     same => n,Hangup()
>>
>> Call flow Im trying to pull out is as follows:
>>
>> Zoiper  -->  Asterisk with TDM410 --> FXS --> Analog fax machine
>>
>> I am totally lost about the use of this new gateway module in the
>> dialplan. I think it loads ok:
>>
>> CLI> fax show capabilities
>>
>> Registered FAX Technology Modules:
>>
>> Type            : Spandsp
>> Description     : Spandsp FAX Driver
>> Capabilities    : SEND RECEIVE T.38 G.711
>>
>
> Your res_fax_spandsp module was built without gateway support; what
> version of Asterisk are you using?
>
>
>
>> 1 registered modules
>>
>> Also I have the FFA manual, which I couldn't understand. I think FAXOPT
>> is common to both, but still not sure how to put them together. Where
>> can I find documentation about configuring the call flow described?
>>
>
> Fax for Asterisk is totally unrelated to T.38 gateway support.
>
>
>  Or some insight will also be appreciated.
>>
>> Here is my sip peer config:
>>
>> [105](headquarters) ;zoiper phone
>> type=friend
>> secret=
>> mailbox=105 at default
>> t38pt_udptl = yes
>>
>> Dahdi:
>> ;FXS Modules
>> group = 2
>> signalling = fxo_ks
>> context = interno
>> channel = 3-4
>> faxdetect = both
>>
>> Finally, a verbose output:
>>
>>   == Using SIP RTP CoS mark 5
>>     -- Executing [606 at intern:1] NoOp("SIP/105-00000002", "Fax
>> Transmission") in new stack
>>     -- Executing [606 at intern:2] Set("SIP/105-00000002",
>> "FAXOPT(gateway)=yes") in new stack
>> [Jan  5 00:59:57] WARNING[1831]: res_fax.c:2783 acf_faxopt_write:
>> channel 'SIP/605-00000002' set FAXOPT(gateway) to 'yes' is unhandled!
>>     -- Executing [606 at intern:3] Dial("SIP/605-00000002", "DAHDI/3") in
>> new stack
>>     -- Called DAHDI/3
>>     -- DAHDI/3-1 is ringing
>>     -- DAHDI/3-1 is ringing
>>     -- DAHDI/3-1 is ringing
>>     -- DAHDI/3-1 answered SIP/605-00000002
>>     -- Hanging up on 'DAHDI/3-1'
>>     -- Hungup 'DAHDI/3-1'
>>   == Spawn extension (intern, 606, 3) exited non-zero on
>> 'SIP/105-00000002'
>>
>
> Since 'fax show capabilities' did not show that you have gateway support,
> you won't be able to enable it. That problem must be corrected first.
>
> --
> Kevin P. Fleming
> Digium, Inc. | Director of Software Technologies
> Jabber: kfleming at digium.com | SIP: kpfleming at digium.com | Skype: kpfleming
> 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
> Check us out at www.digium.com & www.asterisk.org
>
> --
> ______________________________**______________________________**_________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>              http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>  http://lists.digium.com/**mailman/listinfo/asterisk-**users<http://lists.digium.com/mailman/listinfo/asterisk-users>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120105/86e83aac/attachment.htm>


More information about the asterisk-users mailing list