PJSIP: Difference between revisions

From Wildsong
Jump to navigationJump to search
Brian Wilson (talk | contribs)
mNo edit summary
Brian Wilson (talk | contribs)
mNo edit summary
 
Line 1: Line 1:
One approach is to use the [https://wiki.asterisk.org/wiki/display/AST/PJSIP+Configuration+Wizard Wizard]
One approach is to use the [https://wiki.asterisk.org/wiki/display/AST/PJSIP+Configuration+Wizard Wizard]
I don't use it, I just use pjsip.conf


I need a basic tutorial on how to set up Asterisk with PJSIP.
From the console,
I have not found one yet.


I am building 13.8.0 with the bundled pjproject. Waiting for the build to complete, in fact.
'''pjsip list endpoints'''
  Endpoint:  <Endpoint/CID.....................................>  <State.....>  <Channels.>
==========================================================================================
  Endpoint:  e4                                                  Unavailable  0 of inf
  Endpoint:  elab                                                Unavailable  0 of inf
  Endpoint:  elab-intercom                                        Unavailable  0 of inf
  Endpoint:  studio                                              Unavailable  0 of inf
  Endpoint:  studio-intercom                                      Unavailable  0 of inf
  Endpoint:  twilio                                              Not in use    0 of inf
Objects found: 6
 
'''pjsip list auths'''
  I/OAuth:  <AuthId/UserName.............................................................>
==========================================================================================
    Auth:  auth-e4/brian
    Auth:  auth-elab/elab
    Auth:  auth-studio/studio
    Auth:  twilio-auth/bellman_termination
Objects found: 4
 
'''pjsip list aors'''
      Aor:  <Aor..............................................>  <MaxContact>
==========================================================================================
      Aor:  e4                                                  1
      Aor:  elab                                                1
      Aor:  elab-intercom                                        1
      Aor:  studio                                              1
      Aor:  studio-intercom                                      1
      Aor:  twilio-aors                                          0
Objects found: 6

Latest revision as of 04:19, 14 June 2018

One approach is to use the Wizard I don't use it, I just use pjsip.conf

From the console,

pjsip list endpoints
 Endpoint:  <Endpoint/CID.....................................>  <State.....>  <Channels.>
==========================================================================================

 Endpoint:  e4                                                   Unavailable   0 of inf
 Endpoint:  elab                                                 Unavailable   0 of inf
 Endpoint:  elab-intercom                                        Unavailable   0 of inf
 Endpoint:  studio                                               Unavailable   0 of inf
 Endpoint:  studio-intercom                                      Unavailable   0 of inf
 Endpoint:  twilio                                               Not in use    0 of inf

Objects found: 6
pjsip list auths

  I/OAuth:  <AuthId/UserName.............................................................>
==========================================================================================

    Auth:  auth-e4/brian
    Auth:  auth-elab/elab
    Auth:  auth-studio/studio
    Auth:  twilio-auth/bellman_termination

Objects found: 4
pjsip list aors

      Aor:  <Aor..............................................>  <MaxContact>
==========================================================================================

     Aor:  e4                                                   1
     Aor:  elab                                                 1
     Aor:  elab-intercom                                        1
     Aor:  studio                                               1
     Aor:  studio-intercom                                      1
     Aor:  twilio-aors                                          0

Objects found: 6