I received the latest O,Reilly book on Thursday so I am having a go at
understanding the basics.
I only have an old Grandstream BudgeTone 101 and a HT286 ATA to play with, but
they can register on my local network and within Astlinux.
The following are my entries within sip.conf :
[HT286]
type=friend
context=Localsets
recordonfeature=dynamicfeature1
recordofffeature=dynamicfeature2
callerid=HT286
secret = 1234
description=Old Phone
host=dynamic
directmedia=yes
dtmfmode=rfc2833
call-limit=1
;mailbox=1234@default
disallow=all
allow=ulaw
allow=alaw
allow=g723.1
allow=g729
callingpres=allowed_passed_screen
[GS1]
type=friend
context=LocalSets
recordonfeature=dynamicfeature1
recordofffeature=dynamicfeature2
callerid=GS1
secret = 1234
description=Adrians Phone
host=dynamic
directmedia=yes
call-limit=1
;mailbox=1234@default
disallow=all
allow=ulaw
allow=alaw
allow=g723.1
allow=g729
callingpres=allowed_passed_screen
I have removed the comments from it all and it is all based on the Grandstream
entry already in sip.conf
In extensions.conf very basic and following the book I just have the following
[LocalSets]
;
exten => 701,1,Dial(SIP/GS1)
exten => 702,1,Dial(SIP/HT286)
Now the GS1 can dial 702 and the old phone on the ATA will ring but I can not
do it the other way, the old phone will not ring 701.
When I look in the system logs I see this line :
May 24 08:36:32 astpbx local0.notice asterisk[2547]: NOTICE[2568][C-00000006]:
chan_sip.c:25632 in handle_request_invite: Call from 'HT286'
(192.168.1.68:5060) to extension '701' rejected because extension not found in
context 'Localsets'.
I have gone over this for hours and getting no further, can you tell me what I
have not understood?
Cheers
Adrian
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users
Donations to support AstLinux are graciously accepted via PayPal to
[email protected].