Discussion:
[Freeswitch-users] Rewriting Remote Party ID
rod
2009-03-05 12:12:51 UTC
Permalink
Dear list,

I'd like to rewrite the number in the Remote Party ID header and only in
this header.

ex: I'd like to prefix the caller ID with a prefix code (000 in this
example) in the RPID header :

From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
Remote-Party-ID:
<sip:123456 at 10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling

should become:
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
Remote-Party-ID:
<sip:000123456 at 10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling

But the From field should remain unchanged.

And how to strip this prefix:
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
Remote-Party-ID:
<sip:000123456 at 10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling

should become:
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
Remote-Party-ID:
<sip:123456 at 10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling


regards.
Brian West
2009-03-05 12:23:02 UTC
Permalink
Well this depends on how you're placing the call.. if its a standard
bridge you can on the A-Leg set "effective_caller_id_number=000$
{caller_id_number}" before you call bridge.

Is the from already in the correct format?

/b
Post by rod
Dear list,
I'd like to rewrite the number in the Remote Party ID header and only in
this header.
ex: I'd like to prefix the caller ID with a prefix code (000 in this
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
123456
@10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
000123456
@10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
But the From field should remain unchanged.
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
000123456
@10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
123456
@10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090305/bd880b43/attachment.html
rod
2009-03-05 12:46:51 UTC
Permalink
Hi Brian,

if I use the function effective_caller_id_number with my INVITE, I get this:

From: "Anonymous" <sip:000000anonymous at 172.29.0.5>;tag=17geyFjX5p0gS.

this is not exactly what I'm looking for :p

rod
Post by Brian West
Well this depends on how you're placing the call.. if its a standard
bridge you can on the A-Leg set
"effective_caller_id_number=000${caller_id_number}" before you call
bridge.
Is the from already in the correct format?
/b
Post by rod
Dear list,
I'd like to rewrite the number in the Remote Party ID header and only in
this header.
ex: I'd like to prefix the caller ID with a prefix code (000 in this
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
<sip:123456 at 10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
<sip:000123456 at 10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
But the From field should remain unchanged.
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
<sip:000123456 at 10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
<sip:123456 at 10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
regards.
------------------------------------------------------------------------
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
rod
2009-03-05 13:00:50 UTC
Permalink
the A leg invite looks like this:
From: "Anonymous"<sip:anonymous at anonymous.invalid;user=phone>

it has been rewritten like this:
From: "Anonymous" <sip:000000anonymous at 172.29.0.5>

rod
Post by rod
Hi Brian,
From: "Anonymous" <sip:000000anonymous at 172.29.0.5>;tag=17geyFjX5p0gS.
this is not exactly what I'm looking for :p
rod
Post by Brian West
Well this depends on how you're placing the call.. if its a standard
bridge you can on the A-Leg set
"effective_caller_id_number=000${caller_id_number}" before you call
bridge.
Is the from already in the correct format?
/b
Post by rod
Dear list,
I'd like to rewrite the number in the Remote Party ID header and only in
this header.
ex: I'd like to prefix the caller ID with a prefix code (000 in this
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
<sip:123456 at 10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
<sip:000123456 at 10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
But the From field should remain unchanged.
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
<sip:000123456 at 10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
<sip:123456 at 10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
regards.
------------------------------------------------------------------------
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
seven
2009-03-06 02:00:05 UTC
Permalink
try
bridge
({effective_caller_id_name
="your_name",effective_caller_id_number="0000"}sofia/b-leg)
Post by rod
From: "Anonymous"<sip:anonymous at anonymous.invalid;user=phone>
From: "Anonymous" <sip:000000anonymous at 172.29.0.5>
rod
Post by rod
Hi Brian,
From: "Anonymous" <sip:000000anonymous at 172.29.0.5>;tag=17geyFjX5p0gS.
this is not exactly what I'm looking for :p
rod
Post by Brian West
Well this depends on how you're placing the call.. if its a standard
bridge you can on the A-Leg set
"effective_caller_id_number=000${caller_id_number}" before you call
bridge.
Is the from already in the correct format?
/b
Post by rod
Dear list,
I'd like to rewrite the number in the Remote Party ID header and only in
this header.
ex: I'd like to prefix the caller ID with a prefix code (000 in this
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
123456
@10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
000123456
@10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
But the From field should remain unchanged.
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
000123456
@10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
123456
@10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
regards.
------------------------------------------------------------------------
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
rod
2009-03-06 07:51:31 UTC
Permalink
using these functions like this did nothing on the SIP INVITE packet :'(
Post by Brian West
try
bridge
({effective_caller_id_name
="your_name",effective_caller_id_number="0000"}sofia/b-leg)
Post by rod
From: "Anonymous"<sip:anonymous at anonymous.invalid;user=phone>
From: "Anonymous" <sip:000000anonymous at 172.29.0.5>
rod
Post by rod
Hi Brian,
From: "Anonymous" <sip:000000anonymous at 172.29.0.5>;tag=17geyFjX5p0gS.
this is not exactly what I'm looking for :p
rod
Post by Brian West
Well this depends on how you're placing the call.. if its a standard
bridge you can on the A-Leg set
"effective_caller_id_number=000${caller_id_number}" before you call
bridge.
Is the from already in the correct format?
/b
Post by rod
Dear list,
I'd like to rewrite the number in the Remote Party ID header and only in
this header.
ex: I'd like to prefix the caller ID with a prefix code (000 in this
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
123456
@10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
000123456
@10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
But the From field should remain unchanged.
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
000123456
@10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
123456
@10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
regards.
------------------------------------------------------------------------
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
dujinfang
2009-03-06 12:34:10 UTC
Permalink
How about this?

bridge
({origination_caller_id_name
="your_name",origination_caller_id_number="0000"}sofia/b-leg)
Post by rod
using these functions like this did nothing on the SIP INVITE
packet :'(
Post by Brian West
try
bridge
({effective_caller_id_name
="your_name",effective_caller_id_number="0000"}sofia/b-leg)
Post by rod
From: "Anonymous"<sip:anonymous at anonymous.invalid;user=phone>
From: "Anonymous" <sip:000000anonymous at 172.29.0.5>
rod
Post by rod
Hi Brian,
000000anonymous at 172.29.0.5>;tag=17geyFjX5p0gS.
this is not exactly what I'm looking for :p
rod
Post by Brian West
Well this depends on how you're placing the call.. if its a standard
bridge you can on the A-Leg set
"effective_caller_id_number=000${caller_id_number}" before you call
bridge.
Is the from already in the correct format?
/b
Post by rod
Dear list,
I'd like to rewrite the number in the Remote Party ID header and only in
this header.
ex: I'd like to prefix the caller ID with a prefix code (000 in this
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
123456
@10.10.10.10
:5062;user=phone>;privacy=full;screen=yes;party=calling
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
000123456
@10.10.10.10
:5062;user=phone>;privacy=full;screen=yes;party=calling
But the From field should remain unchanged.
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
000123456
@10.10.10.10
:5062;user=phone>;privacy=full;screen=yes;party=calling
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
123456
@10.10.10.10
:5062;user=phone>;privacy=full;screen=yes;party=calling
regards.
------------------------------------------------------------------------
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
David Knell
2009-03-06 14:25:59 UTC
Permalink
Hi Rod,

You can set it directly:
<action
application="set"><![CDATA[sip_h_Remote-Party-Identity="${caller_id_number}"
<sip:{$caller_id_number}@1.2.3.4>;screen=yes;privacy=off]]></action>
<action application="bridge" data="sofia/gateway/wherever/+$1"/>

--Dave
Post by rod
using these functions like this did nothing on the SIP INVITE packet :'(
Post by Brian West
try
bridge
({effective_caller_id_name
="your_name",effective_caller_id_number="0000"}sofia/b-leg)
Post by rod
From: "Anonymous"<sip:anonymous at anonymous.invalid;user=phone>
From: "Anonymous" <sip:000000anonymous at 172.29.0.5>
rod
Post by rod
Hi Brian,
From: "Anonymous" <sip:000000anonymous at 172.29.0.5>;tag=17geyFjX5p0gS.
this is not exactly what I'm looking for :p
rod
Post by Brian West
Well this depends on how you're placing the call.. if its a standard
bridge you can on the A-Leg set
"effective_caller_id_number=000${caller_id_number}" before you call
bridge.
Is the from already in the correct format?
/b
Post by rod
Dear list,
I'd like to rewrite the number in the Remote Party ID header and only in
this header.
ex: I'd like to prefix the caller ID with a prefix code (000 in this
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
123456
@10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
000123456
@10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
But the From field should remain unchanged.
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
000123456
@10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
123456
@10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
regards.
------------------------------------------------------------------------
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090306/036723ce/attachment-0001.html
rod
2009-03-09 06:48:01 UTC
Permalink
Hi David,

