Hello,

I (re)wrote a sip client based on sofia-sip managing the fxs ports on a 
router.
I'm using one nua with multiple accounts (multiple registrations), and I 
need to match incoming calls to one of the configured accounts (to 
determine the fxs port that should ring).
I compare the sip_to fields (url_scheme, url_user and url_host) with the 
ones stored in the account.
So far it seems to work with a couple of different providers, but it 
fails with one (the url_user is NULL and url_host is the ip address 
instead of the domain).
Is this approach the correct one and the fault lies in the provider or 
is there a better way?

Bye
-- 
Luca



------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to