Hi to all, I have an ftth + voip connectivity provided by tiscali isp in italy. The plan comes with a free of charge locked/brand zyxel router, but the provider also releases the pppoe and sip parameters in an email in this way:
now I want to migrate from this zyxel router to a pfsense box for the pppoe interface and to freepbx for the sip trunk. no problems with pfsense, but I cannot figure out a way for configuring these parameters in my freepbx box (only chan_pjsip).
in my pjsip trunk I have added username, password, outbound proxy and sip server as above but I’m always receiving something like error 171005 missing route set.
Hope someone can give to me a starting point.
many thanks
At the Asterisk command prompt, type pjsip set logger on
and post the log of an attempted registration (if you can’t register) or an attempted incoming or outgoing call (if you can register but can’t call).
Also, post your trunk settings with username and password masked, but all else intact.
from this particular connection I can ping core1.p.ims.tiscali.net (this is not possibile from other isps)
but I cannot ping srvmi.p.ims.tiscali.net. I have searched a lot around but I cannot find nothing related to this isp, but I found that on 3cx is possible to register this kind of trunk.
many thanks
and I believe that pjsip should be able to deal with that.
As you noted, the Tiscali servers are firewalled off, including from here in France (and from any other sites I have access to), so I can’t do any meaningful probing.
thank you @Stewart1 for your reply, I have edited the outbound proxy as you suggest, but I didn’t understand where to place in my configuration the srvmi.p.ims.tiscali.net . Anyway now the error is different, I’m receiving the following
I analyzed a new log from the the beginning here is the complete request/response, what I noticed is that I have to place ims.tiscali.net in “from domain” field or I will not receive any kind of response, and I still didn’t understand where to place srvmi.p.ims.tiscali.net
im guessing this is the second part because you are sending the NONCE in this REGISTER, so hopefully before this you already did this dance
→ REGISTER
← SIP/2.0 100 Trying
← SIP/2.0 407 Proxy Authentication Required
→ REGISTER (this is what we are seeing?)
if that’s the case, a few things come to mind, other than incorrect password or username.
the realm is case sensitive and sometimes it has to be something specific and not in your config, like the word “Realm” itself
realm=“Realm”
EDIT: sorry they will tell you what the realm is in 407, make sure it matches and you’re not overriding somehow
also you posted username is a full URI not just the phone number portion?
Sorry @asteriskadmin but I’m not so good with analyzing sip logs so I will try… first off all I cannot see in the log any 407 status and the real in the authorization string that I reported is realm=“ims.tiscali.net” so I think that is right… about the username
they send to me an email with the username in this format [email protected] but I cannot place this under the username field cause I will receive the error
res_pjsip.c:3628 create_out_of_dialog_request: Unable to create outbound OPTIONS request to
endpoint 0039XXXXXXXXXX as URI 'sip:[email protected]@ims.tiscali.net:5060'
is not valid
so I removed the domain from the username. Here in Italy, in the last mounths, Tiscali is the first isp that has changed the modem management policy and released access to the sip credentials, so it will be very usefull for us to find a way to make this works. many thanks