[Freeswitch-users] Presence Not Working with sofia_contact bridging to multiple registrations

Brett Wilson brett at launch3.net
Sat Oct 6 21:39:53 MSD 2012


I am using multiple registrations, and had initially kept the bridge 
calls using the 'user/' syntax. Presence was working with this, however 
i noticed that when I used a simultaneous brige separated by commas, 
some of the extensions would ring one registration and not the other. So 
I switched to the sofia_contact bridge method and this fixed the issue. 
However, when using sofia_contact to bridge, I noticed that presence 
does not seem to operate.

I turned on debug presence and the only thing I see that may relate to 
an error is:
2012-10-06 13:13:50.183942 [WARNING] sofia_presence.c:4222 check_subs: 
external is passive, skipping
2012-10-06 13:14:11.153694 [ERR] sofia_presence.c:3343 DELTA 120
2012-10-06 13:14:11.153694 [ERR] sofia_presence.c:3395 check subs sql: 
select count(*) from sip_subscriptions where call_id='4agoj24x at snom' and 
hostname='euro-pbx' and profile_name='internal' [1]
2012-10-06 13:14:11.153694 [ERR] sofia_presence.c:3417 re-subscribe 
event message-summary, sql: update sip_subscriptions set 
expires=1349543771,contact='"Shop" 
<sip:102 at 192.168.1.13:3167;transport=udp;line=5r26s2>' where 
hostname='euro-pbx' and profile_name='internal' and 
call_id='4agoj24x at snom' and profile_name='internal'


2012-10-06 13:14:12.183897 [ERR] sofia_presence.c:1982 SEND PRES 
NOTIFY:
file[sofia_presence.c]
func[sofia_presence_mwi_callback]
line[2896]
profile[internal]
via[]
ip[192.168.1.13]
port[3167]
route[sip:user at 192.168.1.13:3167;transport=udp;line=1k5l6w]
contact["Front" <sip:101 at 192.168.1.13:3167;transport=udp;line=1k5l6w>]
to["Front" <sip:101 at 192.168.1.200>;tag=TQK1cNoQcA2H]
from["Front" <sip:101 at 192.168.1.200>;tag=06l8nn]
url[sip:101 at 192.168.1.13:3167;transport=udp;line=1k5l6w]
call_id[9mgy45bh at snom]
expires_str[]
event[message-summary]
ct[application/simple-message-summary]
pl[Messages-Waiting: no
Message-Account: sip:101 at 192.168.1.200
Voice-Message: 0/4 (0/0)

]

-- 
******************************************* 
BRETT WILSON
IT DEPARTMENT
LAUNCH 3 VENTURES, LLC 
134 Myer Street 
Hackensack, NJ 07601 
PHONE: 877.878.9134
FAX: 646.536.3866 
EMAIL: Brett.Wilson at launch3.net
AOL IM: Brett.Wilson at launch3.net
www.Launch3.net 
www.Launch3telecom.com 
******************************************* 



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list