Hi all. Sorry to have to bother you but I’m not able to resolve a configuration issue that seems simple but, even if i’ve searched a lot, i can figure out how to solve.
I’d like to use a sip number provided by my ISP (Wind/3/infostrada).
I’m able to setup and use a softphone (PhonerLite) using this information:
Proxy/Registrar: voip.libero.it
Realm: sip.infostrada.it
user: 390377xxxxxx
password: xxxxx
Auth Name: 390377xxxxxx (same as user)
localport: 5060
transport: UDP
I’m able to call/receive and have a full audio support.
The softphone (and the preepbx as well) are behind a router/nat with SIP/ALG enabled ad there aren’t any specific port mapping configured (no 5060, no rtp ports).
Now I’d like to use this info in order to configure a sip trunk on my freepbx (all my house comminications run around this pbx), but I’ve done a lot of test but never the trunk registers to the servers.
I kindly ask if someon can post me how to configure the trunk. I’m using freepbx 13.0.192.19
In order to give you much info as possible following the log from the softphone:
> 192.168.XXX.XXX:5060;branch=z9hG4bK00735521bccae711a24343d9e197f2c0;rport > From: "PhonerLite" <sip:[email protected]>;tag=3284728896 > To: "PhonerLite" <sip:[email protected]> > Call-ID: [email protected] > CSeq: 1 REGISTER > Contact: <sip:[email protected]:5060>;+sip.instance="<urn:uuid:006CC480-45CA-E711-BD9F-51ED84AB9938>" > Allow: INVITE, ACK, BYE, CANCEL, INFO, MESSAGE, NOTIFY, OPTIONS, REFER, UPDATE, PRACK > Max-Forwards: 70 > Allow-Events: org.3gpp.nwinitdereg > User-Agent: SIPPER for PhonerLite > Supported: replaces, from-change, gruu > Expires: 900 > Content-Length: 0
> 11:51:42,179: Facility Confirm: 16 00 01 00 80 81 06 00 01 00 00 00 00 00 03 00 05 01 00 02 00 00 > 11:51:42,179: Facility Confirm (Supplementary Services) > 11:51:42,179: Listen: success > ------------------------------------------- > 11:51:42,179: T: 151.6.177.6:5060 (UDP) > SUBSCRIBE sip:[email protected] SIP/2.0 > Via: SIP/2.0/UDP 192.168.XXX.XXX:5060;branch=z9hG4bK00735521bccae711a24443d9e197f2c0;rport > From: "PhonerLite" <sip:[email protected]>;tag=2033211642 > To: <sip:[email protected]> > Call-ID: [email protected] > CSeq: 2 SUBSCRIBE > Contact: <sip:[email protected]:5060>;+sip.instance="<urn:uuid:006CC480-45CA-E711-BD9F-51ED84AB9938>" > Max-Forwards: 70 > User-Agent: SIPPER for PhonerLite > Expires: 1800 > Event: message-summary > Accept: application/simple-message-summary > Content-Length: 0
> ------------------------------------------- > 11:51:42,190: R: 151.6.177.6:5060 (UDP) > SIP/2.0 403 Forbidden > Via: SIP/2.0/UDP 192.168.XXX.XXX:5060;branch=z9hG4bK00735521bccae711a24443d9e197f2c0;rport=60081 > From: "PhonerLite" <sip:[email protected]>;tag=2033211642 > To: <sip:[email protected]>;tag=aprqngfrt-5plj0p3000040 > Call-ID: [email protected] > CSeq: 2 SUBSCRIBE
> ------------------------------------------- > 11:51:42,205: R: 151.6.177.6:5060 (UDP) > SIP/2.0 401 Unauthorized > Via: SIP/2.0/UDP 192.168.XXX.XXX:5060;branch=z9hG4bK00735521bccae711a24343d9e197f2c0;rport=60081 > From: "PhonerLite" <sip:[email protected]>;tag=3284728896 > To: "PhonerLite" <sip:[email protected]>;tag=59cac1cb-5a1010bd7ba3b88 > Call-ID: [email protected] > CSeq: 1 REGISTER > Date: Sat, 18 Nov 2017 10:51:41 GMT > Server: Alcatel-Lucent-HPSS/3.0.3 > WWW-Authenticate: Digest realm="sip.infostrada.it", nonce="b7c9036dbf3054aea5a1010ba940e9703dc8f84c1708", opaque="ALU:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", algorithm=MD5, qop="auth" > Content-Length: 0
> ------------------------------------------- > 11:51:42,205: T: 151.6.177.6:5060 (UDP) > REGISTER sip:sip.infostrada.it SIP/2.0 > Via: SIP/2.0/UDP 192.168.XXX.XXX:5060;branch=z9hG4bK00735521bccae711a24743d9e197f2c0;rport > From: "PhonerLite" <sip:[email protected]>;tag=3284728896 > To: "PhonerLite" <sip:[email protected]> > Call-ID: [email protected] > CSeq: 3 REGISTER > Contact: <sip:[email protected]:5060>;+sip.instance="<urn:uuid:006CC480-45CA-E711-BD9F-51ED84AB9938>" > Authorization: Digest username="39XXXXXXXXXX", realm="sip.infostrada.it", nonce="b7c9036dbf3054aea5a1010ba940e9703dc8f84c1708", uri="sip:sip.infostrada.it", response="53226206cffd75893c924182a09dc8f4", algorithm=MD5, cnonce="00735521bccae711a24643d9e197f2c0", opaque="ALU:QbkRBthOEgEQAkgVEwwHRAIBHgkdHwQCQ1lFRkZWGA4iIyd0d2gqISUrJSNjOSY-NTw0JHs.I2JsagYC", qop=auth, nc=00000001 > Allow: INVITE, ACK, BYE, CANCEL, INFO, MESSAGE, NOTIFY, OPTIONS, REFER, UPDATE, PRACK > Max-Forwards: 70 > Allow-Events: org.3gpp.nwinitdereg > User-Agent: SIPPER for PhonerLite > Supported: replaces, from-change, gruu > Expires: 900 > Content-Length: 0
> ------------------------------------------- > 11:51:42,277: R: 151.6.177.6:5060 (UDP) > SIP/2.0 200 OK > Via: SIP/2.0/UDP 151.65.61.70:60081;branch=z9hG4bK00735521bccae711a24743d9e197f2c0;rport=60081 > From: "PhonerLite" <sip:[email protected]>;tag=3284728896 > To: "PhonerLite" <sip:[email protected]>;tag=59cac1cb-5a1010bdbe8f87e > Call-ID: [email protected] > CSeq: 3 REGISTER > Allow-Events: reg > Contact: <sip:[email protected]:60081>;expires=3600;+sip.instance="<urn:uuid:006CC480-45CA-E711-BD9F-51ED84AB9938>" > Date: Sat, 18 Nov 2017 10:51:41 GMT > P-Associated-URI: <sip:[email protected]> > P-Associated-URI: <tel:39XXXXXXXXXX> > P-Associated-URI: <sip:[email protected]> > Server: Alcatel-Lucent-HPSS/3.0.3 > Content-Length: 0
> ------------------------------------------- > 11:51:45,612: R: DNS lookup for 'voip.libero.it' > start resolving SRV (UDP)... > ------------------------------------------- > 11:51:45,697: R: DNS lookup for 'voip.libero.it' > 151.6.177.6 (TTL=7200) > ------------------------------------------- > 11:51:45,698: R: DNS lookup for 'voip.libero.it' > start resolving SRV (UDP)... > ------------------------------------------- > 11:51:45,736: R: DNS lookup for 'voip.libero.it' > 151.6.177.6 (TTL=7200) > ------------------------------------------- > 11:51:45,736: T: 151.6.177.6:5060 (UDP) > REGISTER sip:sip.infostrada.it SIP/2.0 > Via: SIP/2.0/UDP 192.168.XXX.XXX:5060;branch=z9hG4bK80361f23bccae711a24843d9e197f2c0;rport > From: "PhonerLite" <sip:[email protected]>;tag=3284728896 > To: "PhonerLite" <sip:[email protected]> > Call-ID: [email protected] > CSeq: 4 REGISTER > Contact: <sip:[email protected]:5060>;+sip.instance="<urn:uuid:006CC480-45CA-E711-BD9F-51ED84AB9938>" > Authorization: Digest username="39XXXXXXXXXX", realm="sip.infostrada.it", nonce="b7c9036dbf3054aea5a1010ba940e9703dc8f84c1708", uri="sip:sip.infostrada.it", response="df513407786c53d6ff8be6c25f498cc1", algorithm=MD5, cnonce="80361f23bccae711a24743d9e197f2c0", opaque="ALU:QbkRBthOEgEQAkgVEwwHRAIBHgkdHwQCQ1lFRkZWGA4iIyd0d2gqISUrJSNjOSY-NTw0JHs.I2JsagYC", qop=auth, nc=00000002 > Allow: INVITE, ACK, BYE, CANCEL, INFO, MESSAGE, NOTIFY, OPTIONS, REFER, UPDATE, PRACK > Max-Forwards: 70 > Allow-Events: org.3gpp.nwinitdereg > User-Agent: SIPPER for PhonerLite > Supported: replaces, from-change, gruu > Expires: 900 > Content-Length: 0
> ------------------------------------------- > 11:51:45,747: R: 151.6.177.6:5060 (UDP) > SIP/2.0 200 OK > Via: SIP/2.0/UDP 151.65.61.70:60081;branch=z9hG4bK80361f23bccae711a24843d9e197f2c0;rport=60081 > From: "PhonerLite" <sip:[email protected]>;tag=3284728896 > To: "PhonerLite" <sip:[email protected]>;tag=aprqek5k7r1-2pnlhf3000080 > Call-ID: [email protected] > CSeq: 4 REGISTER > Contact: <sip:[email protected]:60081>;expires=3596
While from freepbx log full i can see only a timout or a “wrong password” messages depending of the configuration attempt but I don’t know how to get the same detailed log (I’ve set all switches to ON in the log file settings).
Thanks a lot for support.
f