"on_incoming_call" called twice for the same accountID issuing distinct callIDs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Am 13.12.2010 13:32, schrieb Thomas Martin:
> Hello Benny,
>
> thank you very much for the insight!
>
> Does PJSIP provide some sort of probing mechanism (on the pjsua_level) to learn about the contact_rewrite_method supported by the particular server?
> If we are dealing with a countable number of well-known server manufacturers, one could install a small dictionary to look-up the manufactor-specific method on the application-level (or maybe even on the pjsua_level). - I suppose, one could also implement some kind of "heuristic" trial-error mechanism by e.g. 1) registering an account with PJSUA_CONTACT_REWRITE_METHOD, 2) automatically issuing a call to that account and interpret the server's reaction ...?  (From my perspective it seems that such a facility would fit neatly on the "pjsua_" abstraction level... ;-) ?)
>
> What is the recommended tactic to deal with this situation?

Do not update the contact at all. Every SIP provider I know supports NAT 
traversal for their clients (at least with UDP).

regards
Klaus



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux