Displaying 2 results from an estimated 2 matches for "__sip_codec".
Did you mean:
_sip_codec
2015 Mar 03
1
account code
...have a four-digit pin to authenticate, I'm thinking of using the
cdr field userfield
as I can do to read the pin code and write it there?
[call-out-analog]
exten => _9.,1,Authenticate(/var/lib/asterisk/key.txt,am,4)
exten => 9.,n,Set(CDR(userfield)=pin-users)})
exten => _9.,n,Set(__SIP_CODEC=alaw)
exten => _92XXXXXXX,n,Dial(SIP/${EXTEN:1}@gw,40,rRT)
same => n,Busy(3)
same => n,Hangup
any idea?
regardss
--
rickygm
http://gnuforever.homelinux.com
2012 Aug 01
1
Asterisk Dahdi 1.6.2.23 Iaxmodem
...s the problem, when
IAXMODEM dial out using Dahdi channel, dahdi answers and start to dial the
outside number however Iaxmodem thinks that dahdi is the remote fax machine
and starts sending fax data eventually giving up.
Here is my dialplan in extensions.conf
[fax-out]
exten => _XXXXXXX,1,Set(__SIP_CODEC=alaw)
exten => _XXXXXXX,2,Dial(dahdi/g3)
If the remote machine answers within the first ring, the outgoing fax works
fine, but if remote fax machine does not answer within the first ring, I get
the fallowing erro: "no carrier found"
Hylfafax and Iaxmodem are working fine, my problem...