[asterisk-users] dialplan question

Vasiliy G Tolstov v.tolstov at selfip.ru
Tue Apr 27 06:31:07 CDT 2010


Hello. I'm new with asterisk. Can you help me in this:
I have cisco sip phone (601) connected to asterisk server, and 1 client
number (500).
I want to dial from 601 to 500.

But get error in cli console:
[Apr 27 15:30:15] NOTICE[9650]: chan_sip.c:20059 handle_request_invite:
Call from '601' to extension '500' rejected because extension not found.

What's wrong?

extensions.conf:

[office]
exten => 601,1,Answer()
exten => 601,2,Wait,2
exten => 601,3,Dial(SIP/601,20)
exten => 601,4,Hangup()

exten => 500,1,Answer()
exten => 500,2,Wait,2
exten => 500,3,Dial(SIP/500,20)
exten => 500,4,Hangup()

sip.conf:

[601]
deny=0.0.0.0/0.0.0.0
context=office
type=friend
secret=601
qualify=yes
;port=5060
permit=0.0.0.0/0.0.0.0
nat=no
mailbox=601 at device
host=dynamic
dtmfmode=rfc2833
dial=SIP/601
canreinvite=no
callgroup=1
pickupgroup=1 
callerid=device <601>
accountcode=
call-limit=50

[500]
deny=0.0.0.0/0.0.0.0
username=500
context=office
type=friend
secret=500
qualify=yes
;port=5060
permit=0.0.0.0/0.0.0.0
nat=no
mailbox=500 at device
host=dynamic
dtmfmode=rfc2833
dial=SIP/500
canreinvite=no
callgroup=1
pickupgroup=1 
callerid=device <500>
accountcode=
call-limit=50




-- 
Vasiliy G Tolstov <v.tolstov at selfip.ru>
Selfip.Ru




More information about the asterisk-users mailing list