[AsteriskBrasil] Monast não Ramais SIP

Daviramos Roussenq Fortunato daviramosrf em gmail.com
Quinta Junho 21 10:30:16 BRT 2012


Pessoal executando na CLI " manager show commands "recebo o seguinte
resultado:

pabx*CLI> manager show commands
  Action           Privilege        Synopsis
  ------           ---------        --------
  AbsoluteTimeout  call,all         Set Absolute Timeout
  AgentCallbackLo  agent,all        Sets an agent as logged in by callback
  AgentLogoff      agent,all        Sets an agent as no longer logged in
  Agents           agent,all        Lists agents and their status
  ChangeMonitor    call,all         Change monitoring filename of a channel
  Command          command,all      Execute Asterisk CLI Command
  DBGet            system,all       Get DB Entry
  DBPut            system,all       Put DB Entry
  Events           <none>           Control Event Flow
  ExtensionState   call,all         Check Extension Status
  GetConfig        config,all       Retrieve configuration
  Getvar           call,all         Gets a Channel Variable
  Hangup           call,all         Hangup Channel
  IAXnetstats      <none>           Show IAX Netstats
  IAXpeers         <none>           List IAX Peers
  ListCommands     <none>           List available manager commands
  Logoff           <none>           Logoff Manager
  MailboxCount     call,all         Check Mailbox Message Count
  MailboxStatus    call,all         Check Mailbox
  MeetmeMute       call,all         Mute a Meetme user
  MeetmeUnmute     call,all         Unmute a Meetme user
  Monitor          call,all         Monitor a channel
  Originate        call,all         Originate Call
  Park             call,all         Park a channel
  ParkedCalls      <none>           List parked calls
  PauseMonitor     call,all         Pause monitoring of a channel
  Ping             <none>           Keepalive command
  PlayDTMF         call,all         Play DTMF signal on a specific channel.
  QueueAdd         agent,all        Add interface to queue.
  QueuePause       agent,all        Makes a queue member temporarily
unavailable
  QueueRemove      agent,all        Remove interface from queue.
  Queues           <none>           Queues
  QueueStatus      <none>           Queue Status
  Redirect         call,all         Redirect (transfer) a call
  SetCDRUserField  call,all         Set the CDR UserField
  Setvar           call,all         Set Channel Variable
  Status           call,all         Lists channel status
  StopMonitor      call,all         Stop monitoring a channel
  UnpauseMonitor   call,all         Unpause monitoring of a channel
  UpdateConfig     config,all       Update basic configuration
  UserEvent        user,all         Send an arbitrary event
  WaitEvent        <none>           Wait for an event to occur
pabx*CLI>

Os comandos Sip não são listados, já na maquina Física são listados
normalmente:

pabx*CLI> manager show commands
  Action           Privilege        Synopsis
  ------           ---------        --------
  AbsoluteTimeout  call,all         Set Absolute Timeout
  AgentCallbackLo  agent,all        Sets an agent as logged in by callback
  AgentLogoff      agent,all        Sets an agent as no longer logged in
  Agents           agent,all        Lists agents and their status
  ChangeMonitor    call,all         Change monitoring filename of a channel
  Command          command,all      Execute Asterisk CLI Command
  DAHDIDialOffHoo  <none>           Dial over channel while offhook
  DAHDIDNDoff      <none>           Toggle channel Do Not Disturb status OFF
  DAHDIDNDon       <none>           Toggle channel Do Not Disturb status ON
  DAHDIHangup      <none>           Hangup Channel
  DAHDIRestart     <none>           Fully Restart channels (terminates
calls)
  DAHDIShowChanne  <none>           Show status channels
  DAHDITransfer    <none>           Transfer Channel
  DBGet            system,all       Get DB Entry
  DBPut            system,all       Put DB Entry
  Events           <none>           Control Event Flow
  ExtensionState   call,all         Check Extension Status
  GetConfig        config,all       Retrieve configuration
  Getvar           call,all         Gets a Channel Variable
  Hangup           call,all         Hangup Channel
  IAXnetstats      <none>           Show IAX Netstats
  IAXpeers         <none>           List IAX Peers
  ListCommands     <none>           List available manager commands
  Logoff           <none>           Logoff Manager
  MailboxCount     call,all         Check Mailbox Message Count
  MailboxStatus    call,all         Check Mailbox
  MeetmeMute       call,all         Mute a Meetme user
  MeetmeUnmute     call,all         Unmute a Meetme user
  Monitor          call,all         Monitor a channel
  Originate        call,all         Originate Call
  Park             call,all         Park a channel
  ParkedCalls      <none>           List parked calls
  PauseMonitor     call,all         Pause monitoring of a channel
  Ping             <none>           Keepalive command
  PlayDTMF         call,all         Play DTMF signal on a specific channel.
  QueueAdd         agent,all        Add interface to queue.
  QueuePause       agent,all        Makes a queue member temporarily
