How to find sip show peer file in asterisk wher all sip registration shows [on hold]
up vote
-2
down vote
favorite
How to find sip show peer file in asterisk where all sip registrations peer shows.
asterisk voip
New contributor
put on hold as unclear what you're asking by Jeff Schaller, mdpc, Fabby, Stephen Harris, G-Man Dec 1 at 4:05
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |
up vote
-2
down vote
favorite
How to find sip show peer file in asterisk where all sip registrations peer shows.
asterisk voip
New contributor
put on hold as unclear what you're asking by Jeff Schaller, mdpc, Fabby, Stephen Harris, G-Man Dec 1 at 4:05
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
1
shows...what? Perhaps someone familiar with asterisk would know the answer, but is there any sample input & output you can help the rest of us with?
– Jeff Schaller
Nov 30 at 19:47
add a comment |
up vote
-2
down vote
favorite
up vote
-2
down vote
favorite
How to find sip show peer file in asterisk where all sip registrations peer shows.
asterisk voip
New contributor
How to find sip show peer file in asterisk where all sip registrations peer shows.
asterisk voip
asterisk voip
New contributor
New contributor
New contributor
asked Nov 30 at 19:22
Sourabh Kumar
42
42
New contributor
New contributor
put on hold as unclear what you're asking by Jeff Schaller, mdpc, Fabby, Stephen Harris, G-Man Dec 1 at 4:05
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
put on hold as unclear what you're asking by Jeff Schaller, mdpc, Fabby, Stephen Harris, G-Man Dec 1 at 4:05
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
1
shows...what? Perhaps someone familiar with asterisk would know the answer, but is there any sample input & output you can help the rest of us with?
– Jeff Schaller
Nov 30 at 19:47
add a comment |
1
shows...what? Perhaps someone familiar with asterisk would know the answer, but is there any sample input & output you can help the rest of us with?
– Jeff Schaller
Nov 30 at 19:47
1
1
shows...what? Perhaps someone familiar with asterisk would know the answer, but is there any sample input & output you can help the rest of us with?
– Jeff Schaller
Nov 30 at 19:47
shows...what? Perhaps someone familiar with asterisk would know the answer, but is there any sample input & output you can help the rest of us with?
– Jeff Schaller
Nov 30 at 19:47
add a comment |
1 Answer
1
active
oldest
votes
up vote
-1
down vote
Typically,
- With chan_sip, all of the peer configurations are in
/etc/asterisk/sip.conf
- With chan_pjsip, all of the peer configurations are in
/etc/asterisk/pjsip.conf
However, it's possible they could be elsewhere. The asterisk configurations support directives such as #include
, #exec
, and #tryinclude
which will allow breaking the configuration up into multiple files. That can make it more difficult to trace a peer's configuration back to the file it's in.
If it's not in /etc/asterisk/...
this may help find out where it is.
Via a shell, go to the asterisk console
rasterisk
# or asterisk -r
Within the asterisk console
core show settings
will show all the pertinent directories for where it gets its configurations from. It's useful to know where the main configuration file (asterisk.conf
) is and important to note that it's possible to specify a different Configuration directory
in asterisk.conf
via astetcdir. You'll find that listed by core show settings
as well. For example, this is very common
* Directories
-------------
Configuration file: /etc/asterisk/asterisk.conf
Configuration directory: /etc/asterisk
Module directory: /var/lib/asterisk/modules
Spool directory: /var/spool/asterisk
Log directory: /var/log/asterisk
Run/Sockets directory: /var/run/asterisk
PID file: /var/run/asterisk/asterisk.pid
VarLib directory: /var/lib/asterisk
Data directory: /var/lib/asterisk
ASTDB: /var/lib/asterisk/astdb
IAX2 Keys directory: /var/lib/asterisk/keys
AGI Scripts directory: /var/lib/asterisk/agi-bin
While still in the asterisk console
module show like sip
will help identify whether it's using chan_sip or chan_pjsip.
Back in the shell,
# cd /etc/asterisk/sip.conf # or where ever the core show settings configuration directory is
Look in there for sip.conf
and/or pjsip.conf
and open them with an editor. Read through and if you don't find what you're looking for there then pay special attention to the #exec
, #include
, and/or #tryinclude
directives because they may point you at other files and/or directories that are included.
Asterisk configurations can be very complicated. However, I've found their documentation very well done. It's on their wiki
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
-1
down vote
Typically,
- With chan_sip, all of the peer configurations are in
/etc/asterisk/sip.conf
- With chan_pjsip, all of the peer configurations are in
/etc/asterisk/pjsip.conf
However, it's possible they could be elsewhere. The asterisk configurations support directives such as #include
, #exec
, and #tryinclude
which will allow breaking the configuration up into multiple files. That can make it more difficult to trace a peer's configuration back to the file it's in.
If it's not in /etc/asterisk/...
this may help find out where it is.
Via a shell, go to the asterisk console
rasterisk
# or asterisk -r
Within the asterisk console
core show settings
will show all the pertinent directories for where it gets its configurations from. It's useful to know where the main configuration file (asterisk.conf
) is and important to note that it's possible to specify a different Configuration directory
in asterisk.conf
via astetcdir. You'll find that listed by core show settings
as well. For example, this is very common
* Directories
-------------
Configuration file: /etc/asterisk/asterisk.conf
Configuration directory: /etc/asterisk
Module directory: /var/lib/asterisk/modules
Spool directory: /var/spool/asterisk
Log directory: /var/log/asterisk
Run/Sockets directory: /var/run/asterisk
PID file: /var/run/asterisk/asterisk.pid
VarLib directory: /var/lib/asterisk
Data directory: /var/lib/asterisk
ASTDB: /var/lib/asterisk/astdb
IAX2 Keys directory: /var/lib/asterisk/keys
AGI Scripts directory: /var/lib/asterisk/agi-bin
While still in the asterisk console
module show like sip
will help identify whether it's using chan_sip or chan_pjsip.
Back in the shell,
# cd /etc/asterisk/sip.conf # or where ever the core show settings configuration directory is
Look in there for sip.conf
and/or pjsip.conf
and open them with an editor. Read through and if you don't find what you're looking for there then pay special attention to the #exec
, #include
, and/or #tryinclude
directives because they may point you at other files and/or directories that are included.
Asterisk configurations can be very complicated. However, I've found their documentation very well done. It's on their wiki
add a comment |
up vote
-1
down vote
Typically,
- With chan_sip, all of the peer configurations are in
/etc/asterisk/sip.conf
- With chan_pjsip, all of the peer configurations are in
/etc/asterisk/pjsip.conf
However, it's possible they could be elsewhere. The asterisk configurations support directives such as #include
, #exec
, and #tryinclude
which will allow breaking the configuration up into multiple files. That can make it more difficult to trace a peer's configuration back to the file it's in.
If it's not in /etc/asterisk/...
this may help find out where it is.
Via a shell, go to the asterisk console
rasterisk
# or asterisk -r
Within the asterisk console
core show settings
will show all the pertinent directories for where it gets its configurations from. It's useful to know where the main configuration file (asterisk.conf
) is and important to note that it's possible to specify a different Configuration directory
in asterisk.conf
via astetcdir. You'll find that listed by core show settings
as well. For example, this is very common
* Directories
-------------
Configuration file: /etc/asterisk/asterisk.conf
Configuration directory: /etc/asterisk
Module directory: /var/lib/asterisk/modules
Spool directory: /var/spool/asterisk
Log directory: /var/log/asterisk
Run/Sockets directory: /var/run/asterisk
PID file: /var/run/asterisk/asterisk.pid
VarLib directory: /var/lib/asterisk
Data directory: /var/lib/asterisk
ASTDB: /var/lib/asterisk/astdb
IAX2 Keys directory: /var/lib/asterisk/keys
AGI Scripts directory: /var/lib/asterisk/agi-bin
While still in the asterisk console
module show like sip
will help identify whether it's using chan_sip or chan_pjsip.
Back in the shell,
# cd /etc/asterisk/sip.conf # or where ever the core show settings configuration directory is
Look in there for sip.conf
and/or pjsip.conf
and open them with an editor. Read through and if you don't find what you're looking for there then pay special attention to the #exec
, #include
, and/or #tryinclude
directives because they may point you at other files and/or directories that are included.
Asterisk configurations can be very complicated. However, I've found their documentation very well done. It's on their wiki
add a comment |
up vote
-1
down vote
up vote
-1
down vote
Typically,
- With chan_sip, all of the peer configurations are in
/etc/asterisk/sip.conf
- With chan_pjsip, all of the peer configurations are in
/etc/asterisk/pjsip.conf
However, it's possible they could be elsewhere. The asterisk configurations support directives such as #include
, #exec
, and #tryinclude
which will allow breaking the configuration up into multiple files. That can make it more difficult to trace a peer's configuration back to the file it's in.
If it's not in /etc/asterisk/...
this may help find out where it is.
Via a shell, go to the asterisk console
rasterisk
# or asterisk -r
Within the asterisk console
core show settings
will show all the pertinent directories for where it gets its configurations from. It's useful to know where the main configuration file (asterisk.conf
) is and important to note that it's possible to specify a different Configuration directory
in asterisk.conf
via astetcdir. You'll find that listed by core show settings
as well. For example, this is very common
* Directories
-------------
Configuration file: /etc/asterisk/asterisk.conf
Configuration directory: /etc/asterisk
Module directory: /var/lib/asterisk/modules
Spool directory: /var/spool/asterisk
Log directory: /var/log/asterisk
Run/Sockets directory: /var/run/asterisk
PID file: /var/run/asterisk/asterisk.pid
VarLib directory: /var/lib/asterisk
Data directory: /var/lib/asterisk
ASTDB: /var/lib/asterisk/astdb
IAX2 Keys directory: /var/lib/asterisk/keys
AGI Scripts directory: /var/lib/asterisk/agi-bin
While still in the asterisk console
module show like sip
will help identify whether it's using chan_sip or chan_pjsip.
Back in the shell,
# cd /etc/asterisk/sip.conf # or where ever the core show settings configuration directory is
Look in there for sip.conf
and/or pjsip.conf
and open them with an editor. Read through and if you don't find what you're looking for there then pay special attention to the #exec
, #include
, and/or #tryinclude
directives because they may point you at other files and/or directories that are included.
Asterisk configurations can be very complicated. However, I've found their documentation very well done. It's on their wiki
Typically,
- With chan_sip, all of the peer configurations are in
/etc/asterisk/sip.conf
- With chan_pjsip, all of the peer configurations are in
/etc/asterisk/pjsip.conf
However, it's possible they could be elsewhere. The asterisk configurations support directives such as #include
, #exec
, and #tryinclude
which will allow breaking the configuration up into multiple files. That can make it more difficult to trace a peer's configuration back to the file it's in.
If it's not in /etc/asterisk/...
this may help find out where it is.
Via a shell, go to the asterisk console
rasterisk
# or asterisk -r
Within the asterisk console
core show settings
will show all the pertinent directories for where it gets its configurations from. It's useful to know where the main configuration file (asterisk.conf
) is and important to note that it's possible to specify a different Configuration directory
in asterisk.conf
via astetcdir. You'll find that listed by core show settings
as well. For example, this is very common
* Directories
-------------
Configuration file: /etc/asterisk/asterisk.conf
Configuration directory: /etc/asterisk
Module directory: /var/lib/asterisk/modules
Spool directory: /var/spool/asterisk
Log directory: /var/log/asterisk
Run/Sockets directory: /var/run/asterisk
PID file: /var/run/asterisk/asterisk.pid
VarLib directory: /var/lib/asterisk
Data directory: /var/lib/asterisk
ASTDB: /var/lib/asterisk/astdb
IAX2 Keys directory: /var/lib/asterisk/keys
AGI Scripts directory: /var/lib/asterisk/agi-bin
While still in the asterisk console
module show like sip
will help identify whether it's using chan_sip or chan_pjsip.
Back in the shell,
# cd /etc/asterisk/sip.conf # or where ever the core show settings configuration directory is
Look in there for sip.conf
and/or pjsip.conf
and open them with an editor. Read through and if you don't find what you're looking for there then pay special attention to the #exec
, #include
, and/or #tryinclude
directives because they may point you at other files and/or directories that are included.
Asterisk configurations can be very complicated. However, I've found their documentation very well done. It's on their wiki
answered Nov 30 at 20:33
Joseph Tingiris
1877
1877
add a comment |
add a comment |
1
shows...what? Perhaps someone familiar with asterisk would know the answer, but is there any sample input & output you can help the rest of us with?
– Jeff Schaller
Nov 30 at 19:47