[asterisk-users] Sangoma FXS dialmap

cb cb at mythtech.net
Thu May 14 09:54:23 CDT 2009


On May 13, 2009, at 10:50 AM, Doug Lytle wrote:

>> I have a Sangoma A400 card with two FXS ports. They work fine,
>> however as I have analog phones connected, I have no way of telling
>> the phone I am done dialing. Pressing # works fine, but then Asterisk
>>
>
> That's what the digit and response timeouts are for.  I have:
>
> ; ************
> ; Set Timeouts
> ; ************
>
> exten => s,n,Set(TIMEOUT(response)=8)
> exten => s,n,Set(TIMEOUT(digit)=2)



I'm sorry to be really thick here, but where exactly would I place  
these lines. This is probably due to my misunderstanding of the  
sequence of things, so it may be obvious and I'm just not getting it.

I have my FXS extensions defined in my zapata.conf file, but that  
doesn't seem like the right place to put what looks like dialplan  
commands. My sip phones are likewise all configured in sip.conf (and  
not really an issue here as those have their own dialmaps and handle  
all this without a problem).

The above lines look like they belong in the extensions.conf, but I  
thought that was only called once a phone sent the dial string to  
asterisk. Thus my confusion of setting timeout values for a phone  
connected to an FXS port in an area that I though it didn't look at  
until after the FXS port sent the dialing (and naturally I'm trying  
to get the phone/FXS port to send the dialing).

Again, this is probably due to my misunderstanding of how, when, and  
where things are called, so the answer as to where to put the above  
commands may be obvious to others. But I didn't want to just take a  
guess and risk screwing things up.

Where is the correct place to put those two commands so my analog  
phones connected to the FXS ports will use them to decide when  
dialing has completed.

Thanks again!

-chris
<www.mythtech.net>





More information about the asterisk-users mailing list