already tried this :p
the pbm is that this doesn' modify the RPID header, but it adds a new
one so that I have 2 RPID header in the SIP INVITE :(

rod
Post by David Knell
Hi Rod,
<action
application="set"><![CDATA[sip_h_Remote-Party-Identity="${caller_id_number}"
<action application="bridge" data="sofia/gateway/wherever/+$1"/>
--Dave
Post by rod
using these functions like this did nothing on the SIP INVITE packet :'(
Post by Brian West
try
bridge
({effective_caller_id_name
="your_name",effective_caller_id_number="0000"}sofia/b-leg)
Post by rod
From: "Anonymous"<sip:anonymous at anonymous.invalid;user=phone>
From: "Anonymous" <sip:000000anonymous at 172.29.0.5>
rod
Post by rod
Hi Brian,
From: "Anonymous" <sip:000000anonymous at 172.29.0.5>;tag=17geyFjX5p0gS.
this is not exactly what I'm looking for :p
rod
Post by Brian West
Well this depends on how you're placing the call.. if its a standard
bridge you can on the A-Leg set
"effective_caller_id_number=000${caller_id_number}" before you call
bridge.
Is the from already in the correct format?
/b
Post by rod
Dear list,
I'd like to rewrite the number in the Remote Party ID header and only in
this header.
ex: I'd like to prefix the caller ID with a prefix code (000 in this
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
123456
@10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
000123456
@10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
But the From field should remain unchanged.
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
000123456
@10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
123456
@10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
regards.
------------------------------------------------------------------------
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
------------------------------------------------------------------------
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
rod
2009-03-10 11:00:57 UTC
Permalink
Hi all,

it seems there is no way to do this :(

It could be great to be able to:
- decide if RPID should be present or not in the B leg for an
outbound call
- make RPID header fully customizable with variables
- filter RPID for inbound call

I saw that kokoska rokoska created a jira bounty for 50$: Make RPID SIP
header optional

I'll add 150$ for this if I could manage RPID as described above.
Sorry to use mailing list for this, I'm unable to add a note on jira for
this bounty.

regards,
rod
Post by rod
Hi David,
already tried this :p
the pbm is that this doesn' modify the RPID header, but it adds a new
one so that I have 2 RPID header in the SIP INVITE :(
rod
Post by David Knell
Hi Rod,
<action
application="set"><![CDATA[sip_h_Remote-Party-Identity="${caller_id_number}"
<action application="bridge" data="sofia/gateway/wherever/+$1"/>
--Dave
Post by rod
using these functions like this did nothing on the SIP INVITE packet :'(
Post by Brian West
try
bridge
({effective_caller_id_name
="your_name",effective_caller_id_number="0000"}sofia/b-leg)
Post by rod
From: "Anonymous"<sip:anonymous at anonymous.invalid;user=phone>
From: "Anonymous" <sip:000000anonymous at 172.29.0.5>
rod
Post by rod
Hi Brian,
From: "Anonymous" <sip:000000anonymous at 172.29.0.5>;tag=17geyFjX5p0gS.
this is not exactly what I'm looking for :p
rod
Post by Brian West
Well this depends on how you're placing the call.. if its a standard
bridge you can on the A-Leg set
"effective_caller_id_number=000${caller_id_number}" before you call
bridge.
Is the from already in the correct format?
/b
Post by rod
Dear list,
I'd like to rewrite the number in the Remote Party ID header and only in
this header.
ex: I'd like to prefix the caller ID with a prefix code (000 in this
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
123456
@10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
000123456
@10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
But the From field should remain unchanged.
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
000123456
@10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
123456
@10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
regards.
------------------------------------------------------------------------
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
------------------------------------------------------------------------
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
kokoska rokoska
2009-03-10 11:30:49 UTC
Permalink
Post by rod
Hi all,
it seems there is no way to do this :(
- decide if RPID should be present or not in the B leg for an
outbound call
- make RPID header fully customizable with variables
- filter RPID for inbound call
I saw that kokoska rokoska created a jira bounty for 50$: Make RPID SIP
header optional
I'll add 150$ for this if I could manage RPID as described above.
Sorry to use mailing list for this, I'm unable to add a note on jira for
this bounty.
I really don't need to customize RPID (cause it is depricated header),
but... Well let's add another 50 $ if it will work like you describe :-)

Best regards,

kokoska.rokoska
rod
2009-03-10 12:13:18 UTC
Permalink
Yes I know, it's deprecated but many peers still rely on this and
P-Asserted-ID is not widely spread (my own experience).
moreover if we could strip the RPID, we could write a new one, but It
could be very convenient to get access to the fields in this header for
manipulation.

thanks for supporting this request :p
Post by kokoska rokoska
Post by rod
Hi all,
it seems there is no way to do this :(
- decide if RPID should be present or not in the B leg for an
outbound call
- make RPID header fully customizable with variables
- filter RPID for inbound call
I saw that kokoska rokoska created a jira bounty for 50$: Make RPID SIP
header optional
I'll add 150$ for this if I could manage RPID as described above.
Sorry to use mailing list for this, I'm unable to add a note on jira for
this bounty.
I really don't need to customize RPID (cause it is depricated header),
but... Well let's add another 50 $ if it will work like you describe :-)
Best regards,
kokoska.rokoska
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
kokoska rokoska
2009-03-10 12:32:51 UTC
Permalink
... if we could strip the RPID, we could write a new one, but It
could be very convenient to get access to the fields in this header for
manipulation.
Yes, rod, this is exactly why I update bounty to $100 :-)

Thank you very much, rod, for support!

Best regards,

kokoska.rokoska
Anthony Minessale
2009-03-10 13:16:19 UTC
Permalink
Latest SVN:

Send no extra caller id info:
{sip_cid_type=none}sofia/default/user at example.com

Send RPID (default)
{sip_cid_type=rpid}sofia/default/user at example.com

Send P-XXX-Identity
{sip_cid_type=pid}sofia/default/user at example.com

Send RPID with chosen content
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234}sofia/default/
user at example.com
[ Show ? <http://jira.freeswitch.org/browse/BOUNTY-2> ]
Anthony Minessale
II<http://jira.freeswitch.org/secure/ViewProfile.jspa?name=anthm>added
a comment - 10/Mar/09
07:59 AM Send no extra caller id info: {sip_cid_type=none}sofia/default/
user at example.com Send RPID (default) {sip_cid_type=rpid}sofia/default/
user at example.com Send P-XXX-Identity {sip_cid_type=pid}sofia/default/
user at example.com Send RPID with chosen content
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234}sofia/default/
user at example.com

Send RPID with chosen content and privacy flags (+ delimited, none to clear
all flags)
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234,origination_privacy=screen+hide_name+hide_number}sofia/default/
user at example.com


[ Show ? <http://jira.freeswitch.org/browse/BOUNTY-2> ]
Anthony Minessale
II<http://jira.freeswitch.org/secure/ViewProfile.jspa?name=anthm>added
a comment - 10/Mar/09
07:59 AM Send no extra caller id info: {sip_cid_type=none}sofia/default/
user at example.com Send RPID (default) {sip_cid_type=rpid}sofia/default/
user at example.com Send P-XXX-Identity {sip_cid_type=pid}sofia/default/
user at example.com Send RPID with chosen content
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234}sofia/default/
user at example.com


Also the privacy app on the inbound leg controls the remaining contents of
the RPID and Privacy headers.
Post by kokoska rokoska
... if we could strip the RPID, we could write a new one, but It
could be very convenient to get access to the fields in this header for
manipulation.
Yes, rod, this is exactly why I update bounty to $100 :-)
Thank you very much, rod, for support!
Best regards,
kokoska.rokoska
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090310/2b6b7657/attachment.html
Shelby Ramsey
2009-03-10 13:28:25 UTC
Permalink
Anthony,

That is awesome. This is something that will be a BIG help.

SDR
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090310/3008dc65/attachment.html
kokoska rokoska
2009-03-10 13:36:44 UTC
Permalink
{sip_cid_type=none}sofia/default/user at example.com <mailto:user at example.com>
Send RPID (default)
{sip_cid_type=rpid}sofia/default/user at example.com <mailto:user at example.com>
Send P-XXX-Identity
{sip_cid_type=pid}sofia/default/user at example.com <mailto:user at example.com>
Send RPID with chosen content
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234}sofia/default/user at example.com
<mailto:user at example.com>
[ Show ? <http://jira.freeswitch.org/browse/BOUNTY-2> ]
Anthony Minessale II
<http://jira.freeswitch.org/secure/ViewProfile.jspa?name=anthm> added a
{sip_cid_type=none}sofia/default/user at example.com
<mailto:user at example.com> Send RPID (default)
{sip_cid_type=rpid}sofia/default/user at example.com
<mailto:user at example.com> Send P-XXX-Identity
{sip_cid_type=pid}sofia/default/user at example.com
<mailto:user at example.com> Send RPID with chosen content
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234}sofia/default/user at example.com
<mailto:user at example.com>
Send RPID with chosen content and privacy flags (+ delimited, none to
clear all flags)
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234,origination_privacy=screen+hide_name+hide_number}sofia/default/user at example.com
<mailto:user at example.com>
[ Show ? <http://jira.freeswitch.org/browse/BOUNTY-2> ]
Anthony Minessale II
<http://jira.freeswitch.org/secure/ViewProfile.jspa?name=anthm> added a
{sip_cid_type=none}sofia/default/user at example.com
<mailto:user at example.com> Send RPID (default)
{sip_cid_type=rpid}sofia/default/user at example.com
<mailto:user at example.com> Send P-XXX-Identity
{sip_cid_type=pid}sofia/default/user at example.com
<mailto:user at example.com> Send RPID with chosen content
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234}sofia/default/user at example.com
<mailto:user at example.com>
Also the privacy app on the inbound leg controls the remaining contents
of the RPID and Privacy headers.
Incredible speed - like usually :-)

Thank you very much, Anthony, for your work! Where should I send my bucks?

Best regards,

kokoska.rokoska
Anthony Minessale
2009-03-10 14:19:42 UTC
Permalink
The paypal button on the hompege will do ;)
user at example.com>
Post by Anthony Minessale
Send RPID (default)
user at example.com>
Post by Anthony Minessale
Send P-XXX-Identity
user at example.com>
Post by Anthony Minessale
Send RPID with chosen content
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234}sofia/default/
user at example.com
Post by Anthony Minessale
<mailto:user at example.com>
[ Show ? <http://jira.freeswitch.org/browse/BOUNTY-2> ]
Anthony Minessale II
<http://jira.freeswitch.org/secure/ViewProfile.jspa?name=anthm> added a
{sip_cid_type=none}sofia/default/user at example.com
<mailto:user at example.com> Send RPID (default)
{sip_cid_type=rpid}sofia/default/user at example.com
<mailto:user at example.com> Send P-XXX-Identity
{sip_cid_type=pid}sofia/default/user at example.com
<mailto:user at example.com> Send RPID with chosen content
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234}sofia/default/
user at example.com
Post by Anthony Minessale
<mailto:user at example.com>
Send RPID with chosen content and privacy flags (+ delimited, none to
clear all flags)
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234,origination_privacy=screen+hide_name+hide_number}sofia/default/
user at example.com
Post by Anthony Minessale
<mailto:user at example.com>
[ Show ? <http://jira.freeswitch.org/browse/BOUNTY-2> ]
Anthony Minessale II
<http://jira.freeswitch.org/secure/ViewProfile.jspa?name=anthm> added a
{sip_cid_type=none}sofia/default/user at example.com
<mailto:user at example.com> Send RPID (default)
{sip_cid_type=rpid}sofia/default/user at example.com
<mailto:user at example.com> Send P-XXX-Identity
{sip_cid_type=pid}sofia/default/user at example.com
<mailto:user at example.com> Send RPID with chosen content
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234}sofia/default/
user at example.com
Post by Anthony Minessale
<mailto:user at example.com>
Also the privacy app on the inbound leg controls the remaining contents
of the RPID and Privacy headers.
Incredible speed - like usually :-)
Thank you very much, Anthony, for your work! Where should I send my bucks?
Best regards,
kokoska.rokoska
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090310/6b471531/attachment-0001.html
kokoska rokoska
2009-03-10 14:57:20 UTC
Permalink
Done :-)

kokoska.rokoska
Post by Anthony Minessale
The paypal button on the hompege will do ;)
kokoska rokoska
2009-03-10 14:57:20 UTC
Permalink
Done :-)

kokoska.rokoska
Post by Anthony Minessale
The paypal button on the hompege will do ;)
Anthony Minessale
2009-03-10 14:19:42 UTC
Permalink
The paypal button on the hompege will do ;)
user at example.com>
Post by Anthony Minessale
Send RPID (default)
user at example.com>
Post by Anthony Minessale
Send P-XXX-Identity
user at example.com>
Post by Anthony Minessale
Send RPID with chosen content
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234}sofia/default/
user at example.com
Post by Anthony Minessale
<mailto:user at example.com>
[ Show ? <http://jira.freeswitch.org/browse/BOUNTY-2> ]
Anthony Minessale II
<http://jira.freeswitch.org/secure/ViewProfile.jspa?name=anthm> added a
{sip_cid_type=none}sofia/default/user at example.com
<mailto:user at example.com> Send RPID (default)
{sip_cid_type=rpid}sofia/default/user at example.com
<mailto:user at example.com> Send P-XXX-Identity
{sip_cid_type=pid}sofia/default/user at example.com
<mailto:user at example.com> Send RPID with chosen content
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234}sofia/default/
user at example.com
Post by Anthony Minessale
<mailto:user at example.com>
Send RPID with chosen content and privacy flags (+ delimited, none to
clear all flags)
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234,origination_privacy=screen+hide_name+hide_number}sofia/default/
user at example.com
Post by Anthony Minessale
<mailto:user at example.com>
[ Show ? <http://jira.freeswitch.org/browse/BOUNTY-2> ]
Anthony Minessale II
<http://jira.freeswitch.org/secure/ViewProfile.jspa?name=anthm> added a
{sip_cid_type=none}sofia/default/user at example.com
<mailto:user at example.com> Send RPID (default)
{sip_cid_type=rpid}sofia/default/user at example.com
<mailto:user at example.com> Send P-XXX-Identity
{sip_cid_type=pid}sofia/default/user at example.com
<mailto:user at example.com> Send RPID with chosen content
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234}sofia/default/
user at example.com
Post by Anthony Minessale
<mailto:user at example.com>
Also the privacy app on the inbound leg controls the remaining contents
of the RPID and Privacy headers.
Incredible speed - like usually :-)
Thank you very much, Anthony, for your work! Where should I send my bucks?
Best regards,
kokoska.rokoska
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090310/6b471531/attachment-0002.html
rod
2009-03-10 14:30:28 UTC
Permalink
Hi Anthony,

thanks for this but I'd like to know if it's possible also to change
only the caller_id_name and caller_id_number without modifying the from
header.

ex: with the origination variables I get this
From: "test" <sip:1234 at 172.29.0.5>;tag=X4v4Kvt1B2DQF
Remote-Party-ID: "test"
<sip:1234 at 172.29.0.5>;party=calling;screen=yes;privacy=off

and in the case of an anonymous call where from is like this on A-leg:
From: Anonymous
<sip:anonymous at anonymous.invalid>;tag=z07m5db13cb-cbs450547977-o-5273-368294925

it is changed like this on B-leg:
From: "test" <sip:1234 at 172.29.0.5>;tag=X4v4Kvt1B2DQF

Moreover, in case of a bridged call, could you add the possibility to
pass as is from header for an anonymous call.
Running current, I have this:
on A-leg:
From:
"Anonymous"<sip:anonymous at anonymous.invalid;user=phone>;tag=c0a80101-fed0c
on B-leg:
From: "Anonymous" <sip:anonymous at 172.29.0.5>;tag=tpjD57U2pyrFN

and I'd like B-leg to match A-leg for anonymous call as stated in RFC,
anonymous at anonymous.invalid is the proposed way to handle anonymous
call, I'll add 50$ more for support of this last request.

thanks for your reactivity.
regards,
rod
Post by Anthony Minessale
{sip_cid_type=none}sofia/default/user at example.com
<mailto:user at example.com>
Send RPID (default)
{sip_cid_type=rpid}sofia/default/user at example.com
<mailto:user at example.com>
Send P-XXX-Identity
{sip_cid_type=pid}sofia/default/user at example.com
<mailto:user at example.com>
Send RPID with chosen content
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234}sofia/default/user at example.com
<mailto:user at example.com>
[ Show ? <http://jira.freeswitch.org/browse/BOUNTY-2> ]
Anthony Minessale II
<http://jira.freeswitch.org/secure/ViewProfile.jspa?name=anthm> added
{sip_cid_type=none}sofia/default/user at example.com
<mailto:user at example.com> Send RPID (default)
{sip_cid_type=rpid}sofia/default/user at example.com
<mailto:user at example.com> Send P-XXX-Identity
{sip_cid_type=pid}sofia/default/user at example.com
<mailto:user at example.com> Send RPID with chosen content
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234}sofia/default/user at example.com
<mailto:user at example.com>
Send RPID with chosen content and privacy flags (+ delimited, none to
clear all flags)
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234,origination_privacy=screen+hide_name+hide_number}sofia/default/user at example.com
<mailto:user at example.com>
[ Show ? <http://jira.freeswitch.org/browse/BOUNTY-2> ]
Anthony Minessale II
<http://jira.freeswitch.org/secure/ViewProfile.jspa?name=anthm> added
{sip_cid_type=none}sofia/default/user at example.com
<mailto:user at example.com> Send RPID (default)
{sip_cid_type=rpid}sofia/default/user at example.com
<mailto:user at example.com> Send P-XXX-Identity
{sip_cid_type=pid}sofia/default/user at example.com
<mailto:user at example.com> Send RPID with chosen content
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234}sofia/default/user at example.com
<mailto:user at example.com>
Also the privacy app on the inbound leg controls the remaining
contents of the RPID and Privacy headers.
On Tue, Mar 10, 2009 at 7:32 AM, kokoska rokoska
... if we could strip the RPID, we could write a new one, but It
could be very convenient to get access to the fields in this
header for
manipulation.
Yes, rod, this is exactly why I update bounty to $100 :-)
Thank you very much, rod, for support!
Best regards,
kokoska.rokoska
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
<mailto:Freeswitch-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale at hotmail.com
<mailto:MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
<mailto:PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
<mailto:sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
<http://iax:guest at conference.freeswitch.org/888>
googletalk:conf+888 at conference.freeswitch.org
<mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
------------------------------------------------------------------------
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Anthony Minessale
2009-03-10 15:17:23 UTC
Permalink
ok if you are up to date you should be able to add

