bar top left
bar top right
left curve
right curve
Welcome, Guest
Go to bottom
Post Reply
Post New Topic
Page: 12
TOPIC: FxoTune
#31698
FxoTune 2 Years, 9 Months ago Karma: 1
i have dahdi 2.2 the problem is fxotune doesn't work and gives the following message

/dev/zap/252 absent: No such file or directory


it used to work before i did the upgrade to 2.2

any ideas?

thanks in advance
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
akroom
Junior Boarder
Posts: 61
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#31700
Re:FxoTune 2 Years, 9 Months ago Karma: 156
I believe you refer to fxotune -s

which is run as part of the startup process

consider perusing:

man fxotune

check our /etc/fxotune.conf file,

You probably need to run it manually if you move from zaptel to dahdi.
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
dicko
Ethically, I no longer support PaloSanto, Sorry.
Platinum Boarder
Posts: 4100
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Not available Birthday: 01/21
Last Edit: 2009/07/30 21:34 By dicko.
There are other solutions!!
Reply Quote
 
#31711
Re:FxoTune 2 Years, 9 Months ago Karma: 1
still the same problem, before installing this version of dahdi things were fine and i was not getting that dreaded message.

but now, i think the configuration, somewhere, needs to point to

/dev/dahdi

instead of

/dev/zap

where can i fix this??

thank you
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
akroom
Junior Boarder
Posts: 61
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#31730
Re:FxoTune 2 Years, 9 Months ago Karma: 156
I guess you decided to skip the perusing bit.

stop asterisk (or fxotune won't have access to the trunks)

run fxotune -v -i 2

to set up your dahdi devices (just like it says on the man page, where 2 breaks dialtone on the fxo trunk)

you need to use appropriate -l -m -n -t for your location also. Unless the code knows when to expect silence and when to expect a busy tone cadence (relevant to your location) then there is little point in using fxotune at all, just empty the /etc/fxotune.conf file, your errors will disapper, but you wont have an optimised ec setup.


caveat :

from the man page,

If you connect your device to a PSTN provider that is not in the US, there is a similar operation you should apply before even getting
to fxotune: setting the opermode. The opermode sets a number of country-specific parameters. For the Digium analog cards this is set
through the kernel module parameter
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
dicko
Ethically, I no longer support PaloSanto, Sorry.
Platinum Boarder
Posts: 4100
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Not available Birthday: 01/21
Last Edit: 2009/07/31 12:15 By dicko.
There are other solutions!!
Reply Quote
 
#31767
Re:FxoTune 2 Years, 9 Months ago Karma: 1
no dicko that all was so away from the target.. running fxotune from root directly, makes it point to wrong places..


the solution is (drum sound in the background)

/usr/src/dahdi-tools-2.2.0/fxotune -i 4

that will solve the wrong pointing problem.
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
akroom
Junior Boarder
Posts: 61
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#31768
Re:FxoTune 2 Years, 9 Months ago Karma: 1
dicko what do you mean by:

Well Yosarian you got yourself in a catch 22.

that sounds funny
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
akroom
Junior Boarder
Posts: 61
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#31769
Re:FxoTune 2 Years, 9 Months ago Karma: 156
Joseph Heller's Catch-22, poor old Yosarian couldn't leave the Air Force by saying he was crazy, as a crazy man would never claim he was crazy, therefore Yosarian was in the eyes of the Air Force sane (even though he wasn't !!)
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
dicko
Ethically, I no longer support PaloSanto, Sorry.
Platinum Boarder
Posts: 4100
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Not available Birthday: 01/21
There are other solutions!!
Reply Quote
 
#31771
Re:FxoTune 2 Years, 9 Months ago Karma: 156
Actually as you have two fxotunes on the system. The wrong one is in the path, and as you haven't done the make install in the dahdi-tools directory to correct that situation you will have to be path explicit not just for fxotune but all the dahdi_tools .

Surely Drum-rolls are for success, but if you want one for your work-around, then feel free

(Be careful, if you mix installing by yum, rpm and hand compiling you can get yourself in some really muddy waters)
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
dicko
Ethically, I no longer support PaloSanto, Sorry.
Platinum Boarder
Posts: 4100
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Not available Birthday: 01/21
Last Edit: 2009/07/31 18:12 By dicko.
There are other solutions!!
Reply Quote
 
#31772
Re:FxoTune 2 Years, 9 Months ago Karma: 1
quote" Surely Drum-rolls are for success, but if you want one for your work-around, then feel free

unquote
drum was rolling for the suspence before i had to say the answer not for success

and yes, i've made install for dahdi tools!
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
akroom
Junior Boarder
Posts: 61
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#31773
Re:FxoTune 2 Years, 9 Months ago Karma: 156
Yet it apparently didn't complete successfully or the right fxotune would have been found . . .
However if it works for you . . . (I prefer a more purist philosophy)

[edit]
by purist I mean usually the process is


remove any previously rpm installed versions of the project
make clean
./configure (if neccessary)
make
make install

my guess is you missed the "old rpms and the make clean" bits
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
dicko
Ethically, I no longer support PaloSanto, Sorry.
Platinum Boarder
Posts: 4100
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Not available Birthday: 01/21
Last Edit: 2009/07/31 17:59 By dicko.
There are other solutions!!
Reply Quote
 
Go to top
Post Reply
Post New Topic
Page: 12
Moderators: Bob, jgutierrez
Protected by Spam Fighter