[Spce-user] SIP trunk to PBX

Daniel Tiefnig dtiefnig at sipwise.com
Thu Aug 9 06:35:40 EDT 2012


On 08/09/2012 09:46 AM, Jon Bonilla (Manwe) wrote:
> Not sure if you can get the contact via provisioning interface (would
> need to check it with the provisioning guys but I guess so).

Sure, there's get_subscriber_registered_devices() which returns - among
some other values - the "contact" as it is stored in the location table
by kamailio. You may have to strip off additional ";key=value" entries
if there are any with a regex like s/;.+$// or so. This can then be
passed to add_subscriber_registered_device() to create a permanent
entry. Though I just noticed the function is missing from the WSDL. An
update which fixes this will be published within the next days.

> Another good alternative could be if we could add fqdn entries as 
> permanent contacts and use DNS to send the requests.

That's an interesting approach indeed. :)

br,
daniel




More information about the Spce-user mailing list