[Asterisk-Users] testing asterisk on FXS lines

Michael George george at auroravideosys.com
Wed May 26 04:18:44 MST 2004


On May 24, 2004, at 5:29 PM, Jay Milk wrote:
> For $49.99+S&H I can sell you an FXO/FXS test-cable... just kidding.
> Use a regular RJ11 cable to connect one of your FXS ports to the FXO
> port you want to test, pick up another FXS and dial the extension... 
> and
> you're promptly delivered to the [incoming] context.  I test all my FXO
> configs using a Sipura FXS port to make it ring.  I'd still like that
> $50 though :)

Oh, this is a good idea.  I guess I didn't think about being able to do 
that.  Excellent!

Thanks!

> -----Original Message-----
> From: asterisk-users-admin at lists.digium.com
> [mailto:asterisk-users-admin at lists.digium.com] On Behalf Of Michael
> George
> Sent: Monday, May 24, 2004 3:57 PM
> To: asterisk-users at lists.digium.com
> Subject: Re: [Asterisk-Users] testing asterisk on FXS lines
>
>
> On May 24, 2004, at 4:00 PM, Michael George wrote:
>> I am configuring an asterisk server and I want to test the incoming
>> configuration with my FXS handsets.
>>
>> I have the FXS lines able to call eachother and they can connect out
>> the FXO lines.
>>
>> I changed the context for the FXS lines to "incoming" so that they
>> would be able to test the setup for incoming calls.
>>
>> For the incoming context I have:
>> [incoming]
>> exten => s,1,Wait(1)
>> exten => s,2,Answer()
>> exten => s,3,Background(hello2) ; this is the file I need to test the
>> playback of first
>>
>> And I do a restart.  When I pickup one of the FXS handsets, though, I
>> get this from asterisk (running with the -vvvc arg):
>> 	Starting simple switch on 'Zap/1-1'
>> and that is it.
>>
>> I know that the context is right because I put a hard-dial of "202" in
>> there and when I dialed it, it would connect to that extension (Zap/2)
>
>> and if I dialed anything else I would get fast busy.
>>
>> I have checked and the line right after the last exten above is
>> another context marker.
>>
>> The asterisk output also shows the s extensions being loaded under the
>> correct context when I do a reload after the restart (to see just the
>> messages from the contexts being loaded).
>>
>> What am I missing to get the FXS lines, in the context "incoming", to
>> do the wait/answer/background?
>>
>> Thanks!
>
> For some reason, the s extension is not being executed for the FXS
> lines.  I changed their default context back to "internal" and added
> "exten => s,1,Background(hello2)" to the internal context, thinking
> that when I pick up the handset I will get the hello2 audio file played
> as it waits for me to enter digits.
>
> But the audio file is not played...  I must be missing an essential
> concept here...
>
> -Michael
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at 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
>
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at 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
>
>

-Michael




More information about the asterisk-users mailing list