FXS/FXO question

General discussions about AsteriskNOW.

Moderators: Moderator, Support

FXS/FXO question

Postby pgoge » Wed Aug 31, 2011 10:59 am

Hi,

In my test environment setup, i have 8 port FXO and 4 port FXS cards installed in a linux test pc. I have a loopback cable going from one FXO port to one FXS port on those cards.
On the same linux machine, i have asterisk and sipp running. SIPP registers a SIP user with asterisk. When i send invite from SIPP to extension 201, the call keeps looping back, below are the config files content and asterisk log:
Can someone help me figuring out what the problem is? Thanks!
---------------------Asterisk log-----------------------------------------------------------------------------------------------
Asterisk Ready.
== Parsing '/etc/asterisk/cli.conf': == Found
*CLI> == Using SIP RTP CoS mark 5
-- Executing [201@incoming:1] Answer("SIP/1000-00000000", "") in new stack
-- Executing [201@incoming:2] Dial("SIP/1000-00000000", "DAHDI/27") in new stack
-- Called 27
-- DAHDI/27-1 is ringing
-- DAHDI/27-1 is ringing
-- Starting simple switch on 'DAHDI/1-1'
-- Executing [s@internal:1] Answer("DAHDI/1-1", "") in new stack
-- Executing [s@internal:2] NoOp("DAHDI/1-1", "s") in new stack
-- Executing [s@internal:3] Hangup("DAHDI/1-1", "") in new stack
== Spawn extension (internal, s, 3) exited non-zero on 'DAHDI/1-1'
-- Hanging up on 'DAHDI/1-1'
-- Hungup 'DAHDI/1-1'
-- DAHDI/27-1 is ringing
-- Starting simple switch on 'DAHDI/1-1'
-- DAHDI/27-1 is ringing
-- Executing [s@internal:1] Answer("DAHDI/1-1", "") in new stack
-- Executing [s@internal:2] NoOp("DAHDI/1-1", "s") in new stack
-- Executing [s@internal:3] Hangup("DAHDI/1-1", "") in new stack
== Spawn extension (internal, s, 3) exited non-zero on 'DAHDI/1-1'
-- Hanging up on 'DAHDI/1-1'
-- Hungup 'DAHDI/1-1'
-- DAHDI/27-1 is ringing
-- Starting simple switch on 'DAHDI/1-1'
core stop now -- DAHDI/27-1 is ringing
------------------------------------------------------------------------------------------
------------------------------extension.conf-------------------------------------------

[internal]
exten => s,1,Answer
same => n,noop(${EXTEN})
;same => n,Playback(goodbye)
same => n,Hangup

[incoming]
exten => 201,1,Answer()
exten => 201,2,Dial(DAHDI/27)
exten => 201,3,Hangup(DAHDI/27)
-----------------------------------------------------------------------------------------------
--------------------------chan_dahdi.conf------------------------------------------------

context=incoming
signaling=fxo_ks
channels=>25,26,27,28

context=internal
signaling=fxs_ks
channels => 1,2,3,4,5,6,7,8
------------------------------------------------------------------------------------------
-----------------------------------------system.conf----------------------------------
fxoks=25,26,27,28
fxsks=1,2,3,4,5,6,7,8
pgoge
Newsterisk
 
Posts: 1
Joined: Wed Aug 31, 2011 10:32 am

Return to AsteriskNOW General

Who is online

Users browsing this forum: No registered users and 1 guest