Digital Operator


#1

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??

HELP GUYZ! THANK YOU!


#2

Hey guyz! help! I did this before but i forgot which context already! I remeber that it got to do with the extensions_cunstom.conf file! Help!


#3

Any solution guyz?? HELP ME! :frowning: :frowning: :frowning:


#4

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.


#5

Sorry for that man! :frowning: Really need it badly coz got a demo to do on this so need to figure out how to do it. Thankz by the way!


#6

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:-

[custom-dialout-default]
#include => macro-dialout-default
include => macro-dial-trunk
#include => outrt-002-BRANCH
exten => s,1,Playback(loligo/please-enter-the)
exten => s,2,Playback(extension)
exten => s,3,Wait(3)
exten => _0XXX,1,Answer
exten => _0XXX,2,Dial(IAX2/boxA-user:123123@192.168.1.9/${EXTEN:1},30,r)
exten => _0XXX,3,Dial(SIP/myserver:passwordA@SIPserverA/${EXTEN:1},30,r)
exten => _0XXX,4,Congestion
exten => h,1,Hangup()

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??


#7

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.