SearchSearch  Log in to check your private messagesLog in to check your private messages  recent posts Recent Posts
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
osiris123dOffline



Joined: Jan 04, 2009
Posts: 20

Status: Offline
Posted: Jun 03, 2009 - 03:22 AM Reply with quote Back to top
I am sure there is a way to do this with Kamailio/Opensips but can't tell.

Say I have a Openser(Kamailio/Opensips) core that connects to my ITSP SIP trunks and also to my remote PBX's(Asterisk or Freeswitch) via SIP trunks. If the WAN connections go down at the sites with the remote PBX's I would like Openser to know that the specific remote PBX is down and forward any incoming calls to a specified backup number (cellphone, etc) for each individual DID at that site. So if the site has 3 people with 3 different DIDs Openser would know to forward the following
DID 1 is xxx-1001 - forward to cellphone 333-xxxx
DID 2 is xxx-1002 - forward to cellphone 444-xxxx
DID 3 is xxx-1003 - forward to cellphone 555-xxxx

Is there a way to do this? If so what module or modules?
View user's profile Send private message
micondaOffline



Joined: Feb 02, 2007
Posts: 354
Location: Germany
Status: Offline
Posted: Jun 09, 2009 - 11:23 AM Reply with quote Back to top
If you have rules that can map to regular expressions, then you can use dialplan module:
http://kamailio.org/docs/modules/1.5.x/dialplan.html

If not, you can use alias_db module:
http://kamailio.org/docs/modules/1.5.x/alias_db.html
View user's profile Send private message
osiris123dOffline



Joined: Jan 04, 2009
Posts: 20

Status: Offline
Posted: Jun 09, 2009 - 06:28 PM Reply with quote Back to top
Thanks for the reply. I will look at those modules.
View user's profile Send private message


View previous topic Printable version Log in to check your private messages View next topic

Post new topic   Reply to topic
Forum Rules and Guidelines | About VoIP User | Privacy Policy


All logos and trademarks in this site are property of their respective owner.
Comments and posts are property of the poster, all the rest (c) 2003-2008 VoIP User Limited.

VoIP User Limited is incorporated in England and Wales under Company Number 6694577.

No part of this site may be reproduced without our prior consent.