Hello! I have a Grandstream and a Cisco SIP phone, and I'm trying to make a call between them. I added this to my sip.conf: ; Grandstream [1001] type=friend host=dynamic ; cisco phone [1002] type=friend host=dynamic It appears that they register correct: grok*CLI> sip show peers Name/username Host Dyn Nat ACL Mask Port Status 1002/1002 192.168.1.14 D 255.255.255.255 5060 Unmonitored 1001/1001 192.168.1.23 D 255.255.255.255 5060 Unmonitored vocal1 (Unspecified) D 255.255.255.255 0 Unmonitored grok*CLI> But, I get a 404 when I try to dial '1002' from my grandstream SIP phone. I'm using the 1.0 cvs tree on RedHat 9. I'm new to Asterisk, so this is most likely a configuration error on my part. Any ideas for how to fix this and/or debug this sort of thing will be appreciated! Thanks, Ben -- Ben Greear <greearb@candelatech.com> Candela Technologies Inc http://www.candelatech.com
On Nov 3, 2004, at 4:16 PM, Ben Greear wrote:> Hello! > > I have a Grandstream and a Cisco SIP phone, and I'm trying to make > a call between them. I added this to my sip.conf: > > ; Grandstream > [1001] > type=friend > host=dynamic > > ; cisco phone > [1002] > type=friend > host=dynamicFirst, what's in your extensions.conf? That controls the flow of calls once they get into the system. There should be a context that has extensions for 1001 and 1002, and sip.conf should direct calls into that extension via a 'context =' line. Running an Asterisk console in verbose mode (asterisk -vvvvvr will connect to a running server) provides a lot of useful debugging information. Scott