hi guys, sorry for the mistakes I’m Italian.
I have my provider that I can not run it on freepbx, I have used the same data on zoiper and they work great.
I configured patton and others on freepbx but this creates problems for me.
Show us the piece of the logs of your system trying to connect. That should help.
Some providers do not allow Asterisk to connect to their system. They look at the “type” field and if it is Asterisk in any form, they block the connection. Call as ask their tech support if you can connect as Asterisk system and if they say “No”, this might be your problem.
hi , it actually connects, but I can not get in
I tried a colleague with zoiper and it works well, so I suppose if zoiper works it should also go asterisk no?
for the log I visualize the full, I can not identify the connections, could you help me?
Many providers allow phones (soft or hard) to connect to their services, but do not allow Asterisk to connect. When the connection is made, the system tells your provider what kind of a phone you are using. Asterisk replies with “Asterisk” and they terminate the connection.
There must be an error message in the logs when you try to connect the trunk to the provider. If there’s isn’t, your trunk configuration is probably incorrect. I’d start by replacing the FQDN with the IP address of the server. Also, which SIP driver are you using? Chan_SIP or PJ-SIP?
the ip of the host ie sip.infostrada.it I can not connect (not even zoiper) if I enter the dns yes, although the ping responds that ip, the dns and only reachable for those who have the infostrada line.
to find in the log the error that filter I can use? if I enter connection I find only:
ok I solved almost, the asterisk works, receive calls and send calls, I only have a problem when I receive the asterisk time saying:
the number you typed is not in use.
Say it in Italian - I don’t think that translated right.
I’m going to guess that the number you are sending is not in the format infostrada is expecting. You are probably going to have to adjust the number in your outbound route or trunk.
Details help us to have to guess. Examples help the feeble amongst us to understand.
If your call cannot be completed, it usually means that either your registration is wrong or you are trying to use an Inbound Route with your phone number and the number the phone company is sending is not the same.
To test this, remove the number from the Inbound DID in the Inbound Route and set it up as an any/any route.
Se la chiamata non può essere completata, in genere significa che la registrazione è errata o se si sta tentando di utilizzare una rotta in entrata con il proprio numero di telefono e il numero che la compagnia telefonica sta inviando non è lo stesso.
Per verificare ciò, rimuovere il numero dal DID in entrata nella rotta in entrata e configurarlo come una qualsiasi / qualsiasi rotta.
il messaggio è “il numero digitato non è in uso” dato da freepbx , quindi la chiamata arriva a freepbx , come se freepbx non avesse la rotta in ingresso impostata , ma lo è.
la rotta in ingresso è già impostata come DID any e CID any .
the message is “the number entered is not in use” given by freepbx, so the call arrives at freepbx, as if freepbx did not have the input route set, but it is.
the incoming route is already set as DID any and CID any.
I wonder, why give outgoing calls work?
why do not I receive call but call arrive at freepbx and responds with the message “the number entered is not in use” ?
this means that freepbx receive calls.
if I disable the trunk and I call the line falls.
if i enable the trunk , freepbx responds with the message .
incoming and outgoing calls are only related because they use computers. For all other purposes, it helps to think of them as completely unrelated.
Since you are using Chan_SIP, you need to set up one trunk for each IP address associated with the hostname of the provider. This is just the way that works.
For outgoing calls, they have services set up at every IP address that the address resolves to, so the outgoing calls connect just fine.