[Asterisk-Users] simple iaxmoden configuration

Darrick Hartman dhartman at djhsolutions.com
Fri Feb 17 10:45:44 MST 2006


Christian Lox wrote:
> Hi everyone,
> 
> I am trying to get iaxmodem up and running.
> This is a very basic setup, which at this moment should only answer
> incoming faxes.

> 
> extensions.conf:
> [from-pstn]
> exten => fax,1,Dial(IAX2/200)

> When trying fo fax, all I get is:
> Extension '265399' in context 'default' from '0123456789' does not
> exist.  Rejecting call on channel 0/1, span 1
> 
> 
> When changing the extensions.conf to:
> [default]
> exten => 265399,1,Dial(IAX2/200)
> 
> it is working perfectly.
> 
> Where are the mistakes?

The mistake is you have no "s" extension in [from-pstn]

You might try something like this:

exten => s,1,Wait(1) ;sometimes you need to wait to get callerid
exten => s,2,Answer()
exten => fax,1,Dial(IAX2/200)

You can't tell if it's a fax until it is answered.  Read up on the use 
of the 's' extension.

Darrick
-- 
Darrick Hartman
DJH Solutions, LLC
http://www.djhsolutions.com



More information about the asterisk-users mailing list