Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.




4377 posts

Uber Geek

Trusted

#112813 21-Dec-2012 14:29
Send private message

I have an Asterisk box with a Atcom AX400 card in it with an FXO module. All incoming calls come to the line on the trunk card and then if that line is busy they step to some SIP trunks.

This line has just been enabled with faxability and is causing some issues for me. I think I have a small clue how to go about fixing this but just wanted some gurus to have a look over it first.

I think I need to add something in to dahdi-channels.conf so that it looks at the ringing cadence and then sends them to appropriate contexts. What I will do is send the normal ring to the zaptel context to give it a DDI and then the distinct ring will go to a context that goes no where until such a time the fax answers.

I know there is 'usedistinctiveringdetection' but don't really know what to put with it to make it here the rings.

Any help much appreciated.

Create new topic
391 posts

Ultimate Geek

Trusted

  #736049 21-Dec-2012 15:01
Send private message

From my vague memory of doing this back in 2005 or so you need something like;

usedistinctiveringdetection=yes
distinctiveringaftercid=yes # Specifically needed for NZ/AU
dring1=1,2,3
dring1context=foo
dring2=2,3,4
dring1context=bar

You will need to work out the 1,2,3 and 2,3,4 numbers yourself, Asterisk can generate them to show you on the verbose console when an incoming call comes in.






4377 posts

Uber Geek

Trusted

  #736818 24-Dec-2012 11:51
Send private message

Just an update...
Added this to the dahdi-channels.conf file

usedistinctiveringdetection=yes
distinctiveringaftercid=yes

dring1=100,0,0
dring1context=from-zaptel
dring1range=10

dring2=249,221,189
dring2context=from-pstn-5565
dring2range=10


Works really well. At first in my from-pstn-5565 I just had wait for 30 seconds and then hangup. But of course it would put a loop on the line and stop the fax receiving. Luckily I had a station module for the Atcom card. Made the fax an analogue extension off the system and then made my custom context go to that extension.
I thought about just making the custom context assign a CID to the channel and then use an inbound route to send the call to the fax but wasn't sure if Asterisk would screw with it on the way. By sending it straight to the extension I hope I have done the right thing. Seems to all work well though.

 
 
 
 


391 posts

Ultimate Geek

Trusted

Create new topic



Twitter and LinkedIn »



Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

New online learning platform for kids stuck at home during COVID-19 lockdown
Posted 26-Mar-2020 21:35


New 5G Nokia smartphone unveiled as portfolio expands
Posted 26-Mar-2020 17:11


D-Link ANZ launches wireless AC1200 4G LTE router
Posted 26-Mar-2020 16:32


Ring introduces two new video doorbells and new pre-roll technology
Posted 17-Mar-2020 16:59


OPPO uncovers flagship Find X2 Pro smartphone
Posted 17-Mar-2020 16:54


D-Link COVR-2202 mesh Wi-Fi system now protected by McAfee
Posted 17-Mar-2020 16:00


Spark Sport opens its platform up to all New Zealanders at no charge
Posted 17-Mar-2020 10:04


Spark launches 5G Starter Fund
Posted 8-Mar-2020 19:19


TRENDnet launches high-performance WiFi Mesh Router System
Posted 5-Mar-2020 08:48


Sony boosts full-frame lens line-up with introduction of FE 20mm F1.8 G large-aperture ultra-wide-angle prime Lens
Posted 5-Mar-2020 08:44


Vector and Spark teamed up on smart metering initiative
Posted 5-Mar-2020 08:42


Schneider Electric launches new PDL Pro Series designed specifically for the commercial building market
Posted 5-Mar-2020 08:39


Kiwi app Pedigree DentaStix Studios uses pet images to counter impact of negative social media Content
Posted 5-Mar-2020 08:32


Samsung expands to New Zealand in 5G Networks Deal with Spark
Posted 5-Mar-2020 08:17


New Vodafone mobile data plans with unlimited data
Posted 26-Feb-2020 06:55



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.