Connecting Two Asterisk

Report
Question

Hi again!

I always try to get my mobile phone work with my Asterisk. I tried to install Asterisk on my PC (with public IP), but it has problems, too... I think, my UMTS-Provider doesn't want to connect to dynamic IP or my DSL-Provider does not want it, too, since I have no problem to connect and get a very good audio quality if I connect to other SIP-Provider or to an Asterisk (SAME configuration!!) installed on my Server...

Well, I will try to configure the Asterisk on my Server to act as "proxy" so that all phones at home talk with…

Asterisk Users 1 months ago 4 Answers

Problem With NAT - Part 2

Report
Question

Hi again!

I decided, "just for fun", to install Asterisk on a server of mine (available in Internet) and to log on my mobile phone on this server.

This Server communicate with my Asterisk at home and if I call a phone at home from my mobile phone (logged on the Asterisk on the second server), it work perfectly with a very good audio quality.

If I log my mobile phone (and just tried with the PC of my father) direct on my Asterisk at home it does NOT work or the audio quality is very poor...

So, I'm thinking I have somewhat misconfigured…

Asterisk Users 1 months ago 0 Answers

Curious Problem With NAT

Report
Question

Hi list!

Since the internal calls work as expected and I can register my Asterisk on an external provider, I'd like to add a new feature and allow my mobile phone to connect to my Asterisk and manage calls.

Well, first of all, my Asterisk is NOT direct on Internet available, but behind a NAT. So I configured my sip.conf:

localnet2.168.200.0/24 externhost=myhost.noip.com externrefresh0

Then I added the peer in my users.con:

[00491771111111] fullname = 00491771111111 secret = MYVERYSECRET type=peer nat=yes qualify=yes qualifyfreq` hassip = yes dahdichan = 1 transport=udp,tcp callwaiting = no context = default host = dynamic dtmfmode=rfc2833 dial=SIP/00491771111111

and finally "core reload".

On my Gateway…

Asterisk Users 1 months ago 11 Answers

11.17.1 : ReceiveFax Then Signal 11 ??

Report
Question

dialplan

[FaxIncoming]

exten=s,1,NoOp(Incoming fax on 46-va) same=n,Set(FAXFILE=/var/spool/asterisk/fax/${STRFTIME(${EPOCH},,%Y%m%d)}_${STRFTIME(${EPOCH},,%H%M)}) same=n,Answer() same=n,ReceiveFAX(${FAXFILE}.tif,df) same=n,Hangup() exten=>h,1,NoOp(FAXSTATUS: ${FAXSTATUS} FAXERROR: ${FAXERROR} FAXPAGES: ${FAXPAGES} @ bitrate ${FAXBITRATE}) same=n,System(scp ${FAXFILE}.tif asterisk@asterisk:/home/asterisk/ec2fax/ ) same=n,System(ssh asterisk@asterisk "/home/asterisk/bin/email-ec2fax.sh ${FAXFILE} ${CALLERID(name)} ${CALLERID(num) " )

cli ......... -- Executing [s@FaxIncoming:3] Answer("SIP/ec2faxcall17-00000000", "") in new stack -- Executing [s@FaxIncoming:4] ReceiveFAX("SIP/ec2faxcall17-00000000", "/var/spool/asterisk/fax/20150605_2137.tif,df") in new stack -- Channel 'SIP/ec2faxcall17-00000000' receiving FAX '/var/spool/asterisk/fax/20150605_2137.tif' ip-172-31-53-29*CLI> Disconnected from Asterisk server Asterisk cleanly ending (0). Executing last minute cleanups

syslog

asterisk[11540]: -- Executing [s@FaxIncoming:3] Answer("SIP/ec2faxcall17-00000000", "") in new stack asterisk[11540]: -- Executing [s@FaxIncoming:4] ReceiveFAX("SIP/ec2faxcall17-00000000", "/var/spool/a...ew stack asterisk[11540]: -- Channel 'SIP/ec2faxcall17-00000000' receiving FAX '/var/spool/asterisk/fax/20150605_2137.tif' systemd[1]: asterisk.service: main process exited, code=killed, status/SEGV asterisk[11587]: Unable to connect to remote…

Asterisk Users 1 months ago 0 Answers

Logging In "local Time"

Report
Question

Hi again!

I just noticed, that my Asterisk (running on an OpenWRT-Switch) writes the logs using GMT... On the Switch the time is right configured and a "date" says me the current LOCAL time.

I didn't found in logger.conf or other file an option to set the timezone. Can someone help me?

Thanks Luca Bertoncello (lucabert@lucabert.de)

Asterisk Users 1 months ago 1 Answer