Don't show status on DAHDI Extensions
-
I have trouble with status of extensions on DAHDI.
I set up much extensions in elastix as DAHDI devices, such as "DAHDI/i9/19", but corresponding buttons don't show status, when I make call to or from extensions.
However status of DAHDI trunks work well, that is, I see on trunks channels and phone numbers. -
Look at how the autoconfiguration is setting the device names ( run /usr/local/fop2/autoconfig-buttons-freepbx.sh ), and compare those names with active channel names when you are on a call ( asterisk -rx "core show channels" ). If the device names are different, you won' t see status, you have to use in fop2 the same device name as an active channel. If the autoconfiguration fails to guess the number, you will have to create some manual configuration fro your dahdi extensions.
-
autoconfiguration sets such device names:
[DAHDI/i9/55]
type=extension
extension=55
...
bun, when I call from 55 to 591600, the command asterisk -rx "core show channels" shows
...
DAHDI/i9/55-40a3 s@macro-dialout-trun Ring Dial(DAHDI/g2/591600,300,T)
...
and number -40a3 changes from call to call -
The session id is normal and it is removed by fop2, so the device names are the same. If they are advertised as such in AMI, then it must work... (edited) but perhaps the double slash is troublesome. Try to capture events from AMI using fop2_server in debug level 1 when you make a call with that extension and send the capture to me so I can replay it locally
service fop2 stop
cd /usr/local/fop2
script capture.log
./fop2_server -X 1(do your call)
ctrl-C
exit(send me the capture.log file via private email/post)
-
-
-
I found, why status doesn't showed:
when I call from SIP phone, registered in FOP2 as SIP/155 in log this string appears:
GET CHANNEL input (SIP/155-00006e9a) - output (SIP/155)and status of button SIP/155 is shown
but when I call from phone, registered in FOP2 as DAHDI/i9/55 in log this:
GET CHANNEL input (DAHDI/i9/55-71ca) - output (DAHDI/I9)although must be some, like this
GET CHANNEL input (DAHDI/i9/55-71ca) - output (DAHDI/i9/55) -
-
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login