[Spce-user] Can't appy outbound rewrite rules for callee

John Murray john.murray at skyracktelecom.com
Fri Jul 6 14:26:58 EDT 2012


Hello,

 

When placing a call to a user I need to use E.164 format (eg. +44791234567)
for From: and To:

 

I apply the same rule  ^([1-9][0-9]+)$ with \+\1 to both the outbound caller
and callee rule for the user

But it seems only the From: field gets modified.

 

Also where can I increase the 'Max-Forwards:' number for Invites to local
users ?

 

Many thanks again

 

John

 

The device has a permanent contact and the invite to the device is:

 

INVITE sip:+447921234567 at 192.168.7.2:5060 SIP/2.0'

Max-Forwards: 10'

Record-Route:
<sip:100.101.101.1;r2=on;lr=on;ftag=38BD5A2B-4FF72B76000B880B-202E6700;ngcpl
b=yes>'

Record-Route:
<sip:127.0.0.1;r2=on;lr=on;ftag=38BD5A2B-4FF72B76000B880B-202E6700;ngcplb=ye
s>'

Via: SIP/2.0/UDP
100.101.101.1;branch=z9hG4bK5a8f.14e97c1a091dae87cbca1b480326c3dd.0'

Via: SIP/2.0/UDP 127.0.0.1:5080;branch=z9hG4bKUuGQZado;rport=5080'

From: "+441131234567"
<sip:+441131234567 at skyrack.net>;tag=38BD5A2B-4FF72B76000B880B-202E6700'

To: <sip:447921234567 at skyrack.net>'

CSeq: 10 INVITE'

Call-ID: ZDM5OGFiOTQ2YmYxZWUxNWZhOWYwOTg3ZDQwMDc2ZjU._b2b-1'

Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE,
INFO'

Supported: timer, replaces'

P-Asserted-Identity: <sip:+441131234567 at skyrack.net>'

Session-Expires: 300'

Min-SE: 90'

Content-Type: application/sdp'

Content-Length: 311'

Contact: <sip:ngcp-lb at 100.101.101.1:5060>'

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20120706/84abe66c/attachment.html>


More information about the Spce-user mailing list