..sip_additional_custom.conf and how do I "include the from-internal context"

markcrobinson
Posts: 43
Member Since:
2009-06-30

http://trixbox.org/forums/trixbox-forums/help/sip-phone-ip0020-tr...

Toward the bottom of this post:
http://trixbox.org/forums/trixbox-forums/help/sip-phone-ip0020-tr...

I was told to:
put the extension code in sip_additional_custom.conf and include the from-internal context.
I am having a problem implementing this advice I got in another thread and have not received an answer. Thought someone might be able to help.

I have a
sip_additional.conf file and a
sip_custom.conf
but no
sip_additional_custom.conf

I have put this code into sip_additional.conf
[120] My Extension
type=peer
canreinvite=no
dtmfmode=rfc2833
nat=no
context=default
insecure=very
host=192.168.1.220 IP of the Phone

I'm not sure if this is the right place.
The phone works, but will not ring when I dial its extension
probably because I don't know how to "include the from-internal context"

--

System Status Version: 2.6.2.2
Snom 300 Phones

Mark C. Robinson
HandicappedPets.com
For caretakers of Elderly, Disabled, and Special Needs dogs, cats, and other animals.



SkykingOH
Posts: 9541
Member Since:
2007-12-17
It's sip_custom.conf sorry

It's sip_custom.conf sorry about that.

As I said the context needs to be from-internal.

To integrate to dial plan create a custom extension with the dial string sip/120 or whatever you use.

Don't put any comments after the peer name in brackets (you have my extension, this is stray text).

I suggest you read the chapter on SIP peers in www.asteriskdocs.org so you understand what you are doing.

--

Scott

aka "Skyking"



markcrobinson
Posts: 43
Member Since:
2009-06-30
Thank you! I really

Thank you!
I really appreciate the help. I've downloaded the reference you suggested and will start my way working through it. I doubt it will mean much, though. I set up Asterisk from the install disk - works great, as does my whole VOIP system, but I'm just beginning to learn the finer points.

Problem is, you're levels and levels above me.

A) I don't what
"the context needs to be from-internal"
suggests that I do. Is there a setting in the SIP Config file for "Context?"

B) The sentence
"To integrate to dial plan..." doesn't seem to make sense to me. Is this a typo or am I missing a point.

C) create a custom extension with the dial string sip/120
Can you tell me how I would do this?

Functionally, although I've had years of professional experience with PC's, networks, and software I've had limited unix experience and this is my first stab at VOIP. I realize that this level of newbieness may be insulting -- to go into this not knowing what a context is may seem like a bad move.

Hope you'll help.

System Status Version: 2.6.2.2
Snom 300 Phones

Mark C. Robinson
HandicappedPets.com
For caretakers of Elderly, Disabled, and Special Needs dogs, cats, and other animals.

--

System Status Version: 2.6.2.2
Snom 300 Phones

Mark C. Robinson
HandicappedPets.com
For caretakers of Elderly, Disabled, and Special Needs dogs, cats, and other animals.



SkykingOH
Posts: 9541
Member Since:
2007-12-17
Mark, It has nothing to do

Mark,

It has nothing to do with perceived levels. Many people think I hold back information and that is not true. What I won't do is tell you to change xx line to this. I will give you an example of what worked in another environment if I have one. It's up to the user to determine if the change is appropriate.

Every day we see the desperate pleas of users that have typed a command or changed something and dropping production systems.

You are asking for info to setup an unsupported phone. This is not something you want to do without understanding peers and contexts. These are also not hard concepts to understand.

I wanted to make sure you understood my position so that you didn't think I was being an a***ole.

Setup a playground system in a virtual machine with a few softphones. The use of the config files is documented at the top of each one of them. Start making little customizations and then move on to the big stuff.

Good luck...

--

Scott

aka "Skyking"



markcrobinson
Posts: 43
Member Since:
2009-06-30
I know you're helping a great deal

Thank you, I didn't mean to suggest you were withholding stuff, just that you may have made an assumption that I know something that I dont.

This is a playground environment. I have a working system with SNOM 300 phones, but I want a cheap phone for the stockroom.

The bug question I had was:

"What do you mean by ""the context needs to be from-internal""

System Status Version: 2.6.2.2
Snom 300 Phones

Mark C. Robinson
HandicappedPets.com
For caretakers of Elderly, Disabled, and Special Needs dogs, cats, and other animals.

--

System Status Version: 2.6.2.2
Snom 300 Phones

Mark C. Robinson
HandicappedPets.com
For caretakers of Elderly, Disabled, and Special Needs dogs, cats, and other animals.



SkykingOH
Posts: 9541
Member Since:
2007-12-17
The context= needs to be set

The context= needs to be set to from-internal

Scott

--

Scott

aka "Skyking"



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.