[OpenSBC] Call through Sip Trunk if Enum fails
Brought to you by:
joegenbaclor
|
From: Dinesh D. <din...@gm...> - 2007-12-11 06:17:12
|
Hi Joegen,
I am using Sip Trunk as well as Enum capabilities of OpenSBC. I have a
question.
I want that whenever an outbound call is established, it should first search
enum records corresponding to phone number dialed and if found make a call
directly.
But it may happen that the other party also has an OpenSBC installed and it
has put IP of my OpenSBC in List of Blocked IP's, so the other party will
send a 403 Forbidden message.
Now two situation can arise:
1. The call should be disconnected.
2. The call should now be made using Sip Trunk facilities of OpenSBC.
I want to know how can I handle the situation in which if a call is rejected
by other party through Enum then the call should be established through Sip
Trunk.
Do an Enum lookup
UA----->OpenSBC 1 ---------------------------->
Enum Server
Enum lookup is successful
<----------------------------
return a Sip URI
OpenSBC 1 Call directly to other party
----------------------------->
OpenSBC 2
Blocked IP of OpensBC 1
<-----------------------------
Sends a 403 Forbidden message
Establish a call using Sip Trunk
------------------------------>
Call is established successfully
<-------------------------------
Regards,
Dinesh
|