{sip_from_uri=sip:anonymous at anonymous.invalid} to your dial string.
Post by rod
Hi Anthony,
thanks for this but I'd like to know if it's possible also to change
only the caller_id_name and caller_id_number without modifying the from
header.
ex: with the origination variables I get this
From: "test" <sip:1234 at 172.29.0.5 <sip%3A1234 at 172.29.0.5>
Post by rod
;tag=X4v4Kvt1B2DQF
Remote-Party-ID: "test"
<sip:1234 at 172.29.0.5 <sip%3A1234 at 172.29.0.5>
Post by rod
;party=calling;screen=yes;privacy=off
From: Anonymous
<sip:anonymous at anonymous.invalid
Post by rod
;tag=z07m5db13cb-cbs450547977-o-5273-368294925
From: "test" <sip:1234 at 172.29.0.5 <sip%3A1234 at 172.29.0.5>
Post by rod
;tag=X4v4Kvt1B2DQF
Moreover, in case of a bridged call, could you add the possibility to
pass as is from header for an anonymous call.
"Anonymous"<sip:anonymous at anonymous.invalid;user=phone>;tag=c0a80101-fed0c
From: "Anonymous" <sip:anonymous at 172.29.0.5 <sip%3Aanonymous at 172.29.0.5>
Post by rod
;tag=tpjD57U2pyrFN
and I'd like B-leg to match A-leg for anonymous call as stated in RFC,
anonymous at anonymous.invalid is the proposed way to handle anonymous
call, I'll add 50$ more for support of this last request.
thanks for your reactivity.
regards,
rod
Post by rod
{sip_cid_type=none}sofia/default/user at example.com
<mailto:user at example.com>
Send RPID (default)
{sip_cid_type=rpid}sofia/default/user at example.com
<mailto:user at example.com>
Send P-XXX-Identity
{sip_cid_type=pid}sofia/default/user at example.com
<mailto:user at example.com>
Send RPID with chosen content
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234}sofia/default/
user at example.com
Post by rod
<mailto:user at example.com>
[ Show ? <http://jira.freeswitch.org/browse/BOUNTY-2> ]
Anthony Minessale II
<http://jira.freeswitch.org/secure/ViewProfile.jspa?name=anthm> added
{sip_cid_type=none}sofia/default/user at example.com
<mailto:user at example.com> Send RPID (default)
{sip_cid_type=rpid}sofia/default/user at example.com
<mailto:user at example.com> Send P-XXX-Identity
{sip_cid_type=pid}sofia/default/user at example.com
<mailto:user at example.com> Send RPID with chosen content
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234}sofia/default/
user at example.com
Post by rod
<mailto:user at example.com>
Send RPID with chosen content and privacy flags (+ delimited, none to
clear all flags)
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234,origination_privacy=screen+hide_name+hide_number}sofia/default/
user at example.com
Post by rod
<mailto:user at example.com>
[ Show ? <http://jira.freeswitch.org/browse/BOUNTY-2> ]
Anthony Minessale II
<http://jira.freeswitch.org/secure/ViewProfile.jspa?name=anthm> added
{sip_cid_type=none}sofia/default/user at example.com
<mailto:user at example.com> Send RPID (default)
{sip_cid_type=rpid}sofia/default/user at example.com
<mailto:user at example.com> Send P-XXX-Identity
{sip_cid_type=pid}sofia/default/user at example.com
<mailto:user at example.com> Send RPID with chosen content
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234}sofia/default/
user at example.com
Post by rod
<mailto:user at example.com>
Also the privacy app on the inbound leg controls the remaining
contents of the RPID and Privacy headers.
On Tue, Mar 10, 2009 at 7:32 AM, kokoska rokoska
... if we could strip the RPID, we could write a new one, but It
could be very convenient to get access to the fields in this
header for
manipulation.
Yes, rod, this is exactly why I update bounty to $100 :-)
Thank you very much, rod, for support!
Best regards,
kokoska.rokoska
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
<mailto:Freeswitch-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
http://lists.freeswitch.org/mailman/options/freeswitch-users
Post by rod
http://www.freeswitch.org
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
<mailto:MSN%3Aanthony_minessale at hotmail.com<MSN%253Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
<mailto:PAYPAL%3Aanthony.minessale at gmail.com<PAYPAL%253Aanthony.minessale at gmail.com>
IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
<mailto:sip%3A888 at conference.freeswitch.org<sip%253A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
<http://iax:guest at conference.freeswitch.org/888>
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
<mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org<googletalk%253Aconf%252B888 at conference.freeswitch.org>
pstn:213-799-1400
------------------------------------------------------------------------
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090310/8bff0048/attachment-0001.html
kokoska rokoska
2009-03-10 15:53:56 UTC
Permalink
Post by Anthony Minessale
ok if you are up to date you should be able to add
{sip_from_uri=sip:anonymous at anonymous.invalid} to your dial string.
Many thanks, Anthony, for that feature!

It makes my life a lot easier :-)

Best regards,

kokoska.rokoska
rod
2009-03-11 08:33:33 UTC
Permalink
thanks a lot Anthony,

I consider the work is done and I did the paypal transfer of 200$.

But I'll be happy if you could do some minor changes:

I used this in the dialplan:
<action application="bridge"
data="{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=000000${sip_contact_user},origina\
tion_privacy=screen+hide_name+hide_number,sip_from_uri=sip:anonymous at anonymous.invalid}sofia/ss7/000000${destination_number}@${GW_IP}"/>

and I get this

From: "test" <sip:anonymous at anonymous.invalid>;tag=tQ52gmv6NyN0D.
Remote-Party-ID: "test"
<sip:000000123456789 at anonymous.invalid>;party=calling;screen=yes;privacy=off.

as you may see, the origination_caller_id_name has been put in the from
URI, and the domain part in the remote party ID has been transformed to
@anonymous.invalid.

It would be perfect if I could get this instead:
From: "Anonymous" <sip:anonymous at anonymous.invalid>;tag=tQ52gmv6NyN0D.
Remote-Party-ID: "test"
<sip:000000123456789 at 172.29.0.5>;party=calling;screen=yes;privacy=off.

where 172.29.0.5 is the external IP used by FS to bridge the call in
this example (but I'm sure you already know this :p)

regards,
rod
Post by Anthony Minessale
ok if you are up to date you should be able to add
{sip_from_uri=sip:anonymous at anonymous.invalid} to your dial string.
On Tue, Mar 10, 2009 at 9:30 AM, rod <kawarod at laposte.net
Hi Anthony,
thanks for this but I'd like to know if it's possible also to change
only the caller_id_name and caller_id_number without modifying the from
header.
ex: with the origination variables I get this
From: "test" <sip:1234 at 172.29.0.5
<mailto:sip%3A1234 at 172.29.0.5>>;tag=X4v4Kvt1B2DQF
Remote-Party-ID: "test"
<sip:1234 at 172.29.0.5
<mailto:sip%3A1234 at 172.29.0.5>>;party=calling;screen=yes;privacy=off
From: Anonymous
<sip:anonymous at anonymous.invalid>;tag=z07m5db13cb-cbs450547977-o-5273-368294925
From: "test" <sip:1234 at 172.29.0.5
<mailto:sip%3A1234 at 172.29.0.5>>;tag=X4v4Kvt1B2DQF
Moreover, in case of a bridged call, could you add the possibility to
pass as is from header for an anonymous call.
"Anonymous"<sip:anonymous at anonymous.invalid;user=phone>;tag=c0a80101-fed0c
From: "Anonymous" <sip:anonymous at 172.29.0.5
<mailto:sip%3Aanonymous at 172.29.0.5>>;tag=tpjD57U2pyrFN
and I'd like B-leg to match A-leg for anonymous call as stated in RFC,
anonymous at anonymous.invalid is the proposed way to handle anonymous
call, I'll add 50$ more for support of this last request.
thanks for your reactivity.
regards,
rod
Post by Anthony Minessale
{sip_cid_type=none}sofia/default/user at example.com
<mailto:user at example.com>
Post by Anthony Minessale
<mailto:user at example.com <mailto:user at example.com>>
Send RPID (default)
{sip_cid_type=rpid}sofia/default/user at example.com
<mailto:user at example.com>
Post by Anthony Minessale
<mailto:user at example.com <mailto:user at example.com>>
Send P-XXX-Identity
{sip_cid_type=pid}sofia/default/user at example.com
<mailto:user at example.com>
Post by Anthony Minessale
<mailto:user at example.com <mailto:user at example.com>>
Send RPID with chosen content
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234}sofia/default/user at example.com
<mailto:user at example.com>
Post by Anthony Minessale
<mailto:user at example.com <mailto:user at example.com>>
[ Show ? <http://jira.freeswitch.org/browse/BOUNTY-2> ]
Anthony Minessale II
<http://jira.freeswitch.org/secure/ViewProfile.jspa?name=anthm>
added
Post by Anthony Minessale
{sip_cid_type=none}sofia/default/user at example.com
<mailto:user at example.com>
Post by Anthony Minessale
<mailto:user at example.com <mailto:user at example.com>> Send RPID
(default)
Post by Anthony Minessale
{sip_cid_type=rpid}sofia/default/user at example.com
<mailto:user at example.com>
Post by Anthony Minessale
<mailto:user at example.com <mailto:user at example.com>> Send
P-XXX-Identity
Post by Anthony Minessale
{sip_cid_type=pid}sofia/default/user at example.com
<mailto:user at example.com>
Post by Anthony Minessale
<mailto:user at example.com <mailto:user at example.com>> Send RPID
with chosen content
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234}sofia/default/user at example.com
<mailto:user at example.com>
Post by Anthony Minessale
<mailto:user at example.com <mailto:user at example.com>>
Send RPID with chosen content and privacy flags (+ delimited,
none to
Post by Anthony Minessale
clear all flags)
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234,origination_privacy=screen+hide_name+hide_number}sofia/default/user at example.com
<mailto:user at example.com>
Post by Anthony Minessale
<mailto:user at example.com <mailto:user at example.com>>
[ Show ? <http://jira.freeswitch.org/browse/BOUNTY-2> ]
Anthony Minessale II
<http://jira.freeswitch.org/secure/ViewProfile.jspa?name=anthm>
added
Post by Anthony Minessale
{sip_cid_type=none}sofia/default/user at example.com
<mailto:user at example.com>
Post by Anthony Minessale
<mailto:user at example.com <mailto:user at example.com>> Send RPID
(default)
Post by Anthony Minessale
{sip_cid_type=rpid}sofia/default/user at example.com
<mailto:user at example.com>
Post by Anthony Minessale
<mailto:user at example.com <mailto:user at example.com>> Send
P-XXX-Identity
Post by Anthony Minessale
{sip_cid_type=pid}sofia/default/user at example.com
<mailto:user at example.com>
Post by Anthony Minessale
<mailto:user at example.com <mailto:user at example.com>> Send RPID
with chosen content
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234}sofia/default/user at example.com
<mailto:user at example.com>
Post by Anthony Minessale
<mailto:user at example.com <mailto:user at example.com>>
Also the privacy app on the inbound leg controls the remaining
contents of the RPID and Privacy headers.
On Tue, Mar 10, 2009 at 7:32 AM, kokoska rokoska
<kokoska.rokoska at post.cz <mailto:kokoska.rokoska at post.cz>
<mailto:kokoska.rokoska at post.cz <mailto:kokoska.rokoska at post.cz>>>
Post by Anthony Minessale
... if we could strip the RPID, we could write a new one,
but It
Post by Anthony Minessale
could be very convenient to get access to the fields in this
header for
manipulation.
Yes, rod, this is exactly why I update bounty to $100 :-)
Thank you very much, rod, for support!
Best regards,
kokoska.rokoska
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
<mailto:Freeswitch-users at lists.freeswitch.org>
Post by Anthony Minessale
<mailto:Freeswitch-users at lists.freeswitch.org
<mailto:Freeswitch-users at lists.freeswitch.org>>
Post by Anthony Minessale
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
Post by Anthony Minessale
http://www.freeswitch.org
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale at hotmail.com
<mailto:MSN%3Aanthony_minessale at hotmail.com>
Post by Anthony Minessale
<mailto:MSN%3Aanthony_minessale at hotmail.com
<mailto:MSN%253Aanthony_minessale at hotmail.com>>
Post by Anthony Minessale
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
<mailto:PAYPAL%3Aanthony.minessale at gmail.com>
Post by Anthony Minessale
<mailto:PAYPAL%3Aanthony.minessale at gmail.com
<mailto:PAYPAL%253Aanthony.minessale at gmail.com>>
Post by Anthony Minessale
IRC: irc.freenode.net <http://irc.freenode.net>
<http://irc.freenode.net> #freeswitch
Post by Anthony Minessale
FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
<mailto:sip%3A888 at conference.freeswitch.org>
Post by Anthony Minessale
<mailto:sip%3A888 at conference.freeswitch.org
<mailto:sip%253A888 at conference.freeswitch.org>>
Post by Anthony Minessale
iax:guest at conference.freeswitch.org/888
<http://iax:guest at conference.freeswitch.org/888>
Post by Anthony Minessale
<http://iax:guest at conference.freeswitch.org/888>
googletalk:conf+888 at conference.freeswitch.org
<mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org>
Post by Anthony Minessale
<mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org
<mailto:googletalk%253Aconf%252B888 at conference.freeswitch.org>>
Post by Anthony Minessale
pstn:213-799-1400
------------------------------------------------------------------------
Post by Anthony Minessale
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
<mailto:Freeswitch-users at lists.freeswitch.org>
Post by Anthony Minessale
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
Post by Anthony Minessale
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
<mailto:Freeswitch-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale at hotmail.com
<mailto:MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
<mailto:PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
<mailto:sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
<http://iax:guest at conference.freeswitch.org/888>
googletalk:conf+888 at conference.freeswitch.org
<mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
------------------------------------------------------------------------
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Anthony Minessale
2009-03-11 13:16:38 UTC
Permalink
Post by rod
thanks a lot Anthony,
I consider the work is done and I did the paypal transfer of 200$.
Done....r12563
--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090311/0c7211ba/attachment-0001.html
rod
2009-03-11 14:09:30 UTC
Permalink
ok,

