[asterisk-users] FXO -> GSM Gateway Problem
Tech
tech at digital-select.com
Thu Apr 19 04:10:35 CDT 2012
Hi Alec and Duncan
Thank you both for taking the time to reply.
Firstly regarding Duncan's post.
The asterisk makes a call fine when the FXO card is connected to a analogue
landline and the GSM Gateway works fine when connected to standard phone
handset. The problem only arises when I connect to GSM Gateway to the FXO
card. Within all 3 scenarios I'm using the same RJ11 to RJ11 cable.
Secondly regarding Alec's post.
I made the changes you suggested in the chan_dahdi.conf, rebooted and
tested. Unfortunately it didn't solve the issue.
Shown below is the new chan_dahdi.conf file and the Asterisk CLI for the
call using them setting.
chan_dahdi.conf
[channels]
signalling=fxs_ks
context=pstnincomming
group=0
answeronpolarityswitch=no
hanguponpolarityswitch=no
channel => 1
Asterisk CLI
== Using SIP RTP CoS mark 5
-- Executing [XXXX at sipofficephone:1] Verbose("SIP/lewisphone-00000006",
"2,Call from VoIP network to XXXX") in new stack
== Call from VoIP network to XXXX
-- Executing [XXXX at sipofficephone:2] Dial("SIP/lewisphone-00000006",
"DAHDI/1/XXXX") in new stack
-- Called DAHDI/1/XXXX
-- DAHDI/1-1 answered SIP/lewisphone-00000006
-- Hanging up on 'DAHDI/1-1'
-- Hungup 'DAHDI/1-1'
== Spawn extension (sipofficephone, XXXX, 2) exited non-zero on
'SIP/lewisphone-00000006'
Best Regards
Lewis
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Alec Davis
Sent: 19 April 2012 00:10
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] FXO -> GSM Gateway Problem
<snip>
>>
>> I have a problem where calling "out" of asterisk when the call is
answered dahdi hangs up immediately.
</snip>
I'd make sure both answeronpolarityswitch and hanguponpolarityswitch are
either commented out or set to no.
from chan_dahdi.conf;
; Use a polarity reversal to mark when a outgoing call is answered by the ;
remote party.
;
;answeronpolarityswitch=yes
;
; In some countries, a polarity reversal is used to signal the disconnect of
a ; phone line. If the hanguponpolarityswitch option is selected, the call
will ; be considered "hung up" on a polarity reversal.
;
;hanguponpolarityswitch=yes
;
Alec Davis
------------------------------------
Hi
I have had issues with wiring for incoming calls causing what looks like a
hangup when answered but in those cases the call stays up and asterisk
thinks its a new call. Have seen it on Avaya too
If it is wiring can you test a different incoming line?
Cheers duncan
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to
Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list