Hey Guyz! Anyone knows how to route a call for this situation:-
Server A
TDM400P with 2 fxo
Digital Operator
Server B
pure VOIP only
Situation 1: Calling from PSTN
How can i route a call when a user calling from PSTN to server A and server A route the call to server B via voip??
Situation 2: Conferencing from PSTN
How can i make a conference call on server B when a user calling from PSTN to server A and server A route the call to server B via voip??
Strewth! You’re impatient, aren’t you!!! There was 3 hours between your first post and your second reminder one!
What you want to do is totally straightforward as far as i can see. In fact it seems so straight forward that, unless you’re asking us to do the job for you, i’m not really sure what you’re asking.
Just use an iax2 dial() statement to get the call from one server to the other. There’s no difference to sending a call to an ITSPs server.
guyz! Really need all ur help! I built a Digital Operator that initiates a function whenever i press 1. the following is my extensions_custom.conf file:-
i dunno this is the proper way or not but just now when i’m testing it the call suddenly can make it through to another server but after that it fails to initiate again. any ideas watz the problem??
I’m not sure if this will fix your problem, but you must Answer() the channel before you do any Playback().
I certainly wouldn’t expect it to work properly if you don’t!
Of course, don’t Answer() it again before the Dial() statement.
Another thing, just a thought - and not likely to be the cause of your problem, is that a 30sec timeout on the first Dial() seems a bit long. However, that does depend on what you actually want to achieve.