almost perfect :p

using this in dialplan:
{sip_cid_type=rpid,origination_caller_id_number=000000${CALLER_NUMBER},origination_caller_id_name=test,originatio\
n_privacy=screen+hide_name+hide_number,sip_from_uri=sip:anonymous at anonymous.invalid}sofia/ss7/000000${destination_number}@${GW_IP}

I have this on B leg
From: "test" <sip:anonymous at anonymous.invalid>;tag=gQ53Hjp617BSH.
Remote-Party-ID: "test"
<sip:000000262262880001 at 172.29.0.5>;party=calling;screen=yes;privacy=off.

As you can see the caller id name is still modified, do you think you
could add something like sip_from_uri_name to circumvent this.

Anthony, I tried many settings for origination_privacy and it seems to
do nothing on the RPID header. Any clue?

regards.
On Wed, Mar 11, 2009 at 3:33 AM, rod <kawarod at laposte.net
thanks a lot Anthony,
I consider the work is done and I did the paypal transfer of 200$.
Done....r12563
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale at hotmail.com
<mailto:MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
<mailto:PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
<mailto:sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
<http://iax:guest at conference.freeswitch.org/888>
googletalk:conf+888 at conference.freeswitch.org
<mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
------------------------------------------------------------------------
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Anthony Minessale
2009-03-11 15:14:36 UTC
Permalink
try now
Post by rod
ok,
almost perfect :p
{sip_cid_type=rpid,origination_caller_id_number=000000${CALLER_NUMBER},origination_caller_id_name=test,originatio\
n_privacy=screen+hide_name+hide_number,sip_from_uri=sip:anonymous at anonymous.invalid
I have this on B leg
From: "test" <sip:anonymous at anonymous.invalid>;tag=gQ53Hjp617BSH.
Remote-Party-ID: "test"
<sip:000000262262880001 at 172.29.0.5 <sip%3A000000262262880001 at 172.29.0.5>
Post by rod
;party=calling;screen=yes;privacy=off.
As you can see the caller id name is still modified, do you think you
could add something like sip_from_uri_name to circumvent this.
Anthony, I tried many settings for origination_privacy and it seems to
do nothing on the RPID header. Any clue?
regards.
Post by rod
On Wed, Mar 11, 2009 at 3:33 AM, rod <kawarod at laposte.net
thanks a lot Anthony,
I consider the work is done and I did the paypal transfer of 200$.
Done....r12563
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
<mailto:MSN%3Aanthony_minessale at hotmail.com<MSN%253Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
<mailto:PAYPAL%3Aanthony.minessale at gmail.com<PAYPAL%253Aanthony.minessale at gmail.com>
IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
<mailto:sip%3A888 at conference.freeswitch.org<sip%253A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
<http://iax:guest at conference.freeswitch.org/888>
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
<mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org<googletalk%253Aconf%252B888 at conference.freeswitch.org>
pstn:213-799-1400
------------------------------------------------------------------------
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090311/a24d4979/attachment.html
Anthony Minessale
2009-03-11 15:15:12 UTC
Permalink
This post might be inappropriate. Click to display it.
Raymond Chandler
2009-03-11 22:24:00 UTC
Permalink
Post by Anthony Minessale
try now using sip_from_display variable to control the display field
in the from url
It would be awesome if someone from the community would document all of
these nice new variables on the wiki.

-Ray
rod
2009-03-12 10:15:08 UTC
Permalink
Thanks a lot Anthony,

it's working great.
I'm just checking the origination_privacy parameter, cause it seems to
do nothing in my setup.
Post by Anthony Minessale
oops hit send too soon,
try now using sip_from_display variable to control the display field
in the from url
On Wed, Mar 11, 2009 at 10:14 AM, Anthony Minessale
try now
On Wed, Mar 11, 2009 at 9:09 AM, rod <kawarod at laposte.net
ok,
almost perfect :p
{sip_cid_type=rpid,origination_caller_id_number=000000${CALLER_NUMBER},origination_caller_id_name=test,originatio\
I have this on B leg
From: "test" <sip:anonymous at anonymous.invalid>;tag=gQ53Hjp617BSH.
Remote-Party-ID: "test"
<sip:000000262262880001 at 172.29.0.5
<mailto:sip%3A000000262262880001 at 172.29.0.5>>;party=calling;screen=yes;privacy=off.
As you can see the caller id name is still modified, do you think you
could add something like sip_from_uri_name to circumvent this.
Anthony, I tried many settings for origination_privacy and it seems to
do nothing on the RPID header. Any clue?
regards.
On Wed, Mar 11, 2009 at 3:33 AM, rod <kawarod at laposte.net
<mailto:kawarod at laposte.net>
<mailto:kawarod at laposte.net <mailto:kawarod at laposte.net>>>
thanks a lot Anthony,
I consider the work is done and I did the paypal
transfer of 200$.
Done....r12563
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale at hotmail.com
<mailto:MSN%3Aanthony_minessale at hotmail.com>
<mailto:MSN%3Aanthony_minessale at hotmail.com
<mailto:MSN%253Aanthony_minessale at hotmail.com>>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
<mailto:PAYPAL%3Aanthony.minessale at gmail.com>
<mailto:PAYPAL%3Aanthony.minessale at gmail.com
<mailto:PAYPAL%253Aanthony.minessale at gmail.com>>
IRC: irc.freenode.net <http://irc.freenode.net>
<http://irc.freenode.net> #freeswitch
FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
<mailto:sip%3A888 at conference.freeswitch.org>
<mailto:sip%3A888 at conference.freeswitch.org
<mailto:sip%253A888 at conference.freeswitch.org>>
iax:guest at conference.freeswitch.org/888
<http://iax:guest at conference.freeswitch.org/888>
<http://iax:guest at conference.freeswitch.org/888>
googletalk:conf+888 at conference.freeswitch.org
<mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org>
<mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org
<mailto:googletalk%253Aconf%252B888 at conference.freeswitch.org>>
pstn:213-799-1400
------------------------------------------------------------------------
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
<mailto:Freeswitch-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
<mailto:Freeswitch-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale at hotmail.com
<mailto:MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
<mailto:PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
<mailto:sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
<http://iax:guest at conference.freeswitch.org/888>
googletalk:conf+888 at conference.freeswitch.org
<mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale at hotmail.com
<mailto:MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
<mailto:PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
<mailto:sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
<http://iax:guest at conference.freeswitch.org/888>
googletalk:conf+888 at conference.freeswitch.org
<mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
------------------------------------------------------------------------
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Anthony Minessale
2009-03-14 14:15:46 UTC
Permalink
origination_privacy was indeed broken
fixed in r12603
Post by rod
Thanks a lot Anthony,
it's working great.
I'm just checking the origination_privacy parameter, cause it seems to
do nothing in my setup.
--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090314/a0ae9dac/attachment.html
Anthony Minessale
2009-03-14 14:15:46 UTC
Permalink
origination_privacy was indeed broken
fixed in r12603
Post by rod
Thanks a lot Anthony,
it's working great.
I'm just checking the origination_privacy parameter, cause it seems to
do nothing in my setup.
--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090314/a0ae9dac/attachment-0002.html
Raymond Chandler
2009-03-11 22:24:00 UTC
Permalink
Post by Anthony Minessale
try now using sip_from_display variable to control the display field
in the from url
It would be awesome if someone from the community would document all of
these nice new variables on the wiki.

-Ray
rod
2009-03-12 10:15:08 UTC
Permalink
Thanks a lot Anthony,

it's working great.
I'm just checking the origination_privacy parameter, cause it seems to
do nothing in my setup.
Post by Anthony Minessale
oops hit send too soon,
try now using sip_from_display variable to control the display field
in the from url
On Wed, Mar 11, 2009 at 10:14 AM, Anthony Minessale
try now
On Wed, Mar 11, 2009 at 9:09 AM, rod <kawarod at laposte.net
ok,
almost perfect :p
{sip_cid_type=rpid,origination_caller_id_number=000000${CALLER_NUMBER},origination_caller_id_name=test,originatio\
I have this on B leg
From: "test" <sip:anonymous at anonymous.invalid>;tag=gQ53Hjp617BSH.
Remote-Party-ID: "test"
<sip:000000262262880001 at 172.29.0.5
<mailto:sip%3A000000262262880001 at 172.29.0.5>>;party=calling;screen=yes;privacy=off.
As you can see the caller id name is still modified, do you think you
could add something like sip_from_uri_name to circumvent this.
Anthony, I tried many settings for origination_privacy and it seems to
do nothing on the RPID header. Any clue?
regards.
On Wed, Mar 11, 2009 at 3:33 AM, rod <kawarod at laposte.net
<mailto:kawarod at laposte.net>
<mailto:kawarod at laposte.net <mailto:kawarod at laposte.net>>>
thanks a lot Anthony,
I consider the work is done and I did the paypal
transfer of 200$.
Done....r12563
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale at hotmail.com
<mailto:MSN%3Aanthony_minessale at hotmail.com>
<mailto:MSN%3Aanthony_minessale at hotmail.com
<mailto:MSN%253Aanthony_minessale at hotmail.com>>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
<mailto:PAYPAL%3Aanthony.minessale at gmail.com>
<mailto:PAYPAL%3Aanthony.minessale at gmail.com
<mailto:PAYPAL%253Aanthony.minessale at gmail.com>>
IRC: irc.freenode.net <http://irc.freenode.net>
<http://irc.freenode.net> #freeswitch
FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
<mailto:sip%3A888 at conference.freeswitch.org>
<mailto:sip%3A888 at conference.freeswitch.org
<mailto:sip%253A888 at conference.freeswitch.org>>
iax:guest at conference.freeswitch.org/888
<http://iax:guest at conference.freeswitch.org/888>
<http://iax:guest at conference.freeswitch.org/888>
googletalk:conf+888 at conference.freeswitch.org
<mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org>
<mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org
<mailto:googletalk%253Aconf%252B888 at conference.freeswitch.org>>
pstn:213-799-1400
------------------------------------------------------------------------
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
<mailto:Freeswitch-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
<mailto:Freeswitch-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale at hotmail.com
<mailto:MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
<mailto:PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
<mailto:sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
<http://iax:guest at conference.freeswitch.org/888>
googletalk:conf+888 at conference.freeswitch.org
<mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale at hotmail.com
<mailto:MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
<mailto:PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
<mailto:sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
<http://iax:guest at conference.freeswitch.org/888>
googletalk:conf+888 at conference.freeswitch.org
<mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
------------------------------------------------------------------------
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Anthony Minessale
2009-03-11 15:15:12 UTC
Permalink
This post might be inappropriate. Click to display it.
Anthony Minessale
2009-03-11 15:14:36 UTC
Permalink
try now
Post by rod
ok,
almost perfect :p
{sip_cid_type=rpid,origination_caller_id_number=000000${CALLER_NUMBER},origination_caller_id_name=test,originatio\
n_privacy=screen+hide_name+hide_number,sip_from_uri=sip:anonymous at anonymous.invalid
I have this on B leg
From: "test" <sip:anonymous at anonymous.invalid>;tag=gQ53Hjp617BSH.
Remote-Party-ID: "test"
<sip:000000262262880001 at 172.29.0.5 <sip%3A000000262262880001 at 172.29.0.5>
Post by rod
;party=calling;screen=yes;privacy=off.
As you can see the caller id name is still modified, do you think you
could add something like sip_from_uri_name to circumvent this.
Anthony, I tried many settings for origination_privacy and it seems to
do nothing on the RPID header. Any clue?
regards.
Post by rod
On Wed, Mar 11, 2009 at 3:33 AM, rod <kawarod at laposte.net
thanks a lot Anthony,
I consider the work is done and I did the paypal transfer of 200$.
Done....r12563
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
<mailto:MSN%3Aanthony_minessale at hotmail.com<MSN%253Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
<mailto:PAYPAL%3Aanthony.minessale at gmail.com<PAYPAL%253Aanthony.minessale at gmail.com>
IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
<mailto:sip%3A888 at conference.freeswitch.org<sip%253A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
<http://iax:guest at conference.freeswitch.org/888>
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
<mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org<googletalk%253Aconf%252B888 at conference.freeswitch.org>
pstn:213-799-1400
------------------------------------------------------------------------
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090311/a24d4979/attachment-0002.html
rod
2009-03-11 14:09:30 UTC
Permalink
ok,

almost perfect :p

using this in dialplan:
{sip_cid_type=rpid,origination_caller_id_number=000000${CALLER_NUMBER},origination_caller_id_name=test,originatio\
n_privacy=screen+hide_name+hide_number,sip_from_uri=sip:anonymous at anonymous.invalid}sofia/ss7/000000${destination_number}@${GW_IP}

I have this on B leg
From: "test" <sip:anonymous at anonymous.invalid>;tag=gQ53Hjp617BSH.
Remote-Party-ID: "test"
<sip:000000262262880001 at 172.29.0.5>;party=calling;screen=yes;privacy=off.

As you can see the caller id name is still modified, do you think you
could add something like sip_from_uri_name to circumvent this.

Anthony, I tried many settings for origination_privacy and it seems to
do nothing on the RPID header. Any clue?

regards.
On Wed, Mar 11, 2009 at 3:33 AM, rod <kawarod at laposte.net
thanks a lot Anthony,
I consider the work is done and I did the paypal transfer of 200$.
Done....r12563
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale at hotmail.com
<mailto:MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
<mailto:PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
<mailto:sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
<http://iax:guest at conference.freeswitch.org/888>
googletalk:conf+888 at conference.freeswitch.org
<mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
------------------------------------------------------------------------
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Anthony Minessale
2009-03-11 13:16:38 UTC
Permalink
Post by rod
thanks a lot Anthony,
I consider the work is done and I did the paypal transfer of 200$.
Done....r12563
--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090311/0c7211ba/attachment-0002.html
kokoska rokoska
2009-03-10 15:53:56 UTC
Permalink
Post by Anthony Minessale
ok if you are up to date you should be able to add
{sip_from_uri=sip:anonymous at anonymous.invalid} to your dial string.
Many thanks, Anthony, for that feature!

It makes my life a lot easier :-)

Best regards,

kokoska.rokoska
rod
2009-03-11 08:33:33 UTC
Permalink
thanks a lot Anthony,

I consider the work is done and I did the paypal transfer of 200$.

But I'll be happy if you could do some minor changes:

I used this in the dialplan:
<action application="bridge"
data="{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=000000${sip_contact_user},origina\
tion_privacy=screen+hide_name+hide_number,sip_from_uri=sip:anonymous at anonymous.invalid}sofia/ss7/000000${destination_number}@${GW_IP}"/>

and I get this

From: "test" <sip:anonymous at anonymous.invalid>;tag=tQ52gmv6NyN0D.
Remote-Party-ID: "test"
<sip:000000123456789 at anonymous.invalid>;party=calling;screen=yes;privacy=off.

as you may see, the origination_caller_id_name has been put in the from
URI, and the domain part in the remote party ID has been transformed to
@anonymous.invalid.

It would be perfect if I could get this instead:
From: "Anonymous" <sip:anonymous at anonymous.invalid>;tag=tQ52gmv6NyN0D.
Remote-Party-ID: "test"
<sip:000000123456789 at 172.29.0.5>;party=calling;screen=yes;privacy=off.

where 172.29.0.5 is the external IP used by FS to bridge the call in
this example (but I'm sure you already know this :p)

regards,
rod
Post by Anthony Minessale
ok if you are up to date you should be able to add
{sip_from_uri=sip:anonymous at anonymous.invalid} to your dial string.
On Tue, Mar 10, 2009 at 9:30 AM, rod <kawarod at laposte.net
Hi Anthony,
thanks for this but I'd like to know if it's possible also to change
only the caller_id_name and caller_id_number without modifying the from
header.
ex: with the origination variables I get this
From: "test" <sip:1234 at 172.29.0.5
<mailto:sip%3A1234 at 172.29.0.5>>;tag=X4v4Kvt1B2DQF
Remote-Party-ID: "test"
<sip:1234 at 172.29.0.5
<mailto:sip%3A1234 at 172.29.0.5>>;party=calling;screen=yes;privacy=off
From: Anonymous
<sip:anonymous at anonymous.invalid>;tag=z07m5db13cb-cbs450547977-o-5273-368294925
From: "test" <sip:1234 at 172.29.0.5
<mailto:sip%3A1234 at 172.29.0.5>>;tag=X4v4Kvt1B2DQF
Moreover, in case of a bridged call, could you add the possibility to
pass as is from header for an anonymous call.
"Anonymous"<sip:anonymous at anonymous.invalid;user=phone>;tag=c0a80101-fed0c
From: "Anonymous" <sip:anonymous at 172.29.0.5
<mailto:sip%3Aanonymous at 172.29.0.5>>;tag=tpjD57U2pyrFN
and I'd like B-leg to match A-leg for anonymous call as stated in RFC,
anonymous at anonymous.invalid is the proposed way to handle anonymous
call, I'll add 50$ more for support of this last request.
thanks for your reactivity.
regards,
rod
Post by Anthony Minessale
{sip_cid_type=none}sofia/default/user at example.com
<mailto:user at example.com>
Post by Anthony Minessale
<mailto:user at example.com <mailto:user at example.com>>
Send RPID (default)
{sip_cid_type=rpid}sofia/default/user at example.com
<mailto:user at example.com>
Post by Anthony Minessale
<mailto:user at example.com <mailto:user at example.com>>
Send P-XXX-Identity
{sip_cid_type=pid}sofia/default/user at example.com
<mailto:user at example.com>
Post by Anthony Minessale
<mailto:user at example.com <mailto:user at example.com>>
Send RPID with chosen content
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234}sofia/default/user at example.com
<mailto:user at example.com>
Post by Anthony Minessale
<mailto:user at example.com <mailto:user at example.com>>
[ Show ? <http://jira.freeswitch.org/browse/BOUNTY-2> ]
Anthony Minessale II
<http://jira.freeswitch.org/secure/ViewProfile.jspa?name=anthm>
added
Post by Anthony Minessale
{sip_cid_type=none}sofia/default/user at example.com
<mailto:user at example.com>
Post by Anthony Minessale
<mailto:user at example.com <mailto:user at example.com>> Send RPID
(default)
Post by Anthony Minessale
{sip_cid_type=rpid}sofia/default/user at example.com
<mailto:user at example.com>
Post by Anthony Minessale
<mailto:user at example.com <mailto:user at example.com>> Send
P-XXX-Identity
Post by Anthony Minessale
{sip_cid_type=pid}sofia/default/user at example.com
<mailto:user at example.com>
Post by Anthony Minessale
<mailto:user at example.com <mailto:user at example.com>> Send RPID
with chosen content
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234}sofia/default/user at example.com
<mailto:user at example.com>
Post by Anthony Minessale
<mailto:user at example.com <mailto:user at example.com>>
Send RPID with chosen content and privacy flags (+ delimited,
none to
Post by Anthony Minessale
clear all flags)
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234,origination_privacy=screen+hide_name+hide_number}sofia/default/user at example.com
<mailto:user at example.com>
Post by Anthony Minessale
<mailto:user at example.com <mailto:user at example.com>>
[ Show ? <http://jira.freeswitch.org/browse/BOUNTY-2> ]
Anthony Minessale II
<http://jira.freeswitch.org/secure/ViewProfile.jspa?name=anthm>
added
Post by Anthony Minessale
{sip_cid_type=none}sofia/default/user at example.com
<mailto:user at example.com>
Post by Anthony Minessale
<mailto:user at example.com <mailto:user at example.com>> Send RPID
(default)
Post by Anthony Minessale
{sip_cid_type=rpid}sofia/default/user at example.com
<mailto:user at example.com>
Post by Anthony Minessale
<mailto:user at example.com <mailto:user at example.com>> Send
P-XXX-Identity
Post by Anthony Minessale
{sip_cid_type=pid}sofia/default/user at example.com
<mailto:user at example.com>
Post by Anthony Minessale
<mailto:user at example.com <mailto:user at example.com>> Send RPID
with chosen content
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234}sofia/default/user at example.com
<mailto:user at example.com>
Post by Anthony Minessale
<mailto:user at example.com <mailto:user at example.com>>
Also the privacy app on the inbound leg controls the remaining
contents of the RPID and Privacy headers.
On Tue, Mar 10, 2009 at 7:32 AM, kokoska rokoska
<kokoska.rokoska at post.cz <mailto:kokoska.rokoska at post.cz>
<mailto:kokoska.rokoska at post.cz <mailto:kokoska.rokoska at post.cz>>>
Post by Anthony Minessale
... if we could strip the RPID, we could write a new one,
but It
Post by Anthony Minessale
could be very convenient to get access to the fields in this
header for
manipulation.
Yes, rod, this is exactly why I update bounty to $100 :-)
Thank you very much, rod, for support!
Best regards,
kokoska.rokoska
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
<mailto:Freeswitch-users at lists.freeswitch.org>
Post by Anthony Minessale
<mailto:Freeswitch-users at lists.freeswitch.org
<mailto:Freeswitch-users at lists.freeswitch.org>>
Post by Anthony Minessale
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
Post by Anthony Minessale
http://www.freeswitch.org
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale at hotmail.com
<mailto:MSN%3Aanthony_minessale at hotmail.com>
Post by Anthony Minessale
<mailto:MSN%3Aanthony_minessale at hotmail.com
<mailto:MSN%253Aanthony_minessale at hotmail.com>>
Post by Anthony Minessale
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
<mailto:PAYPAL%3Aanthony.minessale at gmail.com>
Post by Anthony Minessale
<mailto:PAYPAL%3Aanthony.minessale at gmail.com
<mailto:PAYPAL%253Aanthony.minessale at gmail.com>>
Post by Anthony Minessale
IRC: irc.freenode.net <http://irc.freenode.net>
<http://irc.freenode.net> #freeswitch
Post by Anthony Minessale
FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
<mailto:sip%3A888 at conference.freeswitch.org>
Post by Anthony Minessale
<mailto:sip%3A888 at conference.freeswitch.org
<mailto:sip%253A888 at conference.freeswitch.org>>
Post by Anthony Minessale
iax:guest at conference.freeswitch.org/888
<http://iax:guest at conference.freeswitch.org/888>
Post by Anthony Minessale
<http://iax:guest at conference.freeswitch.org/888>
googletalk:conf+888 at conference.freeswitch.org
<mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org>
Post by Anthony Minessale
<mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org
<mailto:googletalk%253Aconf%252B888 at conference.freeswitch.org>>
Post by Anthony Minessale
pstn:213-799-1400
------------------------------------------------------------------------
Post by Anthony Minessale
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
<mailto:Freeswitch-users at lists.freeswitch.org>
Post by Anthony Minessale
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
Post by Anthony Minessale
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
<mailto:Freeswitch-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale at hotmail.com
<mailto:MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
<mailto:PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
<mailto:sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
<http://iax:guest at conference.freeswitch.org/888>
googletalk:conf+888 at conference.freeswitch.org
<mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
------------------------------------------------------------------------
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Anthony Minessale
2009-03-10 15:17:23 UTC
Permalink
ok if you are up to date you should be able to add

{sip_from_uri=sip:anonymous at anonymous.invalid} to your dial string.
Post by rod
Hi Anthony,
thanks for this but I'd like to know if it's possible also to change
only the caller_id_name and caller_id_number without modifying the from
header.
ex: with the origination variables I get this
From: "test" <sip:1234 at 172.29.0.5 <sip%3A1234 at 172.29.0.5>
Post by rod
;tag=X4v4Kvt1B2DQF
Remote-Party-ID: "test"
<sip:1234 at 172.29.0.5 <sip%3A1234 at 172.29.0.5>
Post by rod
;party=calling;screen=yes;privacy=off
From: Anonymous
<sip:anonymous at anonymous.invalid
Post by rod
;tag=z07m5db13cb-cbs450547977-o-5273-368294925
From: "test" <sip:1234 at 172.29.0.5 <sip%3A1234 at 172.29.0.5>
Post by rod
;tag=X4v4Kvt1B2DQF
Moreover, in case of a bridged call, could you add the possibility to
pass as is from header for an anonymous call.
"Anonymous"<sip:anonymous at anonymous.invalid;user=phone>;tag=c0a80101-fed0c
From: "Anonymous" <sip:anonymous at 172.29.0.5 <sip%3Aanonymous at 172.29.0.5>
Post by rod
;tag=tpjD57U2pyrFN
and I'd like B-leg to match A-leg for anonymous call as stated in RFC,
anonymous at anonymous.invalid is the proposed way to handle anonymous
call, I'll add 50$ more for support of this last request.
thanks for your reactivity.
regards,
rod
Post by rod
{sip_cid_type=none}sofia/default/user at example.com
<mailto:user at example.com>
Send RPID (default)
{sip_cid_type=rpid}sofia/default/user at example.com
<mailto:user at example.com>
Send P-XXX-Identity
{sip_cid_type=pid}sofia/default/user at example.com
<mailto:user at example.com>
Send RPID with chosen content
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234}sofia/default/
user at example.com
Post by rod
<mailto:user at example.com>
[ Show ? <http://jira.freeswitch.org/browse/BOUNTY-2> ]
Anthony Minessale II
<http://jira.freeswitch.org/secure/ViewProfile.jspa?name=anthm> added
{sip_cid_type=none}sofia/default/user at example.com
<mailto:user at example.com> Send RPID (default)
{sip_cid_type=rpid}sofia/default/user at example.com
<mailto:user at example.com> Send P-XXX-Identity
{sip_cid_type=pid}sofia/default/user at example.com
<mailto:user at example.com> Send RPID with chosen content
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234}sofia/default/
user at example.com
Post by rod
<mailto:user at example.com>
Send RPID with chosen content and privacy flags (+ delimited, none to
clear all flags)
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234,origination_privacy=screen+hide_name+hide_number}sofia/default/
user at example.com
Post by rod
<mailto:user at example.com>
[ Show ? <http://jira.freeswitch.org/browse/BOUNTY-2> ]
Anthony Minessale II
<http://jira.freeswitch.org/secure/ViewProfile.jspa?name=anthm> added
{sip_cid_type=none}sofia/default/user at example.com
<mailto:user at example.com> Send RPID (default)
{sip_cid_type=rpid}sofia/default/user at example.com
<mailto:user at example.com> Send P-XXX-Identity
{sip_cid_type=pid}sofia/default/user at example.com
<mailto:user at example.com> Send RPID with chosen content
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234}sofia/default/
user at example.com
Post by rod
<mailto:user at example.com>
Also the privacy app on the inbound leg controls the remaining
contents of the RPID and Privacy headers.
On Tue, Mar 10, 2009 at 7:32 AM, kokoska rokoska
... if we could strip the RPID, we could write a new one, but It
could be very convenient to get access to the fields in this
header for
manipulation.
Yes, rod, this is exactly why I update bounty to $100 :-)
Thank you very much, rod, for support!
Best regards,
kokoska.rokoska
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
<mailto:Freeswitch-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
http://lists.freeswitch.org/mailman/options/freeswitch-users
Post by rod
http://www.freeswitch.org
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
<mailto:MSN%3Aanthony_minessale at hotmail.com<MSN%253Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
<mailto:PAYPAL%3Aanthony.minessale at gmail.com<PAYPAL%253Aanthony.minessale at gmail.com>
IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
<mailto:sip%3A888 at conference.freeswitch.org<sip%253A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
<http://iax:guest at conference.freeswitch.org/888>
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
<mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org<googletalk%253Aconf%252B888 at conference.freeswitch.org>
pstn:213-799-1400
------------------------------------------------------------------------
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090310/8bff0048/attachment-0002.html
Michael Collins
2009-03-10 20:48:08 UTC
Permalink
On Tue, Mar 10, 2009 at 6:16 AM, Anthony Minessale
Post by Anthony Minessale
{sip_cid_type=none}sofia/default/user at example.com
Send RPID (default)
{sip_cid_type=rpid}sofia/default/user at example.com
Send P-XXX-Identity
{sip_cid_type=pid}sofia/default/user at example.com
Send RPID with chosen content
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234,origination_privacy=screen+hide_name+hide_number}sofia/defaul tuser at example.com
FYI, I added this info to the channel variables page:
http://wiki.freeswitch.org/wiki/Channel_Variables#sip_cid_type

-MC
Peter P GMX
2009-03-10 22:20:39 UTC
Permalink
Hello,

are these variables only available at call setup time or can they be
changed during a call, e.g. before a call is being transferred to
another destination?

Best regards
Peter
Post by Michael Collins
On Tue, Mar 10, 2009 at 6:16 AM, Anthony Minessale
Post by Anthony Minessale
{sip_cid_type=none}sofia/default/user at example.com
Send RPID (default)
{sip_cid_type=rpid}sofia/default/user at example.com
Send P-XXX-Identity
{sip_cid_type=pid}sofia/default/user at example.com
Send RPID with chosen content
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234,origination_privacy=screen+hide_name+hide_number}sofia/defaul tuser at example.com
http://wiki.freeswitch.org/wiki/Channel_Variables#sip_cid_type
-MC
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Leon de Rooij
2009-03-11 21:59:19 UTC
Permalink
Hi,

I didn't try this new functionality yet, but shouldn't http://wiki.freeswitch.org/wiki/Channel_Variables#sip_cid_type
be in a different section ?

It's not SDP manipulation, or is it ?

regards,

Leon
Post by Michael Collins
On Tue, Mar 10, 2009 at 6:16 AM, Anthony Minessale
Post by Anthony Minessale
{sip_cid_type=none}sofia/default/user at example.com
Send RPID (default)
{sip_cid_type=rpid}sofia/default/user at example.com
Send P-XXX-Identity
{sip_cid_type=pid}sofia/default/user at example.com
Send RPID with chosen content
{sip_cid_type
=
rpid
,origination_caller_id_name
=test,origination_caller_id_number=1234,origination_privacy=screen
+hide_name+hide_number}sofia/defaul tuser at example.com
http://wiki.freeswitch.org/wiki/Channel_Variables#sip_cid_type
-MC
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Peter P GMX
2009-03-10 22:20:39 UTC
Permalink
Hello,

