[asterisk-dev] DAHDI FXO port only recognizes the "S" extension
Leif Madsen
leif.madsen at asteriskdocs.org
Wed Sep 29 06:41:34 CDT 2010
On 10-09-29 06:24 AM, Tzafrir Cohen wrote:
> On Wed, Sep 29, 2010 at 05:46:47PM +0800, Songtao Yu wrote:
>>
>> Hi All,
>>
>> When I tried to write my dial plan as below for my FXO port, which connects one PSTN line:
>>
>> [from-pstn]
>> exten =>s,1,Answer()
>> exten =>s,n,Wait(1)
>> exten =>_X.,1,Dial(DAHDI/1)
>> exten =>_X.,n,Hangup
>>
>> I got the following message:
>> Connected to Asterisk 1.6.2.13 currently running on fax (pid = 8154)
>> Verbosity was 0 and is now 4
>> -- Starting simple switch on 'DAHDI/1-1'
>> -- Executing [s at from-pstn:1] Answer("DAHDI/1-1", "") in new stack
>> -- Executing [s at from-pstn:2] Wait("DAHDI/1-1", "1") in new stack
>> -- Auto fallthrough, channel 'DAHDI/1-1' status is 'UNKNOWN'
>> -- Hungup 'DAHDI/1-1'
>>
>> But if I changed the "_X." to "S" extension, I can get the whole thing to work well:
>> [from-pstn]
>> exten =>s,1,Answer()
>> exten =>s,n,Wait(1)
>> exten =>s,n,Dial(DAHDI/3)
>> exten =>s,n,Hangup
>>
>> Would you please let me which casuses this issue?
>
> With FXS/FXO signalling the CO does not send the FXO ("phone") the
> dialed number. Hence Asterisk just puts the call on extension 's'.
>
This documentation may also be useful:
http://astbook.asteriskdocs.org/en/2nd_Edition/asterisk-book-html-chunk/asterisk-CHP-5-SECT-2.html#id4125280
Leif.
More information about the asterisk-dev
mailing list