Get the agent IP

I’m trying to send agent’s IP to stasis application from the dialplan

first I tried to get the IP using function PJSIP_AOR (endpoint,contact) and it produced a strange number.

also tried to run function PJSIP_Endpoint(endpoint,media_Address) and it didn’t show any result

and tried PJSIP_contact(endpoint,uri) and should an error

all the trails I made with static endpoint number

Please help


Does ${PJSIP_DIAL_CONTACTS(${static_endpoint_number})} show you the IP ?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.