Displaying 4 results from an estimated 4 matches for "_0nxxxxxxxx".
Did you mean:
_04xxxxxxxx
2004 Jun 24
2
How to force G729
...figured to allow ULAW as a first priority, then G729. I did it like that:
[mypstngate]
type=friend
host=192.168.0.100
port=5060
context=pstn-in
canreinvite=no
disallow=all
allow=ulaw
allow=g729
Then, in the outgoing context for our G729 SIP customers, I've put something like that:
exten => _0NXXXXXXXX,1,setvar(SIP_CODEC=g729)
exten => _0NXXXXXXXX,2,Dial(SIP/0041${EXTEN:1}@mypstngate,90)
What happens now when placing a call is very interesting. As you can see, Asterisk wants to change the codec to g729, but on the outgoing call to the PSTN gateway it remains ULAW. Like this, I'm using up...
2004 Nov 22
1
SIP Problem!
...0)
exten => s,2,Goto(s-${DIALSTATUS},1)
exten => s-NOANSWER,1,Voicemail(u${announce})
exten => s-NOANSWER,2,Goto(incoming,s,1)
exten => s,3,NoOp,$(CALLERID)
include => outgoing
include => from-sip
callerid=yes
[outgoing]
exten => _NXXXXXX,1,Dial/Zap/4/${EXTEN:0}
exten => _0NXXXXXXXX,1,Dial,Zap/4/${EXTEN:0}
exten => _0NXXXXXXXXX,1,Dial,Zap/4/${EXTEN:0}
exten => _0NXXXXXXXXXX,1,Dial,Zap/4/${EXTEN:0}
exten => 101,1,Dial(101,20)
include => from-sip
include => incoming
[sip]
exten => 101,1,Dial(${101,20})
exten => 101,2,VoicemailMain
exten => 101,3,Hangup...
2004 Nov 22
0
Re:SIP Problem
...0)
exten => s,2,Goto(s-${DIALSTATUS},1)
exten => s-NOANSWER,1,Voicemail(u${announce})
exten => s-NOANSWER,2,Goto(incoming,s,1)
exten => s,3,NoOp,$(CALLERID)
include => outgoing
include => from-sip
callerid=yes
[outgoing]
exten => _NXXXXXX,1,Dial/Zap/4/${EXTEN:0}
exten => _0NXXXXXXXX,1,Dial,Zap/4/${EXTEN:0}
exten => _0NXXXXXXXXX,1,Dial,Zap/4/${EXTEN:0}
exten => _0NXXXXXXXXXX,1,Dial,Zap/4/${EXTEN:0}
exten => 101,1,Dial(101,20)
include => from-sip
include => incoming
[sip]
exten => 101,1,Dial(${101,20})
exten => 101,2,VoicemailMain
exten => 101,3,Hangup...
2004 Nov 21
3
I Am Missing Something Somewhere Somehow!
...=all
allow=alaw
allow=ulaw
[101]
username=101
type=friend
secret=1234
host=192.168.10.195
context=sip
callerid="101"<101>
defaultip=192.168.10.176
extensions.conf
[globals]
[incoming]
exten => s,1,Dial(Zap/1)
[outgoing]
exten => _NXXXXXX,1,Dial/Zap/4/${EXTEN:0}
exten => _0NXXXXXXXX,1,Dial,Zap/4/${EXTEN:0}
exten => _0NXXXXXXXXX,1,Dial,Zap/4/${EXTEN:0}
exten => _0NXXXXXXXXXX,1,Dial,Zap/4/${EXTEN:0}
exten => 101,1,Dial,Zap/4(SIP/101)
[sip]
exten => 101,1,Dial(SIP/101,20)
here are the console output : show no errors but also not working
(running Asterisk in quite m...