Polarity Switch / Call Progress Indications

mickwilli
Posts: 33
Member Since:
2007-02-07

Hi all,

I have another question in regards to the polarity switch feature of my Digium TDM410P card.
There is the option for hang up on polarity switch which I have enabled and that seams to work fine.
I also happen to have a 2N EasyGate GSM gateway which can send 'call progress indications'. The problem is that the 2N unit sends a polarity switch to indicate the start of an outgoing call, which the phone systems interprets as the remote party hanging up, when they have actually just answered the call.
According to 2N, this is the expected behaviour and there is more configuration required on the Digium card.
To add an extra degree of complication to the problem, from what I can find out, the phone company only sends a polarity switch at the end of a call, which is what I would have expected.

Does anybody know of a way to get the phone system to understand what is going on with both the EasyGate and the PSTN line?

Thanks,

Michael



Kbedford
Posts: 187
Member Since:
2008-06-12
According

According to
http://www.asteriskguide.com/mediawiki/index.php/Analog_Channels

There are two options to specify

answeronpolarityswitch=yes
hanguponpolarityswitch=yes

You may want to specify these settings individualy per port rather than globally seeing as the phone company line behaves differently from the EasyGate.



mickwilli
Posts: 33
Member Since:
2007-02-07
It worked!

I have tired that setting and that does work well for the easy gate.
I have applied the setting globally for the time being and once I have the phone line setup for polarity switch I will see how the system responds.
If I wanted to define it for one particular channel, which config file would I use? I really should know the answer for that by now!

Thanks for your help.

Michael



Kbedford
Posts: 187
Member Since:
2008-06-12
You define the individual

You define the individual channel settings in zapata.conf now dahdi.conf (i think) and you just re specify or override each setting before you specify the channel to which it applies.

You may need to re structure things a bit to make that work.

check out http://www.voip-info.org/wiki/view/Asterisk+config+zapata.conf for ideas

ie

signalling=fxo_ks
language=en
context=reception
channel => 1

signalling=fxo_ks
language=fr
context=sales
channel => 2



mickwilli
Posts: 33
Member Since:
2007-02-07
Cool

Well that looks straight forward enough to me.

Thanks.



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.