Author Topic: custom H323 header  (Read 195 times)

cp_yates

  • Newbie
  • *
  • Posts: 1
    • View Profile
custom H323 header
« on: January 16, 2017, 05:42:27 AM »
Is there any way to pass a custom SIP header as a h323 user-user header.

I have incoming SIP calls, containing a custome SIP header, which i need to pass inside an h323 call, so they can be intercepted by an Avaya AES, for onward integration. Any mechanism of getting the custom data over is valid, as i dont need the call records in yate or avaya to match ID/DID etc.

Currently using regexroute to target the avaya:

^5550005=h323/655201@10.11.10.20

have attenpted to pass SIP custom fields/h323 'userdata' header without any success.

Using yate 4.2.0 (H323Plus v1.26.7) on Ubuntu 12.04

Any help would be appreciated.




asymetrixs

  • Administrator
  • Newbie
  • *****
  • Posts: 41
    • View Profile
Re: custom H323 header
« Reply #1 on: February 05, 2017, 06:28:04 AM »
How did you try it?

Sending a custom SIP header is done via 'osip_' prefix. E.g. if you want to send a field called 'userdata', then in sip it would be osip_userdata=theactualdata.
I am not sure for h323, but you can look into the yate source of the h323 module (maybe this: https://github.com/vir/yate/blob/master/modules/h323chan.cpp) or give oh323_userdata=<...> a try.