[Freeswitch-users] Controlling `presence_id`

Danny Gershman danny.gershman at gmail.com
Fri Apr 8 22:36:06 MSD 2016


Is there a way to control the domain on the presence_id?  When I run `verto
status` it's showing up as the internal alias.  I want to be able to
specify this as a different value (the external_sip_ip for example).  We
use this value by querying the database presence_id value in the channels
table.

                     Name	   Type	
 Data	State
=================================================================================================
            external-ipv6	profile	
sip:mod_sofia@[::1]:5080	RUNNING (0)
            external-ipv6	profile	
sip:mod_sofia@[::1]:5081	RUNNING (0) (TLS)
              10.200.82.5	  alias	
internal	ALIASED
                 external	profile	
sip:mod_sofia at 10.0.82.91:5080	RUNNING (0)
                 external	profile	
sip:mod_sofia at 10.0.82.91:5081	RUNNING (0) (TLS)
            internal-ipv6	profile	
sip:mod_sofia@[::1]:5060	RUNNING (0)
            internal-ipv6	profile	
sip:mod_sofia@[::1]:5061	RUNNING (0) (TLS)
                 internal	profile	
sip:mod_sofia at 10.0.82.91:5060	RUNNING (0)
                 internal	profile	
sip:mod_sofia at 10.0.82.91:5061	RUNNING (0) (TLS)
=================================================================================================
4 profiles 1 alias


Here is the output of `verto status`

                     Name	   Type	
 Data	State
=================================================================================================
               default-v6	profile	
ws:[::1]:8081	RUNNING
               default-v6	profile	
wss:[::1]:8082	RUNNING
               default-v4	profile	
ws:0.0.0.0:8081	RUNNING
               default-v4	profile	
wss:0.0.0.0:8082	RUNNING
default-v4::1rVWHg2fbA5Ydx9hAceSdKGREwY=@10.200.82.5	client	
          192.168.202.156:50064	CONN_REG (WSS)
=================================================================================================
2 profiles , 1 client

Thanks,

Danny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160408/cd368e56/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list