Page 1 of 1

Carrier SIP TRUNK WITHOUT AUTHENCATION

PostPosted: Mon Oct 26, 2009 8:48 pm
by jucha
Help!!!!

My rovider is a ZTE Softswitch, and the carrier setup does not requires username and secret asterisk parameters.

; WARNING- THIS FILE IS AUTO-GENERATED BY VICIDIAL, ANY EDITS YOU MAKE WILL BE $


; VICIDIAL Carrier: emcali - emcali sip provider
[emcali-carrier]
disallow=all
allow=ulaw
type=friend
insecure=very
context=trunkinbound
host=10.x.x.x

; WARNING- THIS FILE IS AUTO-GENERATED BY VICIDIAL, ANY EDITS YOU MAKE WILL BE $
EMCALISIPTRUNK = SIP/emcali-carrier

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

; Local Server: 192.168.1.10
exten => _192*168*001*010*.,1,Goto(default,${EXTEN:16},1)
; VICIDIAL Carrier: emcali - emcali sip provider
exten => _9ZXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9ZXXXXXXXXX,2,Dial(${EMCALISIPTRUNK}/${EXTEN:1},,tTor)
exten => _9ZXXXXXXXXX,3,Hangup
exten => _9ZXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9ZXXXXXX,2,Dial(${EMCALISIPTRUNK}/${EXTEN:1},,tTor)
exten => _9ZXXXXXX,3,Hangup

This setup work fine for inbound calls, so for outbound do not work.

asterisk CLI> Show trying to put calls on a zap channels. I have sip trunk.


Tahnk you

PostPosted: Mon Oct 26, 2009 9:35 pm
by williamconley
show the cli so we can see it trying zap

you may still have dial 9 in your extensions.conf interfering with the 9Z setup you have in place (the one in extensions.conf can be removed or you can change to 8Z instead)

PostPosted: Wed Oct 28, 2009 7:37 am
by jucha
Thank you.

Your suggestion works fine.
So the prefix 9 can not use?

PostPosted: Wed Oct 28, 2009 1:18 pm
by ykhan
In the default installs for both ViciBox and VicidialNOW, there are extens in the extensions.conf file that start with 9. You should comment them out, reload asterisk and then try outbound again.