Member
Last active 14 years ago
You can use the dialbox for that, type some letters, it will search in real time in the phonebook, down arrow to select the record and ENTER to dial. Try it, is faster and more convenient than click to dial in the phonebook itself.
Your right. :)
It could be nice if it was possible to click and dial from the FOP2 phone-book. :D
After days of searching and testing, I found the solution. :)
The problem of getting "Got SIP response 486 "Busy Here" back from 192.168.1.2" was caused by a setting in the Linksys adapter.
In Linksys Phone Adapter Configuration I opened
Tab: User1
Selective Call Forward Settings -> Block last Caller: 1000
I removed the value 1000 and ......... :D
@admin: Thanks for your assistance.
buttons.cfg
[SIP/1000] type=extension extension=1000 context=default label=Henk mailbox=1000@default extenvoicemail=*1000@default [SIP/1001] type=extension extension=1001 context=default label=Henk Nokia mailbox=1001@default extenvoicemail=*1001@default
sip.conf
[1000] type=friend username=linksys_fxs_henk callerid="1000" secret=XXXXXX host=dynamic nat=no qualify=yes mailbox=1000@default pickupgroup=1 dtmfmode=inband disallow=all allow=ulaw allow=alaw allow=gsm allow=ilbc allow=speex [1001] type=friend username=henk_nokia callerid="Henk Nokia phone" secret=XXXXXXX host=dynamic nat=no qualify=yes mailbox=1001@default disallow=all allow=ulaw allow=alaw allow=ilbc allow=gsm allow=speex
Up to now I haven't been able to solve it. :roll:
my extensions looks like this:
[default] exten => 1000,1,Dial(SIP/1000,40,rtT) exten => 1000,n,Macro(voicemail,${EXTEN:4}) exten => 1001,1,Dial(SIP/1001,40,rtT) exten => 1001,n,Macro(voicemail,${EXTEN:4})
When I log into FOP2 with extension 1001, I can call extension 1000. :D
When I log into FOP2 with extension 1000, I can not call extension 1001, :o because I get:
== Using SIP RTP CoS mark 5 == Using SIP VRTP CoS mark 6 -- Got SIP response 486 "Busy Here" back from 192.168.1.2 <----Linksys > Channel SIP/1000-00000009 was never answered.
1000 is a DECT phone connected to a Linksys SPA3000
1001 is a Nokia GSM E66 (with SIP enabled)
(p.s. calling extension 1001 from extension 1000 is no problem when I'm NOT using FOP2)
Did you edit the config.php file and created the database for the phonebook? Are the mysql credentials correct?
No I didn't. :oops:
I'm using latest FOP2 with Debian 5.0.4
When I click on 'phonebook' I get, for about a second, a pop-up window (just abouve the phonebook icons) with the text "An error has occured"
If I want to add an entry (by clicking on the add button) I get the same error.
Is there a way to debug? I get no indication what the error could be.
Thanks
Henk
Thanks very much for your answer.
This is ok now. :D
I have an extension 1202 defined in [default], which is connected to a Digium TDM400P (DAHDI/1-1)
exten => 1202,1,NoOp(${CALLERID(all)}) exten => 1202,n,Dial(DAHDI/1,20,rtT) exten => 1202,n,Macro(voicemail,${EXTEN}) exten => 1202,n,Hangup()
In buttons.conf I have configured it as:
[DAHDI/1] type=extension label=Tobie <1202> channel=1
When I want to dial that extension (via FOP2) it can't find it.
Asterisk executes: "s@default"
> Channel SIP/1001-00000003 was answered. == Starting SIP/1001-00000003 at default,trunk,1 failed so falling back to exten 's' -- Executing [s@default:1] NoOp("SIP/1001-00000003", "Time=18.12") in new stack -- Executing [s@default:2] NoOp("SIP/1001-00000003", "Callerid name=Henk Nokia") in new stack -- Executing [s@default:3] NoOp("SIP/1001-00000003", "Callerid number=1001") in new stack .......... ..........
But I don't have an exten 's' in default.
I have an exten 's' in a context [i], which is included in context [default]
So this is what is executed:
[incoming] exten => s,1,NoOp(Time=${STRFTIME(${EPOCH},,%H)}.${STRFTIME(${EPOCH},,%M)}) exten => s,n,NoOp(Callerid name=${CALLERID(name)}) exten => s,n,NoOp(Callerid number=${CALLERID(num)})
What am I doing wrong? Is it the definition in buttons.conf ? Or something else?