Hello, I’ve managed to edit the sip.conf so that my phones can log in. But i am un sure as to how i edit this in the extensions.conf. Would anyone be able to give me the code if i provided the sip.conf details?
You can post your sip.conf here and we’ll try to help you.
You can read the post “Call failed: 404 Not Found”, maybe you will find the answer.
dtmfmode=rfc2833 ; Choices are inband, rfc2833, or info
mailbox=1000 ; Mailbox for message waiting indicator
callerid=“Phone 2” <1850>
regexten=1234 ; When they register, create extension 1234
callerid=“Nick Edwards” <5678>
host=dynamic ; This device needs to register
allow=gsm ; GSM consumes far less bandwidth than ulaw
mailbox=1234@default,1233@default ; Subscribe to status of multiple mailboxes
I’m not sure what i should have in extensions.conf
You should have in extensions.conf a context named incoming (the same one you declared in sip.conf (context=incoming)). So your extensions.conf should have:
exten => 1234,1,Dial(SIP/phone1)
exten => 1850,1,Dial(SIP/phone2)
The numbers 1234 and 1850 are from sip.conf declarations (regexten=1234 and regexten=1850).
I think you should also put in sip.conf, for phone2: