[AsteriskBrasil] Dúvida : Extrair informação do cabeçalho SIP

Vinícius Bossle Fagundes viniciusbossle em gmail.com
Sexta Fevereiro 17 09:46:54 BRST 2017


Caros,

Como vocês fazem para pegar a informação abaixo? Hoje eu pego via log e
queria ver se a galera ai tem alguma forma mais interessante de extrair
essa informação.

[2017-02-17 09:28:54] VERBOSE[16773] chan_sip.c:
<--- SIP read from UDP:x.x.x.x:5060 --->
*SIP/2.0 503 Service Unavailable*
Via: SIP/2.0/UDP
x.x.x.x:5060;received=x.x.x.x;branch=z9hG4bK6ff5c9f9;rport=5060
From: <sip:z at x.x.x.x>;tag=as024d69f0
To: <sip:y at x.x.x.x:5060>;tag=as1bb55d47
Call-ID: 7c5731fc36e9a65f25684145617b125e at x.x.x.x
CSeq: 103 INVITE
Server: Operadora
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO,
PUBLISH
Supported: replaces
Content-Length: 0

<------------->
[2017-02-17 09:28:54] VERBOSE[16773] chan_sip.c: --- (10 headers 0 lines)
---
[2017-02-17 09:28:54] VERBOSE[16773][C-0000014d] chan_sip.c:     -- Got SIP
response *503 "Service Unavailable"* back from x.x.x.x:5060

Abraço,

Vinicius Bossle Fagundes
viniciusbossle at gmail.com (e-mail, msn, gtalk, skype)
+55 (48) 99161-1609 (TIM)



  <https://mailtrack.io/> Sent with Mailtrack
<https://mailtrack.io/install?source=signature&lang=en&referral=viniciusbossle@gmail.com&idSignature=22>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://asteriskbrasil.org/pipermail/asteriskbrasil/attachments/20170217/4ec03a36/attachment.html>


Mais detalhes sobre a lista de discussão AsteriskBrasil