Aloha,
I think I understand how the uac module can be used to forward a call through a sip provider that requires www-challenge authentication. That handles outbound.
How can I 'REGISTER' with that provider to get inbound calls heading my direction? Do I need to squirt something in via the fifo and then catch the failure (challenge) with an on_failure route?
Has anyone ever REGISTERed (as a client) with a service, like VONAGE/BroadVoice/etc so that inbound and outbound calls are possible?
Mahalo, -g
-- Greg Fausak greg@thursday.com
Aloha Greg :),
uac module may be used for authentication only if you have forwarded requests (originally received by proxy) because it uses the failure route to reply to authentication (and for requests generated via FIFO you cannot set a failure branch).
So, what you can do is the following (note that I never tried this, it;s just an idea) : 1) generate via fifo a register (without credentials) and set as OBP your own proxy to force the new generated request to loop back; 2) you receive your own generated REGISTER - set a failure route to use uac module and fwd it to the corresponding registrar server; 3) when the challenge is received, the failure route will take care of it. 4) after auth is perform., the 200 OK will loop back and yo will get it a reply to your original fifo command.
So, you will need an external script to trigger the REGISTERs and also to do re-REGISTERing
regards, bogdan
Greg Fausak wrote:
Aloha,
I think I understand how the uac module can be used to forward a call through a sip provider that requires www-challenge authentication. That handles outbound.
How can I 'REGISTER' with that provider to get inbound calls heading my direction? Do I need to squirt something in via the fifo and then catch the failure (challenge) with an on_failure route?
Has anyone ever REGISTERed (as a client) with a service, like VONAGE/BroadVoice/etc so that inbound and outbound calls are possible?
Mahalo, -g
-- Greg Fausak greg@thursday.com
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users