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@anonymous.invalid>;tag=1208367 Remote-Party-ID: <sip:123456@10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling should become: From: Anonymous<sip:anonymous@anonymous.invalid>;tag=1208367 Remote-Party-ID: <sip:000123456@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@anonymous.invalid>;tag=1208367 Remote-Party-ID: <sip:000123456@10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling should become: From: Anonymous<sip:anonymous@anonymous.invalid>;tag=1208367 Remote-Party-ID: <sip:123456@10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling regards.
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 On Mar 5, 2009, at 6:12 AM, rod wrote:
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@anonymous.invalid>;tag=1208367 Remote-Party-ID: <sip: 123456 @10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
should become: From: Anonymous<sip:anonymous@anonymous.invalid>;tag=1208367 Remote-Party-ID: <sip: 000123456 @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@anonymous.invalid>;tag=1208367 Remote-Party-ID: <sip: 000123456 @10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
should become: From: Anonymous<sip:anonymous@anonymous.invalid>;tag=1208367 Remote-Party-ID: <sip: 123456 @10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
regards.
Hi Brian, if I use the function effective_caller_id_number with my INVITE, I get this: From: "Anonymous" <sip:000000anonymous@172.29.0.5>;tag=17geyFjX5p0gS. this is not exactly what I'm looking for :p rod Brian West wrote:
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
On Mar 5, 2009, at 6:12 AM, rod wrote:
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@anonymous.invalid>;tag=1208367 Remote-Party-ID: <sip:123456@10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
should become: From: Anonymous<sip:anonymous@anonymous.invalid>;tag=1208367 Remote-Party-ID: <sip:000123456@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@anonymous.invalid>;tag=1208367 Remote-Party-ID: <sip:000123456@10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
should become: From: Anonymous<sip:anonymous@anonymous.invalid>;tag=1208367 Remote-Party-ID: <sip:123456@10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
regards.
------------------------------------------------------------------------
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
the A leg invite looks like this: From: "Anonymous"<sip:anonymous@anonymous.invalid;user=phone> it has been rewritten like this: From: "Anonymous" <sip:000000anonymous@172.29.0.5> rod rod wrote:
Hi Brian,
if I use the function effective_caller_id_number with my INVITE, I get this:
From: "Anonymous" <sip:000000anonymous@172.29.0.5>;tag=17geyFjX5p0gS.
this is not exactly what I'm looking for :p
rod
Brian West wrote:
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
On Mar 5, 2009, at 6:12 AM, rod wrote:
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@anonymous.invalid>;tag=1208367 Remote-Party-ID: <sip:123456@10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
should become: From: Anonymous<sip:anonymous@anonymous.invalid>;tag=1208367 Remote-Party-ID: <sip:000123456@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@anonymous.invalid>;tag=1208367 Remote-Party-ID: <sip:000123456@10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
should become: From: Anonymous<sip:anonymous@anonymous.invalid>;tag=1208367 Remote-Party-ID: <sip:123456@10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
regards.
------------------------------------------------------------------------
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
try bridge ({effective_caller_id_name ="your_name",effective_caller_id_number="0000"}sofia/b-leg) On Mar 5, 2009, at 9:00 PM, rod wrote:
the A leg invite looks like this: From: "Anonymous"<sip:anonymous@anonymous.invalid;user=phone>
it has been rewritten like this: From: "Anonymous" <sip:000000anonymous@172.29.0.5>
rod
rod wrote:
Hi Brian,
if I use the function effective_caller_id_number with my INVITE, I get this:
From: "Anonymous" <sip:000000anonymous@172.29.0.5>;tag=17geyFjX5p0gS.
this is not exactly what I'm looking for :p
rod
Brian West wrote:
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
On Mar 5, 2009, at 6:12 AM, rod wrote:
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@anonymous.invalid>;tag=1208367 Remote-Party-ID: <sip: 123456 @10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
should become: From: Anonymous<sip:anonymous@anonymous.invalid>;tag=1208367 Remote-Party-ID: <sip: 000123456 @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@anonymous.invalid>;tag=1208367 Remote-Party-ID: <sip: 000123456 @10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
should become: From: Anonymous<sip:anonymous@anonymous.invalid>;tag=1208367 Remote-Party-ID: <sip: 123456 @10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
regards.
------------------------------------------------------------------------
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
using these functions like this did nothing on the SIP INVITE packet :'( seven wrote:
try bridge ({effective_caller_id_name ="your_name",effective_caller_id_number="0000"}sofia/b-leg)
On Mar 5, 2009, at 9:00 PM, rod wrote:
the A leg invite looks like this: From: "Anonymous"<sip:anonymous@anonymous.invalid;user=phone>
it has been rewritten like this: From: "Anonymous" <sip:000000anonymous@172.29.0.5>
rod
rod wrote:
Hi Brian,
if I use the function effective_caller_id_number with my INVITE, I get this:
From: "Anonymous" <sip:000000anonymous@172.29.0.5>;tag=17geyFjX5p0gS.
this is not exactly what I'm looking for :p
rod
Brian West wrote:
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
On Mar 5, 2009, at 6:12 AM, rod wrote:
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@anonymous.invalid>;tag=1208367 Remote-Party-ID: <sip: 123456 @10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
should become: From: Anonymous<sip:anonymous@anonymous.invalid>;tag=1208367 Remote-Party-ID: <sip: 000123456 @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@anonymous.invalid>;tag=1208367 Remote-Party-ID: <sip: 000123456 @10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
should become: From: Anonymous<sip:anonymous@anonymous.invalid>;tag=1208367 Remote-Party-ID: <sip: 123456 @10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
regards.
------------------------------------------------------------------------
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
How about this? bridge ({origination_caller_id_name ="your_name",origination_caller_id_number="0000"}sofia/b-leg) On Mar 6, 2009, at 3:51 PM, rod wrote:
using these functions like this did nothing on the SIP INVITE packet :'(
seven wrote:
try bridge ({effective_caller_id_name ="your_name",effective_caller_id_number="0000"}sofia/b-leg)
On Mar 5, 2009, at 9:00 PM, rod wrote:
the A leg invite looks like this: From: "Anonymous"<sip:anonymous@anonymous.invalid;user=phone>
it has been rewritten like this: From: "Anonymous" <sip:000000anonymous@172.29.0.5>
rod
rod wrote:
Hi Brian,
if I use the function effective_caller_id_number with my INVITE, I get this:
From: "Anonymous" <sip: 000000anonymous@172.29.0.5>;tag=17geyFjX5p0gS.
this is not exactly what I'm looking for :p
rod
Brian West wrote:
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
On Mar 5, 2009, at 6:12 AM, rod wrote:
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@anonymous.invalid>;tag=1208367 Remote-Party-ID: <sip: 123456 @10.10.10.10 :5062;user=phone>;privacy=full;screen=yes;party=calling
should become: From: Anonymous<sip:anonymous@anonymous.invalid>;tag=1208367 Remote-Party-ID: <sip: 000123456 @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@anonymous.invalid>;tag=1208367 Remote-Party-ID: <sip: 000123456 @10.10.10.10 :5062;user=phone>;privacy=full;screen=yes;party=calling
should become: From: Anonymous<sip:anonymous@anonymous.invalid>;tag=1208367 Remote-Party-ID: <sip: 123456 @10.10.10.10 :5062;user=phone>;privacy=full;screen=yes;party=calling
regards.
------------------------------------------------------------------------
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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
using these functions like this did nothing on the SIP INVITE packet :'(
seven wrote:
try bridge ({effective_caller_id_name ="your_name",effective_caller_id_number="0000"}sofia/b-leg)
On Mar 5, 2009, at 9:00 PM, rod wrote:
the A leg invite looks like this: From: "Anonymous"<sip:anonymous@anonymous.invalid;user=phone>
it has been rewritten like this: From: "Anonymous" <sip:000000anonymous@172.29.0.5>
rod
rod wrote:
Hi Brian,
if I use the function effective_caller_id_number with my INVITE, I get this:
From: "Anonymous" <sip:000000anonymous@172.29.0.5>;tag=17geyFjX5p0gS.
this is not exactly what I'm looking for :p
rod
Brian West wrote:
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
On Mar 5, 2009, at 6:12 AM, rod wrote:
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@anonymous.invalid>;tag=1208367 Remote-Party-ID: <sip: 123456 @10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
should become: From: Anonymous<sip:anonymous@anonymous.invalid>;tag=1208367 Remote-Party-ID: <sip: 000123456 @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@anonymous.invalid>;tag=1208367 Remote-Party-ID: <sip: 000123456 @10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
should become: From: Anonymous<sip:anonymous@anonymous.invalid>;tag=1208367 Remote-Party-ID: <sip: 123456 @10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling
regards.
------------------------------------------------------------------------
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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 David Knell wrote:
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
using these functions like this did nothing on the SIP INVITE packet :'(
seven wrote:
try bridge ({effective_caller_id_name ="your_name",effective_caller_id_number="0000"}sofia/b-leg)
On Mar 5, 2009, at 9:00 PM, rod wrote:
the A leg invite looks like this: From: "Anonymous"<sip:anonymous@anonymous.invalid;user=phone>
it has been rewritten like this: From: "Anonymous" <sip:000000anonymous@172.29.0.5>
rod
rod wrote:
Hi Brian,
if I use the function effective_caller_id_number with my INVITE, I get this:
From: "Anonymous" <sip:000000anonymous@172.29.0.5>;tag=17geyFjX5p0gS.
this is not exactly what I'm looking for :p
rod
Brian West wrote:
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
On Mar 5, 2009, at 6:12 AM, rod wrote:
> 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@anonymous.invalid>;tag=1208367 > Remote-Party-ID: > <sip: > 123456 > @10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling > > should become: > From: Anonymous<sip:anonymous@anonymous.invalid>;tag=1208367 > Remote-Party-ID: > <sip: > 000123456 > @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@anonymous.invalid>;tag=1208367 > Remote-Party-ID: > <sip: > 000123456 > @10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling > > should become: > From: Anonymous<sip:anonymous@anonymous.invalid>;tag=1208367 > Remote-Party-ID: > <sip: > 123456 > @10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling > > > regards. > > > ------------------------------------------------------------------------
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@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@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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 rod wrote:
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
David Knell wrote:
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
using these functions like this did nothing on the SIP INVITE packet :'(
seven wrote:
try bridge ({effective_caller_id_name ="your_name",effective_caller_id_number="0000"}sofia/b-leg)
On Mar 5, 2009, at 9:00 PM, rod wrote:
the A leg invite looks like this: From: "Anonymous"<sip:anonymous@anonymous.invalid;user=phone>
it has been rewritten like this: From: "Anonymous" <sip:000000anonymous@172.29.0.5>
rod
rod wrote:
Hi Brian,
if I use the function effective_caller_id_number with my INVITE, I get this:
From: "Anonymous" <sip:000000anonymous@172.29.0.5>;tag=17geyFjX5p0gS.
this is not exactly what I'm looking for :p
rod
Brian West wrote:
> 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 > > On Mar 5, 2009, at 6:12 AM, rod wrote: > > > > > >> 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@anonymous.invalid>;tag=1208367 >> Remote-Party-ID: >> <sip: >> 123456 >> @10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling >> >> should become: >> From: Anonymous<sip:anonymous@anonymous.invalid>;tag=1208367 >> Remote-Party-ID: >> <sip: >> 000123456 >> @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@anonymous.invalid>;tag=1208367 >> Remote-Party-ID: >> <sip: >> 000123456 >> @10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling >> >> should become: >> From: Anonymous<sip:anonymous@anonymous.invalid>;tag=1208367 >> Remote-Party-ID: >> <sip: >> 123456 >> @10.10.10.10:5062;user=phone>;privacy=full;screen=yes;party=calling >> >> >> regards. >> >> >> >> > ------------------------------------------------------------------------ > > _______________________________________________ > Freeswitch-users mailing list > Freeswitch-users@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@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@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@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@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@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@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 napsal(a):
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.
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
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 kokoska rokoska wrote:
rod napsal(a):
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.
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@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 napsal(a):
... 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
Latest SVN: Send no extra caller id info: {sip_cid_type=none}sofia/default/user@example.com Send RPID (default) {sip_cid_type=rpid}sofia/default/user@example.com Send P-XXX-Identity {sip_cid_type=pid}sofia/default/user@example.com Send RPID with chosen content {sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234}sofia/default/ user@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@example.com Send RPID (default) {sip_cid_type=rpid}sofia/default/ user@example.com Send P-XXX-Identity {sip_cid_type=pid}sofia/default/ user@example.com Send RPID with chosen content {sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234}sofia/default/ user@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@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@example.com Send RPID (default) {sip_cid_type=rpid}sofia/default/ user@example.com Send P-XXX-Identity {sip_cid_type=pid}sofia/default/ user@example.com Send RPID with chosen content {sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234}sofia/default/ user@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@post.cz>wrote:
rod napsal(a):
... 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@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@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
Anthony Minessale napsal(a):
Latest SVN:
Send no extra caller id info: {sip_cid_type=none}sofia/default/user@example.com <mailto:user@example.com>
Send RPID (default) {sip_cid_type=rpid}sofia/default/user@example.com <mailto:user@example.com>
Send P-XXX-Identity {sip_cid_type=pid}sofia/default/user@example.com <mailto:user@example.com>
Send RPID with chosen content {sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234}sofia/default/user@example.com <mailto:user@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@example.com <mailto:user@example.com> Send RPID (default) {sip_cid_type=rpid}sofia/default/user@example.com <mailto:user@example.com> Send P-XXX-Identity {sip_cid_type=pid}sofia/default/user@example.com <mailto:user@example.com> Send RPID with chosen content {sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234}sofia/default/user@example.com <mailto:user@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@example.com <mailto:user@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@example.com <mailto:user@example.com> Send RPID (default) {sip_cid_type=rpid}sofia/default/user@example.com <mailto:user@example.com> Send P-XXX-Identity {sip_cid_type=pid}sofia/default/user@example.com <mailto:user@example.com> Send RPID with chosen content {sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234}sofia/default/user@example.com <mailto:user@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
The paypal button on the hompege will do ;) On Tue, Mar 10, 2009 at 8:36 AM, kokoska rokoska <kokoska.rokoska@post.cz>wrote:
Anthony Minessale napsal(a):
Latest SVN:
Send no extra caller id info: {sip_cid_type=none}sofia/default/user@example.com <mailto: user@example.com>
Send RPID (default) {sip_cid_type=rpid}sofia/default/user@example.com <mailto: user@example.com>
Send P-XXX-Identity {sip_cid_type=pid}sofia/default/user@example.com <mailto: user@example.com>
Send RPID with chosen content
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234}sofia/default/ user@example.com
<mailto:user@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@example.com <mailto:user@example.com> Send RPID (default) {sip_cid_type=rpid}sofia/default/user@example.com <mailto:user@example.com> Send P-XXX-Identity {sip_cid_type=pid}sofia/default/user@example.com <mailto:user@example.com> Send RPID with chosen content
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234}sofia/default/ user@example.com
<mailto:user@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@example.com
<mailto:user@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@example.com <mailto:user@example.com> Send RPID (default) {sip_cid_type=rpid}sofia/default/user@example.com <mailto:user@example.com> Send P-XXX-Identity {sip_cid_type=pid}sofia/default/user@example.com <mailto:user@example.com> Send RPID with chosen content
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234}sofia/default/ user@example.com
<mailto:user@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@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@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
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@172.29.0.5>;tag=X4v4Kvt1B2DQF Remote-Party-ID: "test" <sip:1234@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@anonymous.invalid>;tag=z07m5db13cb-cbs450547977-o-5273-368294925 it is changed like this on B-leg: From: "test" <sip:1234@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@anonymous.invalid;user=phone>;tag=c0a80101-fed0c on B-leg: From: "Anonymous" <sip:anonymous@172.29.0.5>;tag=tpjD57U2pyrFN and I'd like B-leg to match A-leg for anonymous call as stated in RFC, anonymous@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 Anthony Minessale wrote:
Latest SVN:
Send no extra caller id info: {sip_cid_type=none}sofia/default/user@example.com <mailto:user@example.com>
Send RPID (default) {sip_cid_type=rpid}sofia/default/user@example.com <mailto:user@example.com>
Send P-XXX-Identity {sip_cid_type=pid}sofia/default/user@example.com <mailto:user@example.com>
Send RPID with chosen content {sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234}sofia/default/user@example.com <mailto:user@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@example.com <mailto:user@example.com> Send RPID (default) {sip_cid_type=rpid}sofia/default/user@example.com <mailto:user@example.com> Send P-XXX-Identity {sip_cid_type=pid}sofia/default/user@example.com <mailto:user@example.com> Send RPID with chosen content {sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234}sofia/default/user@example.com <mailto:user@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@example.com <mailto:user@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@example.com <mailto:user@example.com> Send RPID (default) {sip_cid_type=rpid}sofia/default/user@example.com <mailto:user@example.com> Send P-XXX-Identity {sip_cid_type=pid}sofia/default/user@example.com <mailto:user@example.com> Send RPID with chosen content {sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234}sofia/default/user@example.com <mailto:user@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@post.cz <mailto:kokoska.rokoska@post.cz>> wrote:
rod napsal(a): > ... 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@lists.freeswitch.org <mailto:Freeswitch-users@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@hotmail.com <mailto:MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com <mailto:PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <mailto:sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 <http://iax:guest@conference.freeswitch.org/888> googletalk:conf+888@conference.freeswitch.org <mailto:googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400 ------------------------------------------------------------------------
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
ok if you are up to date you should be able to add {sip_from_uri=sip:anonymous@anonymous.invalid} to your dial string. On Tue, Mar 10, 2009 at 9:30 AM, rod <kawarod@laposte.net> wrote:
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@172.29.0.5 <sip%3A1234@172.29.0.5>
;tag=X4v4Kvt1B2DQF Remote-Party-ID: "test" <sip:1234@172.29.0.5 <sip%3A1234@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@anonymous.invalid
;tag=z07m5db13cb-cbs450547977-o-5273-368294925
it is changed like this on B-leg: From: "test" <sip:1234@172.29.0.5 <sip%3A1234@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@anonymous.invalid;user=phone>;tag=c0a80101-fed0c on B-leg: From: "Anonymous" <sip:anonymous@172.29.0.5 <sip%3Aanonymous@172.29.0.5>
;tag=tpjD57U2pyrFN
and I'd like B-leg to match A-leg for anonymous call as stated in RFC, anonymous@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
Anthony Minessale wrote:
Latest SVN:
Send no extra caller id info: {sip_cid_type=none}sofia/default/user@example.com <mailto:user@example.com>
Send RPID (default) {sip_cid_type=rpid}sofia/default/user@example.com <mailto:user@example.com>
Send P-XXX-Identity {sip_cid_type=pid}sofia/default/user@example.com <mailto:user@example.com>
Send RPID with chosen content
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234}sofia/default/ user@example.com
<mailto:user@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@example.com <mailto:user@example.com> Send RPID (default) {sip_cid_type=rpid}sofia/default/user@example.com <mailto:user@example.com> Send P-XXX-Identity {sip_cid_type=pid}sofia/default/user@example.com <mailto:user@example.com> Send RPID with chosen content
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234}sofia/default/ user@example.com
<mailto:user@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@example.com
<mailto:user@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@example.com <mailto:user@example.com> Send RPID (default) {sip_cid_type=rpid}sofia/default/user@example.com <mailto:user@example.com> Send P-XXX-Identity {sip_cid_type=pid}sofia/default/user@example.com <mailto:user@example.com> Send RPID with chosen content
{sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234}sofia/default/ user@example.com
<mailto:user@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@post.cz <mailto:kokoska.rokoska@post.cz>> wrote:
rod napsal(a): > ... 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@lists.freeswitch.org <mailto:Freeswitch-users@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@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> <mailto:MSN%3Aanthony_minessale@hotmail.com<MSN%253Aanthony_minessale@hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> <mailto:PAYPAL%3Aanthony.minessale@gmail.com<PAYPAL%253Aanthony.minessale@gmail.com>
IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> <mailto:sip%3A888@conference.freeswitch.org<sip%253A888@conference.freeswitch.org>
iax:guest@conference.freeswitch.org/888 <http://iax:guest@conference.freeswitch.org/888> googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> <mailto:googletalk%3Aconf%2B888@conference.freeswitch.org<googletalk%253Aconf%252B888@conference.freeswitch.org>
pstn:213-799-1400 ------------------------------------------------------------------------
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@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@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@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
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@anonymous.invalid}sofia/ss7/000000${destination_number}@${GW_IP}"/> and I get this From: "test" <sip:anonymous@anonymous.invalid>;tag=tQ52gmv6NyN0D. Remote-Party-ID: "test" <sip:000000123456789@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@anonymous.invalid>;tag=tQ52gmv6NyN0D. Remote-Party-ID: "test" <sip:000000123456789@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 Anthony Minessale wrote:
ok if you are up to date you should be able to add
{sip_from_uri=sip:anonymous@anonymous.invalid} to your dial string.
On Tue, Mar 10, 2009 at 9:30 AM, rod <kawarod@laposte.net <mailto:kawarod@laposte.net>> wrote:
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@172.29.0.5 <mailto:sip%3A1234@172.29.0.5>>;tag=X4v4Kvt1B2DQF Remote-Party-ID: "test" <sip:1234@172.29.0.5 <mailto:sip%3A1234@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@anonymous.invalid>;tag=z07m5db13cb-cbs450547977-o-5273-368294925
it is changed like this on B-leg: From: "test" <sip:1234@172.29.0.5 <mailto:sip%3A1234@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@anonymous.invalid;user=phone>;tag=c0a80101-fed0c on B-leg: From: "Anonymous" <sip:anonymous@172.29.0.5 <mailto:sip%3Aanonymous@172.29.0.5>>;tag=tpjD57U2pyrFN
and I'd like B-leg to match A-leg for anonymous call as stated in RFC, anonymous@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
Anthony Minessale wrote: > Latest SVN: > > Send no extra caller id info: > {sip_cid_type=none}sofia/default/user@example.com <mailto:user@example.com> > <mailto:user@example.com <mailto:user@example.com>> > > Send RPID (default) > {sip_cid_type=rpid}sofia/default/user@example.com <mailto:user@example.com> > <mailto:user@example.com <mailto:user@example.com>> > > Send P-XXX-Identity > {sip_cid_type=pid}sofia/default/user@example.com <mailto:user@example.com> > <mailto:user@example.com <mailto:user@example.com>> > > Send RPID with chosen content > {sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234}sofia/default/user@example.com <mailto:user@example.com> > <mailto:user@example.com <mailto:user@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@example.com <mailto:user@example.com> > <mailto:user@example.com <mailto:user@example.com>> Send RPID (default) > {sip_cid_type=rpid}sofia/default/user@example.com <mailto:user@example.com> > <mailto:user@example.com <mailto:user@example.com>> Send P-XXX-Identity > {sip_cid_type=pid}sofia/default/user@example.com <mailto:user@example.com> > <mailto:user@example.com <mailto:user@example.com>> Send RPID with chosen content > {sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234}sofia/default/user@example.com <mailto:user@example.com> > <mailto:user@example.com <mailto:user@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@example.com <mailto:user@example.com> > <mailto:user@example.com <mailto:user@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@example.com <mailto:user@example.com> > <mailto:user@example.com <mailto:user@example.com>> Send RPID (default) > {sip_cid_type=rpid}sofia/default/user@example.com <mailto:user@example.com> > <mailto:user@example.com <mailto:user@example.com>> Send P-XXX-Identity > {sip_cid_type=pid}sofia/default/user@example.com <mailto:user@example.com> > <mailto:user@example.com <mailto:user@example.com>> Send RPID with chosen content > {sip_cid_type=rpid,origination_caller_id_name=test,origination_caller_id_number=1234}sofia/default/user@example.com <mailto:user@example.com> > <mailto:user@example.com <mailto:user@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@post.cz <mailto:kokoska.rokoska@post.cz> <mailto:kokoska.rokoska@post.cz <mailto:kokoska.rokoska@post.cz>>> wrote: > > > rod napsal(a): > > ... 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@lists.freeswitch.org <mailto:Freeswitch-users@lists.freeswitch.org> > <mailto:Freeswitch-users@lists.freeswitch.org <mailto:Freeswitch-users@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@hotmail.com <mailto:MSN%3Aanthony_minessale@hotmail.com> > <mailto:MSN%3Aanthony_minessale@hotmail.com <mailto:MSN%253Aanthony_minessale@hotmail.com>> > GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com <mailto:PAYPAL%3Aanthony.minessale@gmail.com> > <mailto:PAYPAL%3Aanthony.minessale@gmail.com <mailto:PAYPAL%253Aanthony.minessale@gmail.com>> > IRC: irc.freenode.net <http://irc.freenode.net> <http://irc.freenode.net> #freeswitch > > FreeSWITCH Developer Conference > sip:888@conference.freeswitch.org <mailto:sip%3A888@conference.freeswitch.org> > <mailto:sip%3A888@conference.freeswitch.org <mailto:sip%253A888@conference.freeswitch.org>> > iax:guest@conference.freeswitch.org/888 <http://iax:guest@conference.freeswitch.org/888> > <http://iax:guest@conference.freeswitch.org/888> > googletalk:conf+888@conference.freeswitch.org <mailto:googletalk%3Aconf%2B888@conference.freeswitch.org> > <mailto:googletalk%3Aconf%2B888@conference.freeswitch.org <mailto:googletalk%253Aconf%252B888@conference.freeswitch.org>> > pstn:213-799-1400 > ------------------------------------------------------------------------ > > _______________________________________________ > Freeswitch-users mailing list > Freeswitch-users@lists.freeswitch.org <mailto:Freeswitch-users@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@lists.freeswitch.org <mailto:Freeswitch-users@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@hotmail.com <mailto:MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com <mailto:PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <mailto:sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 <http://iax:guest@conference.freeswitch.org/888> googletalk:conf+888@conference.freeswitch.org <mailto:googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400 ------------------------------------------------------------------------
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
On Wed, Mar 11, 2009 at 3:33 AM, rod <kawarod@laposte.net> wrote:
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:
Done....r12563 -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
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@anonymous.invalid}sofia/ss7/000000${destination_number}@${GW_IP} I have this on B leg From: "test" <sip:anonymous@anonymous.invalid>;tag=gQ53Hjp617BSH. Remote-Party-ID: "test" <sip:000000262262880001@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. Anthony Minessale wrote:
On Wed, Mar 11, 2009 at 3:33 AM, rod <kawarod@laposte.net <mailto:kawarod@laposte.net>> wrote:
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:
Done....r12563
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/
AIM: anthm MSN:anthony_minessale@hotmail.com <mailto:MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com <mailto:PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <mailto:sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 <http://iax:guest@conference.freeswitch.org/888> googletalk:conf+888@conference.freeswitch.org <mailto:googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400 ------------------------------------------------------------------------
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
try now On Wed, Mar 11, 2009 at 9:09 AM, rod <kawarod@laposte.net> wrote:
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@anonymous.invalid }sofia/ss7/000000${destination_number}@${GW_IP}
I have this on B leg From: "test" <sip:anonymous@anonymous.invalid>;tag=gQ53Hjp617BSH. Remote-Party-ID: "test" <sip:000000262262880001@172.29.0.5 <sip%3A000000262262880001@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.
Anthony Minessale wrote:
On Wed, Mar 11, 2009 at 3:33 AM, rod <kawarod@laposte.net <mailto:kawarod@laposte.net>> wrote:
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:
Done....r12563
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/
AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> <mailto:MSN%3Aanthony_minessale@hotmail.com<MSN%253Aanthony_minessale@hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> <mailto:PAYPAL%3Aanthony.minessale@gmail.com<PAYPAL%253Aanthony.minessale@gmail.com>
IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> <mailto:sip%3A888@conference.freeswitch.org<sip%253A888@conference.freeswitch.org>
iax:guest@conference.freeswitch.org/888 <http://iax:guest@conference.freeswitch.org/888> googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> <mailto:googletalk%3Aconf%2B888@conference.freeswitch.org<googletalk%253Aconf%252B888@conference.freeswitch.org>
pstn:213-799-1400 ------------------------------------------------------------------------
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@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@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@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
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 < anthony.minessale@gmail.com> wrote:
try now
On Wed, Mar 11, 2009 at 9:09 AM, rod <kawarod@laposte.net> wrote:
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@anonymous.invalid }sofia/ss7/000000${destination_number}@${GW_IP}
I have this on B leg From: "test" <sip:anonymous@anonymous.invalid>;tag=gQ53Hjp617BSH. Remote-Party-ID: "test" <sip:000000262262880001@172.29.0.5 <sip%3A000000262262880001@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.
Anthony Minessale wrote:
On Wed, Mar 11, 2009 at 3:33 AM, rod <kawarod@laposte.net <mailto:kawarod@laposte.net>> wrote:
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:
Done....r12563
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/
AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> <mailto:MSN%3Aanthony_minessale@hotmail.com<MSN%253Aanthony_minessale@hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> <mailto:PAYPAL%3Aanthony.minessale@gmail.com<PAYPAL%253Aanthony.minessale@gmail.com>
IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> <mailto:sip%3A888@conference.freeswitch.org<sip%253A888@conference.freeswitch.org>
iax:guest@conference.freeswitch.org/888 <http://iax:guest@conference.freeswitch.org/888> googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> <mailto:googletalk%3Aconf%2B888@conference.freeswitch.org<googletalk%253Aconf%252B888@conference.freeswitch.org>
pstn:213-799-1400 ------------------------------------------------------------------------
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@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@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@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@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
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 wrote:
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 <anthony.minessale@gmail.com <mailto:anthony.minessale@gmail.com>> wrote:
try now
On Wed, Mar 11, 2009 at 9:09 AM, rod <kawarod@laposte.net <mailto:kawarod@laposte.net>> wrote:
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@anonymous.invalid}sofia/ss7/000000${destination_number}@${GW_IP}
I have this on B leg From: "test" <sip:anonymous@anonymous.invalid>;tag=gQ53Hjp617BSH. Remote-Party-ID: "test" <sip:000000262262880001@172.29.0.5 <mailto:sip%3A000000262262880001@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.
Anthony Minessale wrote: > > > On Wed, Mar 11, 2009 at 3:33 AM, rod <kawarod@laposte.net <mailto:kawarod@laposte.net> > <mailto:kawarod@laposte.net <mailto:kawarod@laposte.net>>> wrote: > > 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: > > > Done....r12563 > > -- > Anthony Minessale II > > FreeSWITCH http://www.freeswitch.org/ > ClueCon http://www.cluecon.com/ > > AIM: anthm > MSN:anthony_minessale@hotmail.com <mailto:MSN%3Aanthony_minessale@hotmail.com> > <mailto:MSN%3Aanthony_minessale@hotmail.com <mailto:MSN%253Aanthony_minessale@hotmail.com>> > GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com <mailto:PAYPAL%3Aanthony.minessale@gmail.com> > <mailto:PAYPAL%3Aanthony.minessale@gmail.com <mailto:PAYPAL%253Aanthony.minessale@gmail.com>> > IRC: irc.freenode.net <http://irc.freenode.net> <http://irc.freenode.net> #freeswitch > > FreeSWITCH Developer Conference > sip:888@conference.freeswitch.org <mailto:sip%3A888@conference.freeswitch.org> > <mailto:sip%3A888@conference.freeswitch.org <mailto:sip%253A888@conference.freeswitch.org>> > iax:guest@conference.freeswitch.org/888 <http://iax:guest@conference.freeswitch.org/888> > <http://iax:guest@conference.freeswitch.org/888> > googletalk:conf+888@conference.freeswitch.org <mailto:googletalk%3Aconf%2B888@conference.freeswitch.org> > <mailto:googletalk%3Aconf%2B888@conference.freeswitch.org <mailto:googletalk%253Aconf%252B888@conference.freeswitch.org>> > pstn:213-799-1400 > ------------------------------------------------------------------------ > > _______________________________________________ > Freeswitch-users mailing list > Freeswitch-users@lists.freeswitch.org <mailto:Freeswitch-users@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@lists.freeswitch.org <mailto:Freeswitch-users@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@hotmail.com <mailto:MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com <mailto:PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <mailto:sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 <http://iax:guest@conference.freeswitch.org/888> googletalk:conf+888@conference.freeswitch.org <mailto:googletalk%3Aconf%2B888@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@hotmail.com <mailto:MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com <mailto:PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <mailto:sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 <http://iax:guest@conference.freeswitch.org/888> googletalk:conf+888@conference.freeswitch.org <mailto:googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400 ------------------------------------------------------------------------
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
origination_privacy was indeed broken fixed in r12603 On Thu, Mar 12, 2009 at 5:15 AM, rod <kawarod@laposte.net> wrote:
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@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
On Tue, Mar 10, 2009 at 6:16 AM, Anthony Minessale <anthony.minessale@gmail.com> wrote:
Latest SVN:
Send no extra caller id info: {sip_cid_type=none}sofia/default/user@example.com
Send RPID (default) {sip_cid_type=rpid}sofia/default/user@example.com
Send P-XXX-Identity {sip_cid_type=pid}sofia/default/user@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@example.com
FYI, I added this info to the channel variables page: http://wiki.freeswitch.org/wiki/Channel_Variables#sip_cid_type -MC
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 Michael Collins schrieb:
On Tue, Mar 10, 2009 at 6:16 AM, Anthony Minessale <anthony.minessale@gmail.com> wrote:
Latest SVN:
Send no extra caller id info: {sip_cid_type=none}sofia/default/user@example.com
Send RPID (default) {sip_cid_type=rpid}sofia/default/user@example.com
Send P-XXX-Identity {sip_cid_type=pid}sofia/default/user@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@example.com
FYI, I added this info to the channel variables page: http://wiki.freeswitch.org/wiki/Channel_Variables#sip_cid_type
-MC
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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@gmx.net> Reply-To: <freeswitch-users@lists.freeswitch.org> Date: Tue, 10 Mar 2009 23:20:39 +0100 To: <freeswitch-users@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
Michael Collins schrieb:
On Tue, Mar 10, 2009 at 6:16 AM, Anthony Minessale <anthony.minessale@gmail.com> wrote:
Latest SVN:
Send no extra caller id info: {sip_cid_type=none}sofia/default/user@example.com
Send RPID (default) {sip_cid_type=rpid}sofia/default/user@example.com
Send P-XXX-Identity {sip_cid_type=pid}sofia/default/user@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@example.com
FYI, I added this info to the channel variables page: http://wiki.freeswitch.org/wiki/Channel_Variables#sip_cid_type
-MC
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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@domain.com"/> </condition> </extension> Anybody has a solution? Best regards Peter Ken Rice schrieb:
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@gmx.net> Reply-To: <freeswitch-users@lists.freeswitch.org> Date: Tue, 10 Mar 2009 23:20:39 +0100 To: <freeswitch-users@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
Michael Collins schrieb:
On Tue, Mar 10, 2009 at 6:16 AM, Anthony Minessale <anthony.minessale@gmail.com> wrote:
Latest SVN:
Send no extra caller id info: {sip_cid_type=none}sofia/default/user@example.com
Send RPID (default) {sip_cid_type=rpid}sofia/default/user@example.com
Send P-XXX-Identity {sip_cid_type=pid}sofia/default/user@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@example.com
FYI, I added this info to the channel variables page: http://wiki.freeswitch.org/wiki/Channel_Variables#sip_cid_type
-MC
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
I got it to work. It was just so easy: <action application="set" data="effective_caller_id_number=${caller_id_number}"/> Best regards Peter Peter P GMX schrieb:
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@domain.com"/> </condition> </extension>
Anybody has a solution?
Best regards Peter
Ken Rice schrieb:
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@gmx.net> Reply-To: <freeswitch-users@lists.freeswitch.org> Date: Tue, 10 Mar 2009 23:20:39 +0100 To: <freeswitch-users@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
Michael Collins schrieb:
On Tue, Mar 10, 2009 at 6:16 AM, Anthony Minessale <anthony.minessale@gmail.com> wrote:
Latest SVN:
Send no extra caller id info: {sip_cid_type=none}sofia/default/user@example.com
Send RPID (default) {sip_cid_type=rpid}sofia/default/user@example.com
Send P-XXX-Identity {sip_cid_type=pid}sofia/default/user@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@example.com
FYI, I added this info to the channel variables page: http://wiki.freeswitch.org/wiki/Channel_Variables#sip_cid_type
-MC
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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 On Mar 10, 2009, at 9:48 PM, Michael Collins wrote:
On Tue, Mar 10, 2009 at 6:16 AM, Anthony Minessale <anthony.minessale@gmail.com> wrote:
Latest SVN:
Send no extra caller id info: {sip_cid_type=none}sofia/default/user@example.com
Send RPID (default) {sip_cid_type=rpid}sofia/default/user@example.com
Send P-XXX-Identity {sip_cid_type=pid}sofia/default/user@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@example.com
FYI, I added this info to the channel variables page: http://wiki.freeswitch.org/wiki/Channel_Variables#sip_cid_type
-MC
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (13)
-
Anthony Minessale
-
Brian West
-
David Knell
-
dujinfang
-
Ken Rice
-
kokoska rokoska
-
Leon de Rooij
-
Michael Collins
-
Peter P GMX
-
Raymond Chandler
-
rod
-
seven
-
Shelby Ramsey