unavailable
  QueueRemove      agent,all        Remove interface from queue.
  Queues           <none>           Queues
  QueueStatus      <none>           Queue Status
  Redirect         call,all         Redirect (transfer) a call
  SetCDRUserField  call,all         Set the CDR UserField
  Setvar           call,all         Set Channel Variable
  SIPpeers         system,all       List SIP peers (text format)
  SIPshowpeer      system,all       Show SIP peer (text format)
  Status           call,all         Lists channel status
  StopMonitor      call,all         Stop monitoring a channel
  UnpauseMonitor   call,all         Unpause monitoring of a channel
  UpdateConfig     config,all       Update basic configuration
  UserEvent        user,all         Send an arbitrary event
  WaitEvent        <none>           Wait for an event to occur
  ZapDialOffHook   <none>           Dial over channel while offhook
  ZapDNDoff        <none>           Toggle channel Do Not Disturb status OFF
  ZapDNDon         <none>           Toggle channel Do Not Disturb status ON
  ZapHangup        <none>           Hangup Channel
  ZapRestart       <none>           Fully Restart channels (terminates
calls)
  ZapShowChannels  <none>           Show status channels
  ZapTransfer      <none>           Transfer Channel
pabx*CLI>

Quando dou um module load chan_sip.so na maquina física recebo o seguinte:

== Manager registered action SIPpeers
  == Manager registered action SIPshowpeer
 Loaded chan_sip.so => (Session Initiation Protocol (SIP))


Ao meio dia vou derrubar o chan_sip.so na maquina virtual, e tenta pegar
algum logger que mostre o motivo pelo qual os comandos não estão subindo.


Alguém já passou por isso?

Em 20 de junho de 2012 16:19, Daviramos Roussenq Fortunato <
daviramosrf em gmail.com> escreveu:

> Boa Tarde Lista.
>
> A alguns dias migrei uma maquina Física para Virtual, e o único problema
> que estou enfrentando e com o Monast, ele simplesmente não lista os PEERS
> SIP.
>
> no modo DEBUG recebo o seguinte:
>
> [Wed Jun 20 16:12:54 2012] DEBUG    :: Server PABX :: Requesting SIP
> Peers...
> [Wed Jun 20 16:12:54 2012] ERROR    :: Server PABX :: Error Requesting SIP
> Peers, reason: {'message': 'Invalid/unknown command', 'response': 'Error',
> 'actionid'
>
> Na maquina física funcionava 100%.
> O Monast está na Versão 3.0b4 e o Asterisk 1.4.26.1
>
> DagMoller, qual seria o comando via AMI a ser feito para trazer os PEERS
> SIP para que eu possa testar diretamente no asterisk?
>
>
> --
> Atenciosamente
> Daviramos Roussenq Fortunato
>



-- 
Atenciosamente
Daviramos Roussenq Fortunato
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: http://listas.asteriskbrasil.org/pipermail/asteriskbrasil/attachments/20120621/c01e7f89/attachment-0001.htm 


Mais detalhes sobre a lista de discussão AsteriskBrasil