I have no analog line interfaces on my asterisk system, but I do have two UK 0870 numbers routed to two separate VoIP accounts (one with FWD, one with gossiptel). Asterisk is configured to register with these accounts. I get voice calls through just fine this way. I thought I could get one of these 0870 numbers to route through to rxfax, thus allowing folks to fax me directly. I've set up the spandsp stuff accordingly, and sure enough the CLI shows that the call is getting answered and rxfax is starting up, but then I get the following messages and no fax: -- Executing SetVar("SIP/9304499-4208", "FAXFILE=/var/spool/asterisk/fax/1090917308.5.tif") in new stack -- Executing RxFAX("SIP/9304499-4208", "$FAXFILE") in new stack Jul 27 09:35:48 NOTICE[22545]: rtp.c:434 ast_rtp_read: Unknown RTP codec 96 received Jul 27 09:35:49 NOTICE[22545]: rtp.c:434 ast_rtp_read: Unknown RTP codec 96 received Here's the relevant section from my sip.conf: [gossiptel] secret=secret username=9304499 host=sip.gossiptel.com type=peer dtmfmode=rfc2833 fromuser=9304499 fromdomain=sip.gossiptel.com I've tried dtmfmode=inband too, with the same behaviour. I've a sneaking suspicion that the PSTN->VoIP gateway needs to recognise the call as a faxcall and do the signalling appropriately, and that Gossiptel doesn't do this. If that's the case, anyone know of a gateway that does handle fax? Thanks -- David Gurr Congruity Ltd.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, 27 Jul 2004, David Gurr wrote:> I have no analog line interfaces on my asterisk system, but I do have two UK > 0870 numbers routed to two separate VoIP accounts (one with FWD, one with > gossiptel). Asterisk is configured to register with these accounts. I get > voice calls through just fine this way. > > I thought I could get one of these 0870 numbers to route through to rxfax, > thus allowing folks to fax me directly.It's not going to work unless you force the codec to be non-lossy (i.e. ulaw or alaw). If the VoIP provider can only do lossy codecs like GSM you've got no chance. - -- - Steve Jabber: firefury@sucs.org Web: http://www.nexusuk.org/ Servatis a periculum, servatis a maleficum - Whisper, Evanescence -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Public key available at http://www.nexusuk.org/pubkey.txt iD8DBQFBBnCB5zUOsIV3bqERAktrAJ9xoB8HdiMQLUe63NPvYfr4MkwPhgCggemz v9/1NkNuyxD+RLfHdC+HkBU=pMZ+ -----END PGP SIGNATURE-----
Hi David, 96 and up are dynamically allocated codecs, so more information is needed to tell what the codec really is. On the general topic of FAXing over VoIP did you look at http://www.opencall.org/faq ? If your VoIP provider is half decent, they should be able to deliver FAX to you by T.38 Regards, Steve David Gurr wrote:>I have no analog line interfaces on my asterisk system, but I do have two UK >0870 numbers routed to two separate VoIP accounts (one with FWD, one with >gossiptel). Asterisk is configured to register with these accounts. I get >voice calls through just fine this way. > >I thought I could get one of these 0870 numbers to route through to rxfax, >thus allowing folks to fax me directly. > >I've set up the spandsp stuff accordingly, and sure enough the CLI shows >that the call is getting answered and rxfax is starting up, but then I get >the following messages and no fax: > > -- Executing SetVar("SIP/9304499-4208", >"FAXFILE=/var/spool/asterisk/fax/1090917308.5.tif") in new stack > -- Executing RxFAX("SIP/9304499-4208", "$FAXFILE") in new stack >Jul 27 09:35:48 NOTICE[22545]: rtp.c:434 ast_rtp_read: Unknown RTP codec 96 >received >Jul 27 09:35:49 NOTICE[22545]: rtp.c:434 ast_rtp_read: Unknown RTP codec 96 >received > >Here's the relevant section from my sip.conf: > > [gossiptel] > secret=secret > username=9304499 > host=sip.gossiptel.com > type=peer > dtmfmode=rfc2833 > fromuser=9304499 > fromdomain=sip.gossiptel.com > >I've tried dtmfmode=inband too, with the same behaviour. > >I've a sneaking suspicion that the PSTN->VoIP gateway needs to recognise the >call as a faxcall and do the signalling appropriately, and that Gossiptel >doesn't do this. If that's the case, anyone know of a gateway that does >handle fax? > >Thanks > >-- >David Gurr >Congruity Ltd. > >_______________________________________________ >Asterisk-Users mailing list >Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users >To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > >