set sip header

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

set sip header

Marcel Schlimper
Hi,

i use adhearsion to make outbound calls from a webapp over asterisk to a provider. 

Now i need the option to set a sip header variable:

P-Asserted-ID

for the out going call.

is there a way to do this with adhearsion?


Thanks
Marcel 

--
You received this message because you are subscribed to the Google Groups "Adhearsion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: set sip header

Ben Langfeld-2
call = Adhearsion::OutboundCall.originate 'SIP/foobar', headers: { 'P-Asserted-ID' => 'doodah' }

On 30 October 2014 11:30, Marcel Schlimper <[hidden email]> wrote:
Hi,

i use adhearsion to make outbound calls from a webapp over asterisk to a provider. 

Now i need the option to set a sip header variable:

P-Asserted-ID

for the out going call.

is there a way to do this with adhearsion?


Thanks
Marcel 

--
You received this message because you are subscribed to the Google Groups "Adhearsion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Adhearsion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: set sip header

Marcel Schlimper

Great. Tanks

Am 30.10.2014 14:53 schrieb "Ben Langfeld" <[hidden email]>:
call = Adhearsion::OutboundCall.originate 'SIP/foobar', headers: { 'P-Asserted-ID' => 'doodah' }

On 30 October 2014 11:30, Marcel Schlimper <[hidden email]> wrote:
Hi,

i use adhearsion to make outbound calls from a webapp over asterisk to a provider. 

Now i need the option to set a sip header variable:

P-Asserted-ID

for the out going call.

is there a way to do this with adhearsion?


Thanks
Marcel 

--
You received this message because you are subscribed to the Google Groups "Adhearsion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "Adhearsion" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/adhearsion/0cJNskgInVs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Adhearsion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.