VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
kawarod at laposte.net Guest
|
Posted: Thu Mar 05, 2009 7:27 am Post subject: [Freeswitch-users] Rewriting Remote Party ID |
|
|
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 |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Thu Mar 05, 2009 7:31 am Post subject: [Freeswitch-users] Rewriting Remote Party ID |
|
|
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:
Quote: | 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<[url=sip:anonymous@anonymous.invalid]sip:anonymous@anonymous.invalid[/url]>;tag=1208367
Remote-Party-ID:
<[url=sip:123456@10.10.10.10:5062;user=phone]sip:123456@10.10.10.10:5062;user=phone[/url]>;privacy=full;screen=yes;party=calling
should become:
From: Anonymous<[url=sip:anonymous@anonymous.invalid]sip:anonymous@anonymous.invalid[/url]>;tag=1208367
Remote-Party-ID:
<[url=sip:000123456@10.10.10.10:5062;user=phone]sip:000123456@10.10.10.10:5062;user=phone[/url]>;privacy=full;screen=yes;party=calling
But the From field should remain unchanged.
And how to strip this prefix:
From: Anonymous<[url=sip:anonymous@anonymous.invalid]sip:anonymous@anonymous.invalid[/url]>;tag=1208367
Remote-Party-ID:
<[url=sip:000123456@10.10.10.10:5062;user=phone]sip:000123456@10.10.10.10:5062;user=phone[/url]>;privacy=full;screen=yes;party=calling
should become:
From: Anonymous<[url=sip:anonymous@anonymous.invalid]sip:anonymous@anonymous.invalid[/url]>;tag=1208367
Remote-Party-ID:
<[url=sip:123456@10.10.10.10:5062;user=phone]sip:123456@10.10.10.10:5062;user=phone[/url]>;privacy=full;screen=yes;party=calling
regards. |
|
|
Back to top |
|
|
kawarod at laposte.net Guest
|
Posted: Thu Mar 05, 2009 7:55 am Post subject: [Freeswitch-users] Rewriting Remote Party ID |
|
|
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:
Quote: | 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:
Quote: | 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 |
|
Back to top |
|
|
kawarod at laposte.net Guest
|
Posted: Thu Mar 05, 2009 8:14 am Post subject: [Freeswitch-users] Rewriting Remote Party ID |
|
|
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:
Quote: | 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:
Quote: | 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:
Quote: | 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 |
|
Back to top |
|
|
dujinfang at gmail.com Guest
|
Posted: Thu Mar 05, 2009 9:31 pm Post subject: [Freeswitch-users] Rewriting Remote Party ID |
|
|
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:
Quote: | 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:
Quote: | 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:
Quote: | 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:
Quote: | 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 |
|
Back to top |
|
|
kawarod at laposte.net Guest
|
Posted: Fri Mar 06, 2009 3:02 am Post subject: [Freeswitch-users] Rewriting Remote Party ID |
|
|
using these functions like this did nothing on the SIP INVITE packet :'(
seven wrote:
Quote: | 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:
Quote: | 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:
Quote: | 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:
Quote: | 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:
Quote: | 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 |
|
Back to top |
|
|
dujinfang at gmail.com Guest
|
Posted: Fri Mar 06, 2009 7:42 am Post subject: [Freeswitch-users] Rewriting Remote Party ID |
|
|
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:
Quote: | using these functions like this did nothing on the SIP INVITE
packet :'(
seven wrote:
Quote: | 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:
Quote: | 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:
Quote: | 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:
Quote: | 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:
Quote: | 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 |
|
Back to top |
|
|
dave at 3c.co.uk Guest
|
Posted: Sat Mar 07, 2009 9:32 am Post subject: [Freeswitch-users] Rewriting Remote Party ID |
|
|
Hi Rod,
You can set it directly:
<action application="set"><![CDATA[sip_h_Remote-Party-Identity="${caller_id_number}" [url=sip:{$caller_id_number}@1.2.3.4]<sip:{$caller_id_number}@1.2.3.4>[/url];screen=yes;privacy=off]]></action>
<action application="bridge" data="sofia/gateway/wherever/+$1"/>
--Dave
Quote: | Quote: | 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:
| 0 |
|
|
Back to top |
|
|
kawarod at laposte.net Guest
|
Posted: Mon Mar 09, 2009 2:09 am Post subject: [Freeswitch-users] Rewriting Remote Party ID |
|
|
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:
Quote: | 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
Quote: | using these functions like this did nothing on the SIP INVITE packet :'(
seven wrote:
Quote: | 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:
Quote: | 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:
Quote: | 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:
Quote: | 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:
Quote: | 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 |
|
Back to top |
|
|
kawarod at laposte.net Guest
|
Posted: Tue Mar 10, 2009 6:18 am Post subject: [Freeswitch-users] Rewriting Remote Party ID |
|
|
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:
Quote: | 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:
Quote: | 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
Quote: | using these functions like this did nothing on the SIP INVITE packet :'(
seven wrote:
Quote: | 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:
Quote: | 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:
Quote: | 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:
Quote: | 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:
Quote: | 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
|
_______________________________________________
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 |
|
Back to top |
|
|
kokoska.rokoska at pos... Guest
|
Posted: Tue Mar 10, 2009 6:38 am Post subject: [Freeswitch-users] Rewriting Remote Party ID |
|
|
rod napsal(a):
Quote: | 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 |
|
Back to top |
|
|
kawarod at laposte.net Guest
|
Posted: Tue Mar 10, 2009 7:25 am Post subject: [Freeswitch-users] Rewriting Remote Party ID |
|
|
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:
Quote: |
rod napsal(a):
Quote: | 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
|
_______________________________________________
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 |
|
Back to top |
|
|
kokoska.rokoska at pos... Guest
|
Posted: Tue Mar 10, 2009 7:40 am Post subject: [Freeswitch-users] Rewriting Remote Party ID |
|
|
rod napsal(a):
Quote: | ... 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 |
|
Back to top |
|
|
anthony.minessale at g... Guest
|
Posted: Tue Mar 10, 2009 8:26 am Post subject: [Freeswitch-users] Rewriting Remote Party ID |
|
|
Latest SVN:
Send no extra caller id info:
{sip_cid_type=none}sofia/default/user@example.com (user@example.com)
Send RPID (default)
{sip_cid_type=rpid}sofia/default/user@example.com (user@example.com)
Send P-XXX-Identity
{sip_cid_type=pid}sofia/default/user@example.com (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 (user@example.com)
[ Show » ]
user@example.com (user@example.com) Send RPID (default) {sip_cid_type=rpid}sofia/default/user@example.com (user@example.com) Send P-XXX-Identity {sip_cid_type=pid}sofia/default/user@example.com (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 (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 (user@example.com)
[ Show » ]
user@example.com (user@example.com) Send RPID (default) {sip_cid_type=rpid}sofia/default/user@example.com (user@example.com) Send P-XXX-Identity {sip_cid_type=pid}sofia/default/user@example.com (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 (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 (kokoska.rokoska@post.cz)> wrote:
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400 |
|
Back to top |
|
|
sicfslist at gmail.com Guest
|
Posted: Tue Mar 10, 2009 8:37 am Post subject: [Freeswitch-users] Rewriting Remote Party ID |
|
|
Anthony,
That is awesome. This is something that will be a BIG help.
SDR |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|