Page 1 of 1

Outbound Calling Not working

PostPosted: Wed Mar 03, 2010 9:11 am
by jimmiydan
System Config:
HP ML110 Server
D-link Layer 2 switch
Vicidialnow server ip 121.242.184.120
Dlink switch ip 121.242.184.98
Gateway 121.242.184.97
SIP IP 202.54.112.194
SIP Provider TATA/BSNL
No of Client : 22

My sip-vicidial.conf

; WARNING- THIS FILE IS AUTO-GENERATED BY VICIDIAL, ANY EDITS YOU MAKE WILL BE LOST
;register => sip:100@202.54.112.194 :5060
;register => sip:109@202.54.112.194 :5060
;register => sip:101@202.54.112.194 :5060
;register => sip:102@202.54.112.194 :5060
;register => sip:103@202.54.112.194 :5060
;register => sip:104@202.54.112.194 :5060
;register => sip:105@202.5a4.112.194 :5060
;register => sip:106@202.54.112.194 :5060
;register => sip:107@202.54.112.194 :5060
register => sip:108@121.242.184.120 :5060

; VICIDIAL Carrier: tata - tata
[tata-out]
type=friend
secret=100
username=agent1
host=202.54.112.194
fromuser=100
fromdomain=121.242.184.120
canreinvite=no
insecure=very
qualify=yes
nat=no
context=from-tata


[xlite1]
Turn off silence suppression in X-Lite ("Transmit Silence"=YES)!
Note that Xlite sends NAT keep-alive packets, so qualify=yes is not needed
type=friend
username=agent1
host=202.54.112.194
nat=no X-Lite is behind a NAT router
canreinvite=no Typically set to NO if behind NAT
disallow=all
allow=ulaw
allow=alaw

this configure is used for every exten

no extensions-vicidial.conf configuration

; WARNING- THIS FILE IS AUTO-GENERATED BY VICIDIAL, ANY EDITS YOU MAKE WILL BE LOST
SIPtrunk = SIP/tata-out
SIPtrunk = SIP/tata-out
SIPtrunk = SIP/tata-out
SIPtrunk = SIP/tata-out
SIPtrunk = SIP/tata-out
SIPtrunk = SIP/tata-out
SIPtrunk = SIP/tata-out
SIPtrunk = SIP/tata-out
SIPtrunk = SIP/tata-out
SIPtrunk = SIP/tata-out

[vicidial-auto]
exten => h,1,DeadAGI(agi://127.0.0.1:4577/call_log--HVcauses ... ----------)

; Local Server: 121.242.184.120
exten => _121*242*184*120*.,1,Goto(default,${EXTEN:16},1)
; VICIDIAL Carrier: tata - tata
exten => _9.,1,Dial(SIP/${EXTEN:1}@tata-out,30,r)
exten => _91NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91NXXNXXXXXX,2,Dial(${SIPtrunk}/${EXTEN:1},55,o)
exten => _91NXXNXXXXXX,3,Hangup

; VICIDIAL Carrier: tata10 - tata
exten => _9.,1,Dial(SIP/${EXTEN:1}@tata-out,30,r)
exten => _91NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91NXXNXXXXXX,2,Dial(${SIPtrunk}/${EXTEN:1},55,o)
exten => _91NXXNXXXXXX,3,Hangup

; VICIDIAL Carrier: tata2 - tata
exten => _9.,1,Dial(SIP/${EXTEN:1}@tata-out,30,r)
exten => _91NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91NXXNXXXXXX,2,Dial(${SIPtrunk}/${EXTEN:1},55,o)
exten => _91NXXNXXXXXX,3,Hangup

PostPosted: Wed Mar 03, 2010 1:13 pm
by gardo
Asterisk CLI when dialing?

I wouldn't recommend posting your server's real IP address here. For security reasons. :wink:

PostPosted: Wed Mar 03, 2010 2:12 pm
by Michael_N
You should only register ONE carrier account
Like: register => user:password@202.54.112.194

You dont register a carrier account for every xlite phone you got.