[asterisk-users] hey please help me my 3rd email of how to change From fileld username in sip packet

Hakan C ella4ever at gmail.com
Fri Dec 4 03:51:03 CST 2009


exten => 111,1,Set(CallerID(name)=MyPBX)

or

exten => 111,1,Set(CallerID(all)=123456)

On 12/4/09, Masood Ahmed <masood24 at gmail.com> wrote:
> Dear Hakan,
>
> thank you for your information on this issue it does change but it only
> changed in REQUEST URI field not in From Field,
>
>
> Date: Fri, 4 Dec 2009 11:32:59 +0500
>> From: Masood Ahmed <masood24 at gmail.com>
>> Subject: [asterisk-users] hey please help me my 3rd email of how to
>>        change  From fileld username in sip packet
>> To: asterisk-users at lists.digium.com
>> Message-ID:
>>        <1fda62f80912032232o56fe6969se02526bf4ccf17fd at mail.gmail.com>
>> Content-Type: text/plain; charset="iso-8859-1"
>>
>> hy
>> Hope everyone is fine, I have one issue coming in asterisk , What i am
>> doing
>> is i am generating a callback if some one calls at a specif access number
>> on
>> asterisk,
>>
>> Asterisk sends a busy signal to the calling party that he received a
>> request
>> from party and then sends the call back to the person from where asterisk
>> received a request but in From field as you can see below astrisk is
>> sending
>> the calling ID as "asterisk" and username same ,
>>
>> What i want is that it should forward some CLI in From Field ,
>>
>>
>> I have done my best effort but still not resolved i am adding a callerid
>> in
>> script still same please help me if some one can
>>
>>
>>  IP1:5060 -> IP2:5060
>>  INVITE sip:0423347871787 at IP2:5060 SIP/2.0..Via: SIP/2.0/UDP
>> IP1:5060;branch=z9hG4bK-
>> 966123148--16781
>>  75694--693700493-4-..Via: SIP/2.0/UDP
>> IP1:5065;branch=z9hG4bK00749b6d;rport..Call-Id: 4f8a33b207cd65f060b083b57
>>  804dac8 at IP1..To <804dac8 at 117.20.20.234..To>: <sip:3347871787 at IP1>..
>> *
>> *From: "asterisk"<sip:asterisk at IP1:5065>;tag=as0cae0b**
>>
>> see the last part this is what that i want to change here in from it
>> should
>> be some CLI
>>
>> thanks
>> Masood
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL:
>> http://lists.digium.com/pipermail/asterisk-users/attachments/20091204/9a953328/attachment-0002.htm
>>
>> ------------------------------
>>
>> Message: 24
>> Date: Fri, 4 Dec 2009 11:32:59 +0500
>> From: Masood Ahmed <masood24 at gmail.com>
>> Subject: [asterisk-users] hey please help me my 3rd email of how to
>>        change  From fileld username in sip packet
>> To: asterisk-users at lists.digium.com
>> Message-ID:
>>        <1fda62f80912032232o56fe6969se02526bf4ccf17fd at mail.gmail.com>
>> Content-Type: text/plain; charset="iso-8859-1"
>>
>> hy
>> Hope everyone is fine, I have one issue coming in asterisk , What i am
>> doing
>> is i am generating a callback if some one calls at a specif access number
>> on
>> asterisk,
>>
>> Asterisk sends a busy signal to the calling party that he received a
>> request
>> from party and then sends the call back to the person from where asterisk
>> received a request but in From field as you can see below astrisk is
>> sending
>> the calling ID as "asterisk" and username same ,
>>
>> What i want is that it should forward some CLI in From Field ,
>>
>>
>> I have done my best effort but still not resolved i am adding a callerid
>> in
>> script still same please help me if some one can
>>
>>
>>  IP1:5060 -> IP2:5060
>>  INVITE sip:0423347871787 at IP2:5060 SIP/2.0..Via: SIP/2.0/UDP
>> IP1:5060;branch=z9hG4bK-
>> 966123148--16781
>>  75694--693700493-4-..Via: SIP/2.0/UDP
>> IP1:5065;branch=z9hG4bK00749b6d;rport..Call-Id: 4f8a33b207cd65f060b083b57
>>  804dac8 at IP1..To <804dac8 at 117.20.20.234..To>: <sip:3347871787 at IP1>..
>> *
>> *From: "asterisk"<sip:asterisk at IP1:5065>;tag=as0cae0b**
>>
>> see the last part this is what that i want to change here in from it
>> should
>> be some CLI
>>
>> thanks
>> Masood
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL:
>> http://lists.digium.com/pipermail/asterisk-users/attachments/20091204/9a953328/attachment-0003.htm
>>
>> ------------------------------
>>
>> Message: 25
>> Date: Fri, 4 Dec 2009 09:29:35 +0200
>> From: Hakan C <ella4ever at gmail.com>
>> Subject: Re: [asterisk-users] hey please help me my 3rd email of how
>>        to      change From fileld username in sip packet
>> To: Asterisk Users Mailing List - Non-Commercial Discussion
>>        <asterisk-users at lists.digium.com>
>> Message-ID:
>>        <ef4e56e70912032329m659f0b89p8946f3c96c2c8da5 at mail.gmail.com>
>> Content-Type: text/plain; charset="iso-8859-1"
>>
>> exten => 111,1,Set(CallerID(num)=123456)
>>
>> On Fri, Dec 4, 2009 at 8:32 AM, Masood Ahmed <masood24 at gmail.com> wrote:
>>
>> > hy
>> > Hope everyone is fine, I have one issue coming in asterisk , What i am
>> > doing
>> > is i am generating a callback if some one calls at a specif access
>> > number
>> > on
>> > asterisk,
>> >
>> > Asterisk sends a busy signal to the calling party that he received a
>> > request
>> > from party and then sends the call back to the person from where
>> > asterisk
>> > received a request but in From field as you can see below astrisk is
>> > sending
>> > the calling ID as "asterisk" and username same ,
>> >
>> > What i want is that it should forward some CLI in From Field ,
>> >
>> >
>> > I have done my best effort but still not resolved i am adding a callerid
>> in
>> > script still same please help me if some one can
>> >
>> >
>> >  IP1:5060 -> IP2:5060
>> >  INVITE sip:0423347871787 at IP2:5060 SIP/2.0..Via: SIP/2.0/UDP
>> > IP1:5060;branch=z9hG4bK-
>> > 966123148--16781
>> >  75694--693700493-4-..Via: SIP/2.0/UDP
>> > IP1:5065;branch=z9hG4bK00749b6d;rport..Call-Id:
>> > 4f8a33b207cd65f060b083b57
>> >  804dac8 at IP1..To <804dac8 at 117.20.20.234..To>: <sip:3347871787 at IP1>..
>> > *
>> > *From: "asterisk"<sip:asterisk at IP1:5065>;tag=as0cae0b**
>> >
>> > see the last part this is what that i want to change here in from it
>> should
>> > be some CLI
>> >
>> > thanks
>> > Masood
>> >
>> > _______________________________________________
>> > -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>> >
>> > asterisk-users mailing list
>> > To UNSUBSCRIBE or update options visit:
>> >   http://lists.digium.com/mailman/listinfo/asterisk-users
>> >
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL:
>> http://lists.digium.com/pipermail/asterisk-users/attachments/20091204/2ef5dfbe/attachment-0001.htm
>>
>> ------------------------------
>>
>> Message: 26
>> Date: Fri, 4 Dec 2009 09:41:27 +0100
>> From: Olivier <oza-4h07 at myamail.com>
>> Subject: [asterisk-users] Get Queue values from dialplan (Was:
>>        queue_variables() function)
>> To: Asterisk Users Mailing List - Non-Commercial Discussion
>>        <asterisk-users at lists.digium.com>
>> Message-ID:
>>        <442fbb120912040041t7c2c4f62w8156ff016274c136 at mail.gmail.com>
>> Content-Type: text/plain; charset="iso-8859-1"
>>
>> 2009/12/4 Olivier <oza-4h07 at myamail.com>
>>
>> > Hello,
>> >
>> > Has someone successfully used this QUEUE_VARIABLES() function (in
>> > 1.6.2-rc7) ?
>> > I tried to use it as I'm using SIPPEER() but without success.
>> >
>> > A previous question about it remainded unanswered (
>> > http://thread.gmane.org/gmane.comp.telephony.pbx.asterisk.user/224466).
>> >
>> > Regards
>> >
>>
>> How can can you get current queue's length (ie maxlen) or waiting call
>> number from dialplan ?
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL:
>> http://lists.digium.com/pipermail/asterisk-users/attachments/20091204/d50266ed/attachment.htm
>>
>> ------------------------------
>>
>> _______________________________________________
>> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>>   http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>> End of asterisk-users Digest, Vol 65, Issue 9
>> *********************************************
>>
>



More information about the asterisk-users mailing list