B.S.

It's right here in the code:

if (!from_display && !strcasecmp(tech_pvt->caller_profile->caller_id_name, "_undef_")) {
            from_str = switch_core_session_sprintf(session, "<%s>", use_from_str);
        } else {
            from_str = switch_core_session_sprintf(session, "\"%s\" <%s>", from_display ? from_display :
                                                   tech_pvt->caller_profile->caller_id_name, use_from_str);
        }


do you see any "" in the From: on this sip trace?


freeswitch@deathstar.freeswitch.org> originate {origination_caller_id_name=_undef_}sofia/internal/1235@conference.freeswitch.org 9999
2011-02-11 14:29:54.249877 [NOTICE] switch_channel.c:811 New Channel sofia/internal/1235@conference.freeswitch.org [f779eb8b-7b2c-480e-b262-824bda48548b]
2011-02-11 14:29:54.249877 [WARNING] switch_core_port_allocator.c:78 Rounding odd end port 65535 to 65534
send 1229 bytes to udp/[74.112.133.77]:5060 at 20:29:54.399158:
   ------------------------------------------------------------------------
   INVITE sip:1235@conference.freeswitch.org SIP/2.0
   Via: SIP/2.0/UDP 8.19.97.170;rport;branch=z9hG4bKBc6y0DN2mvgXc
   Max-Forwards: 70
   From: <sip:0000000000@8.19.97.170>;tag=Bc78t3mKKHDHp
   To: <sip:1235@conference.freeswitch.org>
   Call-ID: 86929dca-b0c0-122e-2091-00219b8b1186
   CSeq: 8392033 INVITE
   Contact: <sip:mod_sofia@8.19.97.170:5060>
   User-Agent: The Guy In IRC IS WRONG
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
   Supported: timer, precondition, path, replaces
   Allow-Events: talk, hold, presence, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer
   Session-Expires: 300;refresher=uac
   Min-SE: 120
   Content-Type: application/sdp
   Content-Disposition: session
   Content-Length: 305
   X-FS-Support: update_display
   Remote-Party-ID: <sip:0000000000@8.19.97.170>;party=calling;screen=yes;privacy=off



On Fri, Feb 11, 2011 at 10:30 AM, Matthew Fong <mattdfong@gmail.com> wrote:
No luck :(

freeswitch@ubuntu> originate {ignore_early_media=true,effective_caller_id_name=_undef_}sofia/gateway/airwest.com/1415992XXXX 5000


   ------------------------------------------------------------------------
   INVITE sip:14159927717@64.211.41.115 SIP/2.0
   Via: SIP/2.0/UDP 67.43.59.58:5080;rport;branch=z9hG4bK774H41greZpXc
   Max-Forwards: 70
   From: "" <sip:unused@64.211.41.115;transport=udp>;tag=7tjDN85Qyt48r


On Fri, Feb 11, 2011 at 8:18 AM, David Ponzone <david.ponzone@ipeva.fr> wrote:
Set effective_caller_id_name to _undef_.

David Ponzone  Direction Technique
tel:      01 74 03 18 97
gsm:   06 66 98 76 34

Service Client IPeva
tel:      0811 46 26 26

Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur.




Le 11/02/2011 à 17:11, Matthew Fong a écrit :

inside my conf/sip_profiles/external/airespring.xml file I set

<param name="caller-id-in-from" value="_undef_"/>

and restarted but

   ------------------------------------------------------------------------
   INVITE sip:14159927717@64.211.41.115 SIP/2.0
   Via: SIP/2.0/UDP 67.43.59.58:5080;rport;branch=z9hG4bK92ypSpD2Q6D6H
   Max-Forwards: 70
   From: "" <sip:@67.43.59.58>;tag=9tyvjr55tmyXe

is still the output of the INVITE

Airespring needs (without the "" after From:, but before <sip:...)

   ------------------------------------------------------------------------
   INVITE sip:14159927717@64.211.41.115 SIP/2.0
   Via: SIP/2.0/UDP 67.43.59.58:5080;rport;branch=z9hG4bK92ypSpD2Q6D6H
   Max-Forwards: 70
   From: <sip:@67.43.59.58>;tag=9tyvjr55tmyXe

I also tried setting sip_from_uri, effective_caller_id_number to _undef_ but did not see a different result. Am I setting _undef_ in the correct places? Thanks.

I am using the latest nightly snapshop.

--matt

On Fri, Feb 11, 2011 at 4:04 AM, Anthony Minessale <anthony.minessale@gmail.com> wrote:
set it to _undef_ for blank in the sip packet.
one of many hacks for stupid behaviors in commercial products.



On Fri, Feb 11, 2011 at 5:37 AM, David Ponzone <david.ponzone@ipeva.fr> wrote:
Matthew,

I think I forgot to tell you something.
If you are sending the call to an outbound gateway, you need to add this in the gateway parameter:
 <param name="caller-id-in-from" value="true"/>

David Ponzone  Direction Technique
tel:      01 74 03 18 97
gsm:   06 66 98 76 34

Service Client IPeva
tel:      0811 46 26 26

Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur.




Le 11/02/2011 à 12:06, Matthew Fong a écrit :

effective_caller_id_number doesn't seem to work. I was able to get

From: "" <sip:@0.0.0.0>;tag=j0yN36H8tZgDe

using sip_from_uri='<sip:@X.X.X.X>' but there are still the proceeding ""

Does anyone else have any suggestions?

Thanks
--matt
http://www.hellohunter.com
Hosted Dialer
On Wed, Feb 9, 2011 at 2:06 AM, David Ponzone <david.ponzone@ipeva.fr> wrote:
Try setting effective_caller_id_number to " "

David Ponzone  Direction Technique
tel:      01 74 03 18 97
gsm:   06 66 98 76 34

Service Client IPeva
tel:      0811 46 26 26

Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur.




Le 09/02/2011 à 10:55, Matthew Fong a écrit :

I am trying to setup a customer who wanted to utilize the airespring national did presence, where in they rewrite the Caller ID of outbound calls. In order to do this tho, they say I need to send a blank caller id. FreeSWITCH will send 0000000000 if the caller id is not specified. Airespring wants something formatted like

INVITE sip:jungar@alpha-org.com SIP/2.0

Via: SIP/2.0/UDP zetamachine.beta-org.com:5060;branch=as82je8ei4kr

Max-Forwards: 70

To:  2556112121 <sip:jungar@alpha-org.com>

From: <sip:jsmith@beta-org.com>;tag=13456

Call-ID: @zetamachine.beta-org.com



with the From: field looking like any of the following

From: <sip:jsmith@beta-org.com>;tag=13456
From: <  @208.76.54.59>;tag=13456
From:  @208.76.54.59;tag=13456

The closest I got was to make FreeSWITCH to the following, but airespring won't budge. Can anyone tell me how to make the From string as airespring wants for their national DID presence service. Thanks.
From: "" <sip:0000000000@208.76.54.59>;tag=UyNBXjyUUay8m
_______________________________________________
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




--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
googletalk:conf+888@conference.freeswitch.org
pstn:+19193869900

_______________________________________________
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




--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
googletalk:conf+888@conference.freeswitch.org
pstn:+19193869900