set sip header

40 views
Skip to first unread message

Marcel Schlimper

unread,
Oct 30, 2014, 9:30:16 AM10/30/14
to adhea...@googlegroups.com
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 

Ben Langfeld

unread,
Oct 30, 2014, 9:53:24 AM10/30/14
to adhea...@googlegroups.com
call = Adhearsion::OutboundCall.originate 'SIP/foobar', headers: { 'P-Asserted-ID' => 'doodah' }

--
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 adhearsion+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Marcel Schlimper

unread,
Oct 30, 2014, 9:55:01 AM10/30/14
to adhea...@googlegroups.com

Great. Tanks

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 adhearsion+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages