Hi Joshua, Thank you for this, I had an 's' in contact which stopped this working correctly. The information added to the database does not have anything I can use to identify which server this registration belongs to. Would it be possible to add a 'regserver' field as in chan_sip which uses the 'systemname'? Kind regards, Ross
> Date: Wed, 25 Mar 2015 13:41:36 -0300 > From: jc...@digium.com > To: asterisk-dev@lists.digium.com > Subject: Re: [asterisk-dev] PJSIP Realtime Save Contact Info To Database > > Ross Beer wrote: > > Thanks Joshua, > > > > However this configuration does not write anything back to the database > > when a phone registers. All registrations are stored within the servers > > memory which means I can't locate a device. > > Add: > > contact=realtime,ps_contacts > > Under [res_pjsip] in sorcery.conf > > -- > Joshua Colp > Digium, Inc. | Senior Software Developer > 445 Jan Davis Drive NW - Huntsville, AL 35806 - US > Check us out at: www.digium.com & www.asterisk.org > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-dev mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-dev
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-dev mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev