[Spce-user] No rewrite on T.38 INVITE

Tristan Delsol tdelsol at qfast.nl
Sat Aug 15 08:09:36 EDT 2015


Well I removed the + sign for the outgoing fax but that doesn't seem to 
be the issue.
For some reason the RE-INVITE for T.38 does not get through.

Here the ngcp-logs for the setup.

(spce|kamailio-proxy.log) Aug 15 14:00:13 [6519]: NOTICE: <script>: Call 
to SIP Peering - R=sip:31306665648 at 87.239.101.193;user=phone 
ID=1729768205212000211650 at 192.168.111.25
(spce|kamailio-proxy.log) Aug 15 14:00:13 [6519]: NOTICE: <script>: Load 
gws matching calling part 'sip:31756418049 at 87.239.101.193' and called 
user '31306665648' and called part 
'sip:31306665648 at 87.239.101.193;user=phone' - 
R=sip:31306665648 at 87.239.101.193;user=phone 
ID=1729768205212000211650 at 192.168.111.25
(spce|kamailio-proxy.log) Aug 15 14:00:13 [6519]: NOTICE: <script>: 
Setting acc source-leg for uuid 'c453f9be-74d4-47e6-931d-a18f29fef700': 
'c453f9be-74d4-47e6-931d-a18f29fef700|31756418049|87.239.101.193|31756418049|||7|||0|call|192.168.111.25|1439640013.867047|||||||||||' 
- R=sip:31306665648 at ims.imscore.net 
ID=1729768205212000211650 at 192.168.111.25
(spce|kamailio-proxy.log) Aug 15 14:00:13 [6519]: NOTICE: <script>: 
Setting acc destination-leg for uuid '0': 
'0|||0|0306665648|0|31306665648|ims.imscore.net|31306665648|87.239.101.193|2|||||||||||' 
- R=sip:31306665648 at ims.imscore.net 
ID=1729768205212000211650 at 192.168.111.25
(spce|kamailio-proxy.log) Aug 15 14:00:13 [6519]: ERROR: dispatcher 
[dispatch.c:1247]: ds_get_index(): destination set [50] not found
(spce|kamailio-proxy.log) Aug 15 14:00:13 [6519]: ERROR: dispatcher 
[dispatch.c:1625]: ds_select_dst(): destination set [50] not found
(spce|kamailio-proxy.log) Aug 15 14:00:13 [6519]: WARNING: <script>: 
Failed to load dispatcher entries for lb using did '50', use first lb 
found in network.yml - R=sip:31306665648 at ims.imscore.net 
ID=1729768205212000211650 at 192.168.111.25
(spce|kamailio-proxy.log) Aug 15 14:00:13 [6519]: NOTICE: <script>: 
Setting caller_cli_userprov/caller_domain_userprov 
'31756418049 at 192.168.111.25' for upn - R=sip:31306665648 at ims.imscore.net 
ID=1729768205212000211650 at 192.168.111.25
(spce|kamailio-proxy.log) Aug 15 14:00:13 [6519]: NOTICE: <script>: 
Setting From to '<sip:31756418049 at 192.168.111.25>' - 
R=sip:31306665648 at ims.imscore.net 
ID=1729768205212000211650 at 192.168.111.25
(spce|kamailio-proxy.log) Aug 15 14:00:13 [6519]: NOTICE: <script>: 
Setting caller_cli_netprov/caller_domain_netprov 
'31756418049 at 87.239.101.193' for npn - R=sip:31306665648 at ims.imscore.net 
ID=1729768205212000211650 at 192.168.111.25
(spce|kamailio-proxy.log) Aug 15 14:00:13 [6519]: NOTICE: <script>: 
Setting PAI to '<sip:31756418049 at 87.239.101.193>' - 
R=sip:31306665648 at ims.imscore.net 
ID=1729768205212000211650 at 192.168.111.25
(spce|kamailio-proxy.log) Aug 15 14:00:13 [6519]: NOTICE: <script>: 
Rewriting called party '31306665648' to '+31306665648' - 
R=sip:31306665648 at ims.imscore.net 
ID=1729768205212000211650 at 192.168.111.25
(spce|kamailio-proxy.log) Aug 15 14:00:13 [6519]: NOTICE: <script>: 
Setting P-Called-Party-ID '<sip:+31306665648 at ims.imscore.net>' - 
R=sip:+31306665648 at ims.imscore.net 
ID=1729768205212000211650 at 192.168.111.25
(spce|kamailio-proxy.log) Aug 15 14:00:13 [6519]: NOTICE: <script>: 
Setting 'sip:139.156.126.49:5060' taken from D-URI as next hop after lb 
for PSTN call - R=sip:+31306665648 at ims.imscore.net 
ID=1729768205212000211650 at 192.168.111.25
(spce|kamailio-proxy.log) Aug 15 14:00:13 [6519]: NOTICE: <script>: 
Appending P-D-URI 
'sip:127.0.0.1:5060;received='sip:139.156.126.49:5060;lr;transport=udp'' 
- R=sip:+31306665648 at ims.imscore.net 
ID=1729768205212000211650 at 192.168.111.25
(spce|kamailio-proxy.log) Aug 15 14:00:13 [6519]: NOTICE: <script>: 
Forcing request via B2BUA 'sip:127.0.0.1:5080' - 
R=sip:+31306665648 at ims.imscore.net 
ID=1729768205212000211650 at 192.168.111.25
(spce|kamailio-proxy.log) Aug 15 14:00:13 [6519]: NOTICE: <script>: 
Request leaving server, D-URI='sip:127.0.0.1:5080' - 
R=sip:+31306665648 at ims.imscore.net 
ID=1729768205212000211650 at 192.168.111.25
(spce|kamailio-proxy.log) Aug 15 14:00:13 [6521]: NOTICE: <script>: 
NAT-Reply - S=100 - Connecting M=INVITE IP=192.168.111.25:5060 
(127.0.0.1:5080) ID=1729768205212000211650 at 192.168.111.25
(spce|kamailio-proxy.log) Aug 15 14:00:14 [6518]: NOTICE: <script>: 
NAT-Reply - S=183 - Session Progress M=INVITE IP=192.168.111.25:5060 
(127.0.0.1:5080) ID=1729768205212000211650 at 192.168.111.25
(spce|kamailio-proxy.log) Aug 15 14:00:21 [6523]: NOTICE: <script>: 
NAT-Reply - S=200 - OK M=INVITE IP=192.168.111.25:5060 (127.0.0.1:5080) 
ID=1729768205212000211650 at 192.168.111.25
(spce|kamailio-proxy.log) Aug 15 14:00:21 [6524]: NOTICE: <script>: New 
request on proxy - M=ACK R=sip:127.0.0.1:5080;prxroute=1 
F=sip:31756418049 at 192.168.111.25 
T=sip:0306665648 at 87.239.101.193;user=phone IP=192.168.111.25:5060 
(127.0.0.1:5060) ID=1729768205212000211650 at 192.168.111.25
(spce|kamailio-proxy.log) Aug 15 14:00:27 [6522]: NOTICE: <script>: New 
request on proxy - M=INVITE 
R=sip:127.0.0.1;r2=on;lr=on;ftag=434A31C2-55CF29CD000D42FC-5A3BD700;ngcplb=yes 
F=sip:+31306665648 at ims.imscore.net T=sip:31756418049 at 192.168.111.25 
IP=139.156.126.49:5060 (127.0.0.1:5060) 
ID=1729768205212000211650 at 192.168.111.25_b2b-1
(spce|kamailio-proxy.log) Aug 15 14:00:27 [6522]: NOTICE: <script>: Call 
from PSTN - 
R=sip:127.0.0.1;r2=on;lr=on;ftag=434A31C2-55CF29CD000D42FC-5A3BD700;ngcplb=yes 
ID=1729768205212000211650 at 192.168.111.25_b2b-1
(spce|kamailio-proxy.log) Aug 15 14:00:27 [6522]: NOTICE: <script>: 
User-Provided CLI '+31306665648' taken from From-User - 
R=sip:127.0.0.1;r2=on;lr=on;ftag=434A31C2-55CF29CD000D42FC-5A3BD700;ngcplb=yes 
ID=1729768205212000211650 at 192.168.111.25_b2b-1
(spce|kamailio-proxy.log) Aug 15 14:00:27 [6522]: NOTICE: <script>: 
Network-Provided CLI '+31306665648' taken from From-User - 
R=sip:127.0.0.1;r2=on;lr=on;ftag=434A31C2-55CF29CD000D42FC-5A3BD700;ngcplb=yes 
ID=1729768205212000211650 at 192.168.111.25_b2b-1
(spce|kamailio-proxy.log) Aug 15 14:00:27 [6522]: NOTICE: <script>: 
Setting '+31306665648 at ims.imscore.net' as initiating user-provided CLI - 
R=sip:127.0.0.1;r2=on;lr=on;ftag=434A31C2-55CF29CD000D42FC-5A3BD700;ngcplb=yes 
ID=1729768205212000211650 at 192.168.111.25_b2b-1
(spce|kamailio-proxy.log) Aug 15 14:00:27 [6522]: NOTICE: <script>: 
Setting '+31306665648 at ims.imscore.net' as initiating network-provided 
CLI - 
R=sip:127.0.0.1;r2=on;lr=on;ftag=434A31C2-55CF29CD000D42FC-5A3BD700;ngcplb=yes 
ID=1729768205212000211650 at 192.168.111.25_b2b-1
(spce|kamailio-proxy.log) Aug 15 14:00:27 [6522]: NOTICE: <script>: 
Callee is not local - 
R=sip:127.0.0.1;r2=on;lr=on;ftag=434A31C2-55CF29CD000D42FC-5A3BD700;ngcplb=yes 
ID=1729768205212000211650 at 192.168.111.25_b2b-1
(spce|kamailio-proxy.log) Aug 15 14:00:27 [6522]: NOTICE: <script>: Call 
to unknown user - 
R=sip:127.0.0.1;r2=on;lr=on;ftag=434A31C2-55CF29CD000D42FC-5A3BD700;ngcplb=yes 
ID=1729768205212000211650 at 192.168.111.25_b2b-1
(spce|kamailio-proxy.log) Aug 15 14:00:27 [6522]: NOTICE: <script>: 
Setting acc source-leg for uuid '0': 
'0|+31306665648|139.156.126.49|+31306665648|||0|||0|call|139.156.126.49|1439640027.462624|||||||||||' 
- 
R=sip:127.0.0.1;r2=on;lr=on;ftag=434A31C2-55CF29CD000D42FC-5A3BD700;ngcplb=yes 
ID=1729768205212000211650 at 192.168.111.25_b2b-1
(spce|kamailio-proxy.log) Aug 15 14:00:27 [6522]: NOTICE: <script>: 
Setting acc destination-leg for uuid '0': 
'0|||0|<null>|0|<null>|127.0.0.1|<null>|127.0.0.1|2|||||||||||' - 
R=sip:127.0.0.1;r2=on;lr=on;ftag=434A31C2-55CF29CD000D42FC-5A3BD700;ngcplb=yes 
ID=1729768205212000211650 at 192.168.111.25_b2b-1
(spce|kamailio-proxy.log) Aug 15 14:00:27 [6519]: NOTICE: <script>: New 
request on proxy - M=ACK 
R=sip:ngcp-lb;tgrp=9752;trunk-context=ipic.imscore.net at 87.239.101.193:5060;ngcpct=7369703a3132372e302e302e313a35303830 
F=sip:+31306665648 at ims.imscore.net T=sip:31756418049 at 192.168.111.25 
IP=139.156.126.49:5060 (127.0.0.1:5060) 
ID=1729768205212000211650 at 192.168.111.25_b2b-1
(spce|kamailio-proxy.log) Aug 15 14:00:27 [6521]: NOTICE: <script>: New 
request on proxy - M=BYE 
R=sip:127.0.0.1;r2=on;lr=on;ftag=434A31C2-55CF29CD000D42FC-5A3BD700;ngcplb=yes 
F=sip:+31306665648 at ims.imscore.net T=sip:31756418049 at 192.168.111.25 
IP=139.156.126.49:5060 (127.0.0.1:5060) 
ID=1729768205212000211650 at 192.168.111.25_b2b-1
(spce|kamailio-proxy.log) Aug 15 14:00:31 [6523]: NOTICE: <script>: New 
request on proxy - M=BYE 
R=sip:127.0.0.1;r2=on;lr=on;ftag=434A31C2-55CF29CD000D42FC-5A3BD700;ngcplb=yes 
F=sip:+31306665648 at ims.imscore.net T=sip:31756418049 at 192.168.111.25 
IP=139.156.126.49:5060 (127.0.0.1:5060) 
ID=1729768205212000211650 at 192.168.111.25_b2b-1
(spce|kamailio-proxy.log) Aug 15 14:00:35 [6520]: NOTICE: <script>: New 
request on proxy - M=BYE 
R=sip:127.0.0.1;r2=on;lr=on;ftag=434A31C2-55CF29CD000D42FC-5A3BD700;ngcplb=yes 
F=sip:+31306665648 at ims.imscore.net T=sip:31756418049 at 192.168.111.25 
IP=139.156.126.49:5060 (127.0.0.1:5060) 
ID=1729768205212000211650 at 192.168.111.25_b2b-1
(spce|kamailio-proxy.log) Aug 15 14:00:37 [6522]: NOTICE: <script>: New 
request on proxy - M=BYE R=sip:127.0.0.1:5080;prxroute=1 
F=sip:31756418049 at 192.168.111.25 
T=sip:0306665648 at 87.239.101.193;user=phone IP=192.168.111.25:5060 
(127.0.0.1:5060) ID=1729768205212000211650 at 192.168.111.25
(spce|kamailio-proxy.log) Aug 15 14:00:37 [6519]: NOTICE: <script>: 
NAT-Reply - S=200 - OK M=BYE IP=192.168.111.25:5060 (127.0.0.1:5080) 
ID=1729768205212000211650 at 192.168.111.25
(spce|kamailio-proxy.log) Aug 15 14:00:39 [6521]: NOTICE: <script>: New 
request on proxy - M=BYE 
R=sip:127.0.0.1;r2=on;lr=on;ftag=434A31C2-55CF29CD000D42FC-5A3BD700;ngcplb=yes 
F=sip:+31306665648 at ims.imscore.net T=sip:31756418049 at 192.168.111.25 
IP=139.156.126.49:5060 (127.0.0.1:5060) 
ID=1729768205212000211650 at 192.168.111.25_b2b-1
(spce|kamailio-proxy.log) Aug 15 14:00:43 [6524]: NOTICE: <script>: New 
request on proxy - M=BYE 
R=sip:127.0.0.1;r2=on;lr=on;ftag=434A31C2-55CF29CD000D42FC-5A3BD700;ngcplb=yes 
F=sip:+31306665648 at ims.imscore.net T=sip:31756418049 at 192.168.111.25 
IP=139.156.126.49:5060 (127.0.0.1:5060) 
ID=1729768205212000211650 at 192.168.111.25_b2b-1
(spce|kamailio-proxy.log) Aug 15 14:00:47 [6523]: NOTICE: <script>: New 
request on proxy - M=BYE 
R=sip:127.0.0.1;r2=on;lr=on;ftag=434A31C2-55CF29CD000D42FC-5A3BD700;ngcplb=yes 
F=sip:+31306665648 at ims.imscore.net T=sip:31756418049 at 192.168.111.25 
IP=139.156.126.49:5060 (127.0.0.1:5060) 
ID=1729768205212000211650 at 192.168.111.25_b2b-1
(spce|kamailio-proxy.log) Aug 15 14:00:51 [6517]: NOTICE: <script>: New 
request on proxy - M=BYE 
R=sip:127.0.0.1;r2=on;lr=on;ftag=434A31C2-55CF29CD000D42FC-5A3BD700;ngcplb=yes 
F=sip:+31306665648 at ims.imscore.net T=sip:31756418049 at 192.168.111.25 
IP=139.156.126.49:5060 (127.0.0.1:5060) 
ID=1729768205212000211650 at 192.168.111.25_b2b-1


Tristan

On 2015-08-14 10:55, Tristan Delsol wrote:
> Hi All,
> 
> I'm currently testing an interconnect with a telco and ran in to an
> issue with faxing.
> I have two SIP trunks to the telco. One for incoming calls and for
> outgoing calls.
> I have rewrite rule sets from removing + sign for incoming calls and
> rewrite rule sets for adding + sign for outgoing calls
> 
> When I start a fax from behind the SPCE out to the telco everything
> goes normal, until I get an INVITE from the telco to switch to T.38.
> The INVITE comes in but no rewrite is done on the number which leaves
> the + sign in front of the e164 number and SPCE doesn't recognize as a
> subscriber so the whole fax is cancelled.
> 
> Any idea how I can solve this one?
> 
> Thanks,
> Tristan
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> https://lists.sipwise.com/listinfo/spce-user



More information about the Spce-user mailing list