are these variables only available at call setup time or can they be
changed during a call, e.g. before a call is being transferred to
another destination?

Best regards
Peter
Post by Michael Collins
On Tue, Mar 10, 2009 at 6:16 AM, Anthony Minessale
Post by Anthony Minessale
{sip_cid_type=none}sofia/default/user at example.com
Send RPID (default)
{sip_cid_type=rpid}sofia/default/user at example.com
Send P-XXX-Identity
{sip_cid_type=pid}sofia/default/user at example.com
Send RPID with chosen content
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234,origination_privacy=screen+hide_name+hide_number}sofia/defaul tuser at example.com
http://wiki.freeswitch.org/wiki/Channel_Variables#sip_cid_type
-MC
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Leon de Rooij
2009-03-11 21:59:19 UTC
Permalink
Hi,

I didn't try this new functionality yet, but shouldn't http://wiki.freeswitch.org/wiki/Channel_Variables#sip_cid_type
be in a different section ?

It's not SDP manipulation, or is it ?

regards,

Leon
Post by Michael Collins
On Tue, Mar 10, 2009 at 6:16 AM, Anthony Minessale
Post by Anthony Minessale
{sip_cid_type=none}sofia/default/user at example.com
Send RPID (default)
{sip_cid_type=rpid}sofia/default/user at example.com
Send P-XXX-Identity
{sip_cid_type=pid}sofia/default/user at example.com
Send RPID with chosen content
{sip_cid_type
=
rpid
,origination_caller_id_name
=test,origination_caller_id_number=1234,origination_privacy=screen
+hide_name+hide_number}sofia/defaul tuser at example.com
http://wiki.freeswitch.org/wiki/Channel_Variables#sip_cid_type
-MC
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Shelby Ramsey
2009-03-10 13:28:25 UTC
Permalink
Anthony,

That is awesome. This is something that will be a BIG help.

SDR
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090310/3008dc65/attachment-0002.html
kokoska rokoska
2009-03-10 13:36:44 UTC
Permalink
{sip_cid_type=none}sofia/default/user at example.com <mailto:user at example.com>
Send RPID (default)
{sip_cid_type=rpid}sofia/default/user at example.com <mailto:user at example.com>
Send P-XXX-Identity
{sip_cid_type=pid}sofia/default/user at example.com <mailto:user at example.com>
Send RPID with chosen content
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234}sofia/default/user at example.com
<mailto:user at example.com>
[ Show ? <http://jira.freeswitch.org/browse/BOUNTY-2> ]
Anthony Minessale II
<http://jira.freeswitch.org/secure/ViewProfile.jspa?name=anthm> added a
{sip_cid_type=none}sofia/default/user at example.com
<mailto:user at example.com> Send RPID (default)
{sip_cid_type=rpid}sofia/default/user at example.com
<mailto:user at example.com> Send P-XXX-Identity
{sip_cid_type=pid}sofia/default/user at example.com
<mailto:user at example.com> Send RPID with chosen content
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234}sofia/default/user at example.com
<mailto:user at example.com>
Send RPID with chosen content and privacy flags (+ delimited, none to
clear all flags)
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234,origination_privacy=screen+hide_name+hide_number}sofia/default/user at example.com
<mailto:user at example.com>
[ Show ? <http://jira.freeswitch.org/browse/BOUNTY-2> ]
Anthony Minessale II
<http://jira.freeswitch.org/secure/ViewProfile.jspa?name=anthm> added a
{sip_cid_type=none}sofia/default/user at example.com
<mailto:user at example.com> Send RPID (default)
{sip_cid_type=rpid}sofia/default/user at example.com
<mailto:user at example.com> Send P-XXX-Identity
{sip_cid_type=pid}sofia/default/user at example.com
<mailto:user at example.com> Send RPID with chosen content
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234}sofia/default/user at example.com
<mailto:user at example.com>
Also the privacy app on the inbound leg controls the remaining contents
of the RPID and Privacy headers.
Incredible speed - like usually :-)

Thank you very much, Anthony, for your work! Where should I send my bucks?

Best regards,

kokoska.rokoska
rod
2009-03-10 14:30:28 UTC
Permalink
Hi Anthony,

thanks for this but I'd like to know if it's possible also to change
only the caller_id_name and caller_id_number without modifying the from
header.

ex: with the origination variables I get this
From: "test" <sip:1234 at 172.29.0.5>;tag=X4v4Kvt1B2DQF
Remote-Party-ID: "test"
<sip:1234 at 172.29.0.5>;party=calling;screen=yes;privacy=off

and in the case of an anonymous call where from is like this on A-leg:
From: Anonymous
<sip:anonymous at anonymous.invalid>;tag=z07m5db13cb-cbs450547977-o-5273-368294925

it is changed like this on B-leg:
From: "test" <sip:1234 at 172.29.0.5>;tag=X4v4Kvt1B2DQF

Moreover, in case of a bridged call, could you add the possibility to
pass as is from header for an anonymous call.
Running current, I have this:
on A-leg:
From:
"Anonymous"<sip:anonymous at anonymous.invalid;user=phone>;tag=c0a80101-fed0c
on B-leg:
From: "Anonymous" <sip:anonymous at 172.29.0.5>;tag=tpjD57U2pyrFN

and I'd like B-leg to match A-leg for anonymous call as stated in RFC,
anonymous at anonymous.invalid is the proposed way to handle anonymous
call, I'll add 50$ more for support of this last request.

thanks for your reactivity.
regards,
rod
Post by Anthony Minessale
{sip_cid_type=none}sofia/default/user at example.com
<mailto:user at example.com>
Send RPID (default)
{sip_cid_type=rpid}sofia/default/user at example.com
<mailto:user at example.com>
Send P-XXX-Identity
{sip_cid_type=pid}sofia/default/user at example.com
<mailto:user at example.com>
Send RPID with chosen content
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234}sofia/default/user at example.com
<mailto:user at example.com>
[ Show ? <http://jira.freeswitch.org/browse/BOUNTY-2> ]
Anthony Minessale II
<http://jira.freeswitch.org/secure/ViewProfile.jspa?name=anthm> added
{sip_cid_type=none}sofia/default/user at example.com
<mailto:user at example.com> Send RPID (default)
{sip_cid_type=rpid}sofia/default/user at example.com
<mailto:user at example.com> Send P-XXX-Identity
{sip_cid_type=pid}sofia/default/user at example.com
<mailto:user at example.com> Send RPID with chosen content
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234}sofia/default/user at example.com
<mailto:user at example.com>
Send RPID with chosen content and privacy flags (+ delimited, none to
clear all flags)
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234,origination_privacy=screen+hide_name+hide_number}sofia/default/user at example.com
<mailto:user at example.com>
[ Show ? <http://jira.freeswitch.org/browse/BOUNTY-2> ]
Anthony Minessale II
<http://jira.freeswitch.org/secure/ViewProfile.jspa?name=anthm> added
{sip_cid_type=none}sofia/default/user at example.com
<mailto:user at example.com> Send RPID (default)
{sip_cid_type=rpid}sofia/default/user at example.com
<mailto:user at example.com> Send P-XXX-Identity
{sip_cid_type=pid}sofia/default/user at example.com
<mailto:user at example.com> Send RPID with chosen content
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234}sofia/default/user at example.com
<mailto:user at example.com>
Also the privacy app on the inbound leg controls the remaining
contents of the RPID and Privacy headers.
On Tue, Mar 10, 2009 at 7:32 AM, kokoska rokoska
... if we could strip the RPID, we could write a new one, but It
could be very convenient to get access to the fields in this
header for
manipulation.
Yes, rod, this is exactly why I update bounty to $100 :-)
Thank you very much, rod, for support!
Best regards,
kokoska.rokoska
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
<mailto:Freeswitch-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale at hotmail.com
<mailto:MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
<mailto:PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
<mailto:sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
<http://iax:guest at conference.freeswitch.org/888>
googletalk:conf+888 at conference.freeswitch.org
<mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
------------------------------------------------------------------------
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Michael Collins
2009-03-10 20:48:08 UTC
Permalink
On Tue, Mar 10, 2009 at 6:16 AM, Anthony Minessale
Post by Anthony Minessale
{sip_cid_type=none}sofia/default/user at example.com
Send RPID (default)
{sip_cid_type=rpid}sofia/default/user at example.com
Send P-XXX-Identity
{sip_cid_type=pid}sofia/default/user at example.com
Send RPID with chosen content
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234,origination_privacy=screen+hide_name+hide_number}sofia/defaul tuser at example.com
FYI, I added this info to the channel variables page:
http://wiki.freeswitch.org/wiki/Channel_Variables#sip_cid_type

-MC
Anthony Minessale
2009-03-10 13:16:19 UTC
Permalink
Latest SVN:

Send no extra caller id info:
{sip_cid_type=none}sofia/default/user at example.com

Send RPID (default)
{sip_cid_type=rpid}sofia/default/user at example.com

Send P-XXX-Identity
{sip_cid_type=pid}sofia/default/user at example.com

Send RPID with chosen content
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234}sofia/default/
user at example.com
[ Show ? <http://jira.freeswitch.org/browse/BOUNTY-2> ]
Anthony Minessale
II<http://jira.freeswitch.org/secure/ViewProfile.jspa?name=anthm>added
a comment - 10/Mar/09
07:59 AM Send no extra caller id info: {sip_cid_type=none}sofia/default/
user at example.com Send RPID (default) {sip_cid_type=rpid}sofia/default/
user at example.com Send P-XXX-Identity {sip_cid_type=pid}sofia/default/
user at example.com Send RPID with chosen content
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234}sofia/default/
user at example.com

Send RPID with chosen content and privacy flags (+ delimited, none to clear
all flags)
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234,origination_privacy=screen+hide_name+hide_number}sofia/default/
user at example.com


[ Show ? <http://jira.freeswitch.org/browse/BOUNTY-2> ]
Anthony Minessale
II<http://jira.freeswitch.org/secure/ViewProfile.jspa?name=anthm>added
a comment - 10/Mar/09
07:59 AM Send no extra caller id info: {sip_cid_type=none}sofia/default/
user at example.com Send RPID (default) {sip_cid_type=rpid}sofia/default/
user at example.com Send P-XXX-Identity {sip_cid_type=pid}sofia/default/
user at example.com Send RPID with chosen content
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234}sofia/default/
user at example.com


