Hello.

Continue to move from chan_sip to res_pjsip.
For the work of my algorithms is very important to know the IP address of all trunks and endpoints (phones).

In the case of chan_sip, I used PeerStatus AMI event through which was received the fact of online/offline and IP Address of endpoint. And requesting AMI SIPshowpeer I received UserAgent of this endpoint.

res_pjsip.
In the case of "ENDPOINT CONFIGURED FOR USE WITH A SIP PHONE" I can use AMI event "SuccessfulAuth" to retrieve IP Address.
How can I get the IP address in the case of trunks?
I will be grateful if tell me how to get the User agent.

Thanks

Dmitriy Serov.

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to