[Freeswitch-users] Using an Empty FROM field for SIP Messages

Matthew Fong mattdfong at gmail.com
Fri Feb 11 19:11:10 MSK 2011


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 at 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 at 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 at 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 at 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
>> email: david.ponzone at ipeva.fr
>> tel:      01 74 03 18 97
>> gsm:   06 66 98 76 34
>>
>> Service Client IPeva
>> tel:      0811 46 26 26
>> www.ipeva.fr  -   www.ipeva-studio.com
>>
>> *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 at ipeva.fr>wrote:
>>
>>> Try setting effective_caller_id_number to " "
>>>
>>>  David Ponzone  Direction Technique
>>> email: david.ponzone at ipeva.fr
>>> tel:      01 74 03 18 97
>>> gsm:   06 66 98 76 34
>>>
>>> Service Client IPeva
>>> tel:      0811 46 26 26
>>> www.ipeva.fr  -   www.ipeva-studio.com
>>>
>>> *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 at 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 at alpha-org.com>
>>>
>>> From: <sip:jsmith at beta-org.com>;tag=13456
>>>
>>> Call-ID: @zetamachine.beta-org.com
>>>
>>>
>>> with the From: field looking like any of the following
>>>
>>> From: <sip:jsmith at 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 at 208.76.54.59>;tag=UyNBXjyUUay8m
>>> _______________________________________________
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>>>
>>>
>>>
>>> _______________________________________________
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>>>
>>>
>> _______________________________________________
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>>
>> _______________________________________________
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>
>
> --
> Anthony Minessale II
>
> FreeSWITCH http://www.freeswitch.org/
> ClueCon http://www.cluecon.com/
> Twitter: http://twitter.com/FreeSWITCH_wire
>
> AIM: anthm
> MSN:anthony_minessale at hotmail.com
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org
> googletalk:conf+888 at conference.freeswitch.org
> pstn:+19193869900
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110211/87e76a3d/attachment-0001.html 


More information about the FreeSWITCH-users mailing list