Also the privacy app on the inbound leg controls the remaining contents of
the RPID and Privacy headers.
Post by kokoska rokoska
... if we could strip the RPID, we could write a new one, but It
could be very convenient to get access to the fields in this header for
manipulation.
Yes, rod, this is exactly why I update bounty to $100 :-)
Thank you very much, rod, for support!
Best regards,
kokoska.rokoska
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090310/2b6b7657/attachment-0002.html
kokoska rokoska
2009-03-10 12:32:51 UTC
Permalink
... if we could strip the RPID, we could write a new one, but It
could be very convenient to get access to the fields in this header for
manipulation.
Yes, rod, this is exactly why I update bounty to $100 :-)

Thank you very much, rod, for support!

Best regards,

kokoska.rokoska
rod
2009-03-10 12:13:18 UTC
Permalink
Yes I know, it's deprecated but many peers still rely on this and
P-Asserted-ID is not widely spread (my own experience).
moreover if we could strip the RPID, we could write a new one, but It
could be very convenient to get access to the fields in this header for
manipulation.

thanks for supporting this request :p
Post by kokoska rokoska
Post by rod
Hi all,
it seems there is no way to do this :(
- decide if RPID should be present or not in the B leg for an
outbound call
- make RPID header fully customizable with variables
- filter RPID for inbound call
I saw that kokoska rokoska created a jira bounty for 50$: Make RPID SIP
header optional
I'll add 150$ for this if I could manage RPID as described above.
Sorry to use mailing list for this, I'm unable to add a note on jira for
this bounty.
I really don't need to customize RPID (cause it is depricated header),
but... Well let's add another 50 $ if it will work like you describe :-)
Best regards,
kokoska.rokoska
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
kokoska rokoska
2009-03-10 11:30:49 UTC
Permalink
Post by rod
Hi all,
it seems there is no way to do this :(
- decide if RPID should be present or not in the B leg for an
outbound call
- make RPID header fully customizable with variables
- filter RPID for inbound call
I saw that kokoska rokoska created a jira bounty for 50$: Make RPID SIP
header optional
I'll add 150$ for this if I could manage RPID as described above.
Sorry to use mailing list for this, I'm unable to add a note on jira for
this bounty.
I really don't need to customize RPID (cause it is depricated header),
but... Well let's add another 50 $ if it will work like you describe :-)

Best regards,

kokoska.rokoska
rod
2009-03-10 11:00:57 UTC
Permalink
Hi all,

it seems there is no way to do this :(

It could be great to be able to:
- decide if RPID should be present or not in the B leg for an
outbound call
- make RPID header fully customizable with variables
- filter RPID for inbound call

I saw that kokoska rokoska created a jira bounty for 50$: Make RPID SIP
header optional

I'll add 150$ for this if I could manage RPID as described above.
Sorry to use mailing list for this, I'm unable to add a note on jira for
this bounty.

regards,
rod
Post by rod
Hi David,
already tried this :p
the pbm is that this doesn' modify the RPID header, but it adds a new
one so that I have 2 RPID header in the SIP INVITE :(
rod
Post by David Knell
Hi Rod,
<action
application="set"><![CDATA[sip_h_Remote-Party-Identity="${caller_id_number}"
<action application="bridge" data="sofia/gateway/wherever/+$1"/>
--Dave
Post by rod
using these functions like this did nothing on the SIP INVITE packet :'(
Post by Brian West
try
bridge
({effective_caller_id_name
="your_name",effective_caller_id_number="0000"}sofia/b-leg)
Post by rod
From: "Anonymous"<sip:anonymous at anonymous.invalid;user=phone>
From: "Anonymous" <sip:000000anonymous at 172.29.0.5>
rod
Post by rod
Hi Brian,
From: "Anonymous" <sip:000000anonymous at 172.29.0.5>;tag=17geyFjX5p0gS.
this is not exactly what I'm looking for :p
rod
Post by Brian West
Well this depends on how you're placing the call.. if its a standard
bridge you can on the A-Leg set
"effective_caller_id_number=000${caller_id_number}" before you call
bridge.
Is the from already in the correct format?
/b
Post by rod
Dear list,
I'd like to rewrite the number in the Remote Party ID header and only in
this header.
ex: I'd like to prefix the caller ID with a prefix code (000 in this
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
123456
@10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
000123456
@10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
But the From field should remain unchanged.
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
000123456
@10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
123456
@10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
regards.
------------------------------------------------------------------------
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
------------------------------------------------------------------------
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
rod
2009-03-09 06:48:01 UTC
Permalink
Hi David,

already tried this :p
the pbm is that this doesn' modify the RPID header, but it adds a new
one so that I have 2 RPID header in the SIP INVITE :(

rod
Post by David Knell
Hi Rod,
<action
application="set"><![CDATA[sip_h_Remote-Party-Identity="${caller_id_number}"
<action application="bridge" data="sofia/gateway/wherever/+$1"/>
--Dave
Post by rod
using these functions like this did nothing on the SIP INVITE packet :'(
Post by Brian West
try
bridge
({effective_caller_id_name
="your_name",effective_caller_id_number="0000"}sofia/b-leg)
Post by rod
From: "Anonymous"<sip:anonymous at anonymous.invalid;user=phone>
From: "Anonymous" <sip:000000anonymous at 172.29.0.5>
rod
Post by rod
Hi Brian,
From: "Anonymous" <sip:000000anonymous at 172.29.0.5>;tag=17geyFjX5p0gS.
this is not exactly what I'm looking for :p
rod
Post by Brian West
Well this depends on how you're placing the call.. if its a standard
bridge you can on the A-Leg set
"effective_caller_id_number=000${caller_id_number}" before you call
bridge.
Is the from already in the correct format?
/b
Post by rod
Dear list,
I'd like to rewrite the number in the Remote Party ID header and only in
this header.
ex: I'd like to prefix the caller ID with a prefix code (000 in this
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
123456
@10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
000123456
@10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
But the From field should remain unchanged.
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
000123456
@10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
123456
@10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
regards.
------------------------------------------------------------------------
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
------------------------------------------------------------------------
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
dujinfang
2009-03-06 12:34:10 UTC
Permalink
How about this?

bridge
({origination_caller_id_name
="your_name",origination_caller_id_number="0000"}sofia/b-leg)
Post by rod
using these functions like this did nothing on the SIP INVITE
packet :'(
Post by Brian West
try
bridge
({effective_caller_id_name
="your_name",effective_caller_id_number="0000"}sofia/b-leg)
Post by rod
From: "Anonymous"<sip:anonymous at anonymous.invalid;user=phone>
From: "Anonymous" <sip:000000anonymous at 172.29.0.5>
rod
Post by rod
Hi Brian,
000000anonymous at 172.29.0.5>;tag=17geyFjX5p0gS.
this is not exactly what I'm looking for :p
rod
Post by Brian West
Well this depends on how you're placing the call.. if its a standard
bridge you can on the A-Leg set
"effective_caller_id_number=000${caller_id_number}" before you call
bridge.
Is the from already in the correct format?
/b
Post by rod
Dear list,
I'd like to rewrite the number in the Remote Party ID header and only in
this header.
ex: I'd like to prefix the caller ID with a prefix code (000 in this
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
123456
@10.10.10.10
:5062;user=phone>;privacy=full;screen=yes;party=calling
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
000123456
@10.10.10.10
:5062;user=phone>;privacy=full;screen=yes;party=calling
But the From field should remain unchanged.
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
000123456
@10.10.10.10
:5062;user=phone>;privacy=full;screen=yes;party=calling
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
123456
@10.10.10.10
:5062;user=phone>;privacy=full;screen=yes;party=calling
regards.
------------------------------------------------------------------------
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
David Knell
2009-03-06 14:25:59 UTC
Permalink
Hi Rod,

You can set it directly:
<action
application="set"><![CDATA[sip_h_Remote-Party-Identity="${caller_id_number}"
<sip:{$caller_id_number}@1.2.3.4>;screen=yes;privacy=off]]></action>
<action application="bridge" data="sofia/gateway/wherever/+$1"/>

--Dave
Post by rod
using these functions like this did nothing on the SIP INVITE packet :'(
Post by Brian West
try
bridge
({effective_caller_id_name
="your_name",effective_caller_id_number="0000"}sofia/b-leg)
Post by rod
From: "Anonymous"<sip:anonymous at anonymous.invalid;user=phone>
From: "Anonymous" <sip:000000anonymous at 172.29.0.5>
rod
Post by rod
Hi Brian,
From: "Anonymous" <sip:000000anonymous at 172.29.0.5>;tag=17geyFjX5p0gS.
this is not exactly what I'm looking for :p
rod
Post by Brian West
Well this depends on how you're placing the call.. if its a standard
bridge you can on the A-Leg set
"effective_caller_id_number=000${caller_id_number}" before you call
bridge.
Is the from already in the correct format?
/b
Post by rod
Dear list,
I'd like to rewrite the number in the Remote Party ID header and only in
this header.
ex: I'd like to prefix the caller ID with a prefix code (000 in this
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
123456
@10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
000123456
@10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
But the From field should remain unchanged.
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
000123456
@10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
123456
@10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
regards.
------------------------------------------------------------------------
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090306/036723ce/attachment-0002.html
rod
2009-03-06 07:51:31 UTC
Permalink
using these functions like this did nothing on the SIP INVITE packet :'(
Post by Brian West
try
bridge
({effective_caller_id_name
="your_name",effective_caller_id_number="0000"}sofia/b-leg)
Post by rod
From: "Anonymous"<sip:anonymous at anonymous.invalid;user=phone>
From: "Anonymous" <sip:000000anonymous at 172.29.0.5>
rod
Post by rod
Hi Brian,
From: "Anonymous" <sip:000000anonymous at 172.29.0.5>;tag=17geyFjX5p0gS.
this is not exactly what I'm looking for :p
rod
Post by Brian West
Well this depends on how you're placing the call.. if its a standard
bridge you can on the A-Leg set
"effective_caller_id_number=000${caller_id_number}" before you call
bridge.
Is the from already in the correct format?
/b
Post by rod
Dear list,
I'd like to rewrite the number in the Remote Party ID header and only in
this header.
ex: I'd like to prefix the caller ID with a prefix code (000 in this
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
123456
@10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
000123456
@10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
But the From field should remain unchanged.
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
000123456
@10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
123456
@10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
regards.
------------------------------------------------------------------------
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
seven
2009-03-06 02:00:05 UTC
Permalink
try
bridge
({effective_caller_id_name
="your_name",effective_caller_id_number="0000"}sofia/b-leg)
Post by rod
From: "Anonymous"<sip:anonymous at anonymous.invalid;user=phone>
From: "Anonymous" <sip:000000anonymous at 172.29.0.5>
rod
Post by rod
Hi Brian,
From: "Anonymous" <sip:000000anonymous at 172.29.0.5>;tag=17geyFjX5p0gS.
this is not exactly what I'm looking for :p
rod
Post by Brian West
Well this depends on how you're placing the call.. if its a standard
bridge you can on the A-Leg set
"effective_caller_id_number=000${caller_id_number}" before you call
bridge.
Is the from already in the correct format?
/b
Post by rod
Dear list,
I'd like to rewrite the number in the Remote Party ID header and only in
this header.
ex: I'd like to prefix the caller ID with a prefix code (000 in this
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
123456
@10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
000123456
@10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
But the From field should remain unchanged.
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
000123456
@10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
123456
@10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
regards.
------------------------------------------------------------------------
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
rod
2009-03-05 13:00:50 UTC
Permalink
the A leg invite looks like this:
From: "Anonymous"<sip:anonymous at anonymous.invalid;user=phone>

it has been rewritten like this:
From: "Anonymous" <sip:000000anonymous at 172.29.0.5>

rod
Post by rod
Hi Brian,
From: "Anonymous" <sip:000000anonymous at 172.29.0.5>;tag=17geyFjX5p0gS.
this is not exactly what I'm looking for :p
rod
Post by Brian West
Well this depends on how you're placing the call.. if its a standard
bridge you can on the A-Leg set
"effective_caller_id_number=000${caller_id_number}" before you call
bridge.
Is the from already in the correct format?
/b
Post by rod
Dear list,
I'd like to rewrite the number in the Remote Party ID header and only in
this header.
ex: I'd like to prefix the caller ID with a prefix code (000 in this
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
<sip:123456 at 10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
<sip:000123456 at 10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
But the From field should remain unchanged.
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
<sip:000123456 at 10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
<sip:123456 at 10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
regards.
------------------------------------------------------------------------
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
rod
2009-03-05 12:46:51 UTC
Permalink
Hi Brian,

if I use the function effective_caller_id_number with my INVITE, I get this:

From: "Anonymous" <sip:000000anonymous at 172.29.0.5>;tag=17geyFjX5p0gS.

this is not exactly what I'm looking for :p

rod
Post by Brian West
Well this depends on how you're placing the call.. if its a standard
bridge you can on the A-Leg set
"effective_caller_id_number=000${caller_id_number}" before you call
bridge.
Is the from already in the correct format?
/b
Post by rod
Dear list,
I'd like to rewrite the number in the Remote Party ID header and only in
this header.
ex: I'd like to prefix the caller ID with a prefix code (000 in this
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
<sip:123456 at 10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
<sip:000123456 at 10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
But the From field should remain unchanged.
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
<sip:000123456 at 10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
<sip:123456 at 10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
regards.
------------------------------------------------------------------------
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Ken Rice
2009-03-10 22:29:30 UTC
Permalink
These should be available any time you are going to process a call thru the
dialplan and call a bridge on the call
From: Peter P GMX <Prometheus001 at gmx.net>
Reply-To: <freeswitch-users at lists.freeswitch.org>
Date: Tue, 10 Mar 2009 23:20:39 +0100
To: <freeswitch-users at lists.freeswitch.org>
Subject: Re: [Freeswitch-users] Rewriting Remote Party ID
Hello,
are these variables only available at call setup time or can they be
changed during a call, e.g. before a call is being transferred to
another destination?
Best regards
Peter
Post by Michael Collins
On Tue, Mar 10, 2009 at 6:16 AM, Anthony Minessale
Post by Anthony Minessale
{sip_cid_type=none}sofia/default/user at example.com
Send RPID (default)
{sip_cid_type=rpid}sofia/default/user at example.com
Send P-XXX-Identity
{sip_cid_type=pid}sofia/default/user at example.com
Send RPID with chosen content
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_num
ber=1234,origination_privacy=screen+hide_name+hide_number}sofia/defaul
tuser at example.com
http://wiki.freeswitch.org/wiki/Channel_Variables#sip_cid_type
-MC
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Peter P GMX
2009-03-13 19:13:47 UTC
Permalink
Ok, I tried it. It works fine on dialthru. SDP header is enhanced. Perfect!

However I have a problem which I already discussed before in this round,
and I am very close to solve it, I think.
Scenario is as follows

* A callback application which is done through event socket calls
party A with cid-number 'unknown'
* Party A enters Digits which represents the number of party B
* I set the caller-id-no and effective-caller-id-no to the value of
A and sip_cid_type=rpid
* Call is then transferred from A to Party B via the xml dialplan
* Now I have 2 different variables when I trace the event_socket
o caller-caller-id-number is 'anonymous' and this is submitted
in the INVITE message to B
o variable-caller-id-number is the right number of B, this is
not part of the Sip message
* B sees 'unknown' as the number of party A. This is also
represented in the SIP mssage sent to B
* I want B to see the right number of party A

My question: What can I do to set <effective-caller-id-no> to
<variable-caller-id-number> in the XML dialplan.

Here is the part of the dialplan where I want so set it:
<!-- Dial any 10 digit number -->
<extension name="10 digits">
<condition field="destination_number" expression="^mp_([1-9]\d{9})$">

<action application="bridge" data="sofia/external/1$1 at domain.com"/>
</condition>
</extension>


Anybody has a solution?

Best regards
Peter
Post by Ken Rice
These should be available any time you are going to process a call thru the
dialplan and call a bridge on the call
From: Peter P GMX <Prometheus001 at gmx.net>
Reply-To: <freeswitch-users at lists.freeswitch.org>
Date: Tue, 10 Mar 2009 23:20:39 +0100
To: <freeswitch-users at lists.freeswitch.org>
Subject: Re: [Freeswitch-users] Rewriting Remote Party ID
Hello,
are these variables only available at call setup time or can they be
changed during a call, e.g. before a call is being transferred to
another destination?
Best regards
Peter
Post by Michael Collins
On Tue, Mar 10, 2009 at 6:16 AM, Anthony Minessale
Post by Anthony Minessale
{sip_cid_type=none}sofia/default/user at example.com
Send RPID (default)
{sip_cid_type=rpid}sofia/default/user at example.com
Send P-XXX-Identity
{sip_cid_type=pid}sofia/default/user at example.com
Send RPID with chosen content
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_num
ber=1234,origination_privacy=screen+hide_name+hide_number}sofia/defaul
tuser at example.com
http://wiki.freeswitch.org/wiki/Channel_Variables#sip_cid_type
-MC
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Peter P GMX
2009-03-14 13:31:15 UTC
Permalink
I got it to work. It was just so easy:

<action application="set"
data="effective_caller_id_number=${caller_id_number}"/>

Best regards
Peter
Post by Peter P GMX
Ok, I tried it. It works fine on dialthru. SDP header is enhanced. Perfect!
However I have a problem which I already discussed before in this round,
and I am very close to solve it, I think.
Scenario is as follows
* A callback application which is done through event socket calls
party A with cid-number 'unknown'
* Party A enters Digits which represents the number of party B
* I set the caller-id-no and effective-caller-id-no to the value of
A and sip_cid_type=rpid
* Call is then transferred from A to Party B via the xml dialplan
* Now I have 2 different variables when I trace the event_socket
o caller-caller-id-number is 'anonymous' and this is submitted
in the INVITE message to B
o variable-caller-id-number is the right number of B, this is
not part of the Sip message
* B sees 'unknown' as the number of party A. This is also
represented in the SIP mssage sent to B
* I want B to see the right number of party A
My question: What can I do to set <effective-caller-id-no> to
<variable-caller-id-number> in the XML dialplan.
<!-- Dial any 10 digit number -->
<extension name="10 digits">
<condition field="destination_number" expression="^mp_([1-9]\d{9})$">
<action application="bridge" data="sofia/external/1$1 at domain.com"/>
</condition>
</extension>
Anybody has a solution?
Best regards
Peter
Post by Ken Rice
These should be available any time you are going to process a call thru the
dialplan and call a bridge on the call
From: Peter P GMX <Prometheus001 at gmx.net>
Reply-To: <freeswitch-users at lists.freeswitch.org>
Date: Tue, 10 Mar 2009 23:20:39 +0100
To: <freeswitch-users at lists.freeswitch.org>
Subject: Re: [Freeswitch-users] Rewriting Remote Party ID
Hello,
are these variables only available at call setup time or can they be
changed during a call, e.g. before a call is being transferred to
another destination?
Best regards
Peter
Post by Michael Collins
On Tue, Mar 10, 2009 at 6:16 AM, Anthony Minessale
Post by Anthony Minessale
{sip_cid_type=none}sofia/default/user at example.com
Send RPID (default)
{sip_cid_type=rpid}sofia/default/user at example.com
Send P-XXX-Identity
{sip_cid_type=pid}sofia/default/user at example.com
Send RPID with chosen content
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_num
ber=1234,origination_privacy=screen+hide_name+hide_number}sofia/defaul
tuser at example.com
http://wiki.freeswitch.org/wiki/Channel_Variables#sip_cid_type
-MC
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Peter P GMX
2009-03-14 13:31:15 UTC
Permalink
I got it to work. It was just so easy:

<action application="set"
data="effective_caller_id_number=${caller_id_number}"/>

Best regards
Peter
Post by Peter P GMX
Ok, I tried it. It works fine on dialthru. SDP header is enhanced. Perfect!
However I have a problem which I already discussed before in this round,
and I am very close to solve it, I think.
Scenario is as follows
* A callback application which is done through event socket calls
party A with cid-number 'unknown'
* Party A enters Digits which represents the number of party B
* I set the caller-id-no and effective-caller-id-no to the value of
A and sip_cid_type=rpid
* Call is then transferred from A to Party B via the xml dialplan
* Now I have 2 different variables when I trace the event_socket
o caller-caller-id-number is 'anonymous' and this is submitted
in the INVITE message to B
o variable-caller-id-number is the right number of B, this is
not part of the Sip message
* B sees 'unknown' as the number of party A. This is also
represented in the SIP mssage sent to B
* I want B to see the right number of party A
My question: What can I do to set <effective-caller-id-no> to
<variable-caller-id-number> in the XML dialplan.
<!-- Dial any 10 digit number -->
<extension name="10 digits">
<condition field="destination_number" expression="^mp_([1-9]\d{9})$">
<action application="bridge" data="sofia/external/1$1 at domain.com"/>
</condition>
</extension>
Anybody has a solution?
Best regards
Peter
Post by Ken Rice
These should be available any time you are going to process a call thru the
dialplan and call a bridge on the call
From: Peter P GMX <Prometheus001 at gmx.net>
Reply-To: <freeswitch-users at lists.freeswitch.org>
Date: Tue, 10 Mar 2009 23:20:39 +0100
To: <freeswitch-users at lists.freeswitch.org>
Subject: Re: [Freeswitch-users] Rewriting Remote Party ID
Hello,
are these variables only available at call setup time or can they be
changed during a call, e.g. before a call is being transferred to
another destination?
Best regards
Peter
Post by Michael Collins
On Tue, Mar 10, 2009 at 6:16 AM, Anthony Minessale
Post by Anthony Minessale
{sip_cid_type=none}sofia/default/user at example.com
Send RPID (default)
{sip_cid_type=rpid}sofia/default/user at example.com
Send P-XXX-Identity
{sip_cid_type=pid}sofia/default/user at example.com
Send RPID with chosen content
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_num
ber=1234,origination_privacy=screen+hide_name+hide_number}sofia/defaul
tuser at example.com
http://wiki.freeswitch.org/wiki/Channel_Variables#sip_cid_type
-MC
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Peter P GMX
2009-03-13 19:13:47 UTC
Permalink
Ok, I tried it. It works fine on dialthru. SDP header is enhanced. Perfect!

However I have a problem which I already discussed before in this round,
and I am very close to solve it, I think.
Scenario is as follows

* A callback application which is done through event socket calls
party A with cid-number 'unknown'
* Party A enters Digits which represents the number of party B
* I set the caller-id-no and effective-caller-id-no to the value of
A and sip_cid_type=rpid
* Call is then transferred from A to Party B via the xml dialplan
* Now I have 2 different variables when I trace the event_socket
o caller-caller-id-number is 'anonymous' and this is submitted
in the INVITE message to B
o variable-caller-id-number is the right number of B, this is
not part of the Sip message
* B sees 'unknown' as the number of party A. This is also
represented in the SIP mssage sent to B
* I want B to see the right number of party A

My question: What can I do to set <effective-caller-id-no> to
<variable-caller-id-number> in the XML dialplan.

Here is the part of the dialplan where I want so set it:
<!-- Dial any 10 digit number -->
<extension name="10 digits">
<condition field="destination_number" expression="^mp_([1-9]\d{9})$">

<action application="bridge" data="sofia/external/1$1 at domain.com"/>
</condition>
</extension>


Anybody has a solution?

Best regards
Peter
Post by Ken Rice
These should be available any time you are going to process a call thru the
dialplan and call a bridge on the call
From: Peter P GMX <Prometheus001 at gmx.net>
Reply-To: <freeswitch-users at lists.freeswitch.org>
Date: Tue, 10 Mar 2009 23:20:39 +0100
To: <freeswitch-users at lists.freeswitch.org>
Subject: Re: [Freeswitch-users] Rewriting Remote Party ID
Hello,
are these variables only available at call setup time or can they be
changed during a call, e.g. before a call is being transferred to
another destination?
Best regards
Peter
Post by Michael Collins
On Tue, Mar 10, 2009 at 6:16 AM, Anthony Minessale
Post by Anthony Minessale
{sip_cid_type=none}sofia/default/user at example.com
Send RPID (default)
{sip_cid_type=rpid}sofia/default/user at example.com
Send P-XXX-Identity
{sip_cid_type=pid}sofia/default/user at example.com
Send RPID with chosen content
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_num
ber=1234,origination_privacy=screen+hide_name+hide_number}sofia/defaul
tuser at example.com
http://wiki.freeswitch.org/wiki/Channel_Variables#sip_cid_type
-MC
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
rod
2009-03-05 12:12:51 UTC
Permalink
Dear list,

I'd like to rewrite the number in the Remote Party ID header and only in
this header.

ex: I'd like to prefix the caller ID with a prefix code (000 in this
example) in the RPID header :

From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
Remote-Party-ID:
<sip:123456 at 10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling

should become:
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
Remote-Party-ID:
<sip:000123456 at 10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling

But the From field should remain unchanged.

And how to strip this prefix:
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
Remote-Party-ID:
<sip:000123456 at 10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling

should become:
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
Remote-Party-ID:
<sip:123456 at 10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling


regards.
Brian West
2009-03-05 12:23:02 UTC
Permalink
Well this depends on how you're placing the call.. if its a standard
bridge you can on the A-Leg set "effective_caller_id_number=000$
{caller_id_number}" before you call bridge.

Is the from already in the correct format?

/b
Post by rod
Dear list,
I'd like to rewrite the number in the Remote Party ID header and only in
this header.
ex: I'd like to prefix the caller ID with a prefix code (000 in this
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
123456
@10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
000123456
@10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
But the From field should remain unchanged.
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
000123456
@10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
From: Anonymous<sip:anonymous at anonymous.invalid>;tag=1208367
123456
@10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090305/bd880b43/attachment-0002.html
Ken Rice
2009-03-10 22:29:30 UTC
Permalink
These should be available any time you are going to process a call thru the
dialplan and call a bridge on the call
From: Peter P GMX <Prometheus001 at gmx.net>
Reply-To: <freeswitch-users at lists.freeswitch.org>
Date: Tue, 10 Mar 2009 23:20:39 +0100
To: <freeswitch-users at lists.freeswitch.org>
Subject: Re: [Freeswitch-users] Rewriting Remote Party ID
Hello,
are these variables only available at call setup time or can they be
changed during a call, e.g. before a call is being transferred to
another destination?
Best regards
Peter
Post by Michael Collins
On Tue, Mar 10, 2009 at 6:16 AM, Anthony Minessale
Post by Anthony Minessale
{sip_cid_type=none}sofia/default/user at example.com
Send RPID (default)
{sip_cid_type=rpid}sofia/default/user at example.com
Send P-XXX-Identity
{sip_cid_type=pid}sofia/default/user at example.com
Send RPID with chosen content
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_num
ber=1234,origination_privacy=screen+hide_name+hide_number}sofia/defaul
tuser at example.com
http://wiki.freeswitch.org/wiki/Channel_Variables#sip_cid_type
-MC
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Loading...