<div>Hello Francis,</div>
<div>I also hev asterisk and sipura. Can we chat online on gmail/yahoo. Let's make some experiments... I hev the same problem like you.<br><br> </div>
<div><span class="gmail_quote">On 4/12/07, <b class="gmail_sendername">Francis Augusto Medeiros</b> <<a href="mailto:francis@mgate.com.br">francis@mgate.com.br</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br>On 10 de abr de 2007, at 23:05, James Harper wrote:<br><br>>> 2 - How can I gain full control to the FXS? I mean, a simple * dialed
<br>> is<br>>> not sent for asterisk (the server) interpretation, probably because<br>> it's<br>>> used by Sipura's suplementary services, I don't know. Also, is it<br>> possible<br>>> to get a dial tone from ASterisk, instead of Sipura's? My goal with
<br>> this<br>>> is to provide users with direct access to the PSTN line pressing 0,<br>>> instead of collecting calls and making the call themselves, or at<br>> least<br>>> making ignorepat to work!
<br>><br>> A dialplan of '(S0<:s>)' will get your phone to jump straight into the<br>> 's' extension in asterisk as soon as someone picks it up. From<br>> there you<br>> can do something like:
<br><br>It worked perfectly! Thanks!<br><br>> [sip_ata_incoming]<br>> exten => s,1,Answer<br>> exten => s,n,DISA(no-password|sip_extension_in)<br>><br>> so Asterisk will give you dialtone and do the dialplan stuff for you.
<br>>> From the 'sip_extension_in' context you can make a single '0' or '*'<br>> call the PSTN line.<br><br>On the "sip_extension_in", I entered the following<br><br>exten => 0,1,NoOp(outgoing call via POTS line to No. ${EXTEN:1})
<br>exten => 0,2,Dial(SIP/${EXTEN:1}@LinkSysOut,120)<br>exten => 0,3,Congestion()<br>exten => 0,4,Hangup<br><br>However, when I press the "0", it does gives me a dialtone, but it<br>doesn't seem to be delivering the tones imediately. I even suspect it
<br>isn't my PSTN tone after the 0. Is there something else?<br><br>Cheers,<br><br>Francis<br><br><br><br>_______________________________________________<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com">
Easynews.com</a> --<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br></blockquote></div><br>