Page 1 of 1

Passing SIP header to carrier through Lyra AMD

PostPosted: Mon Jul 18, 2016 1:28 pm
by callcrazy
I have a setup that is working as expected, however one carrier requires a SIP header to modify the caller_id on the outbound call. Other carriers are 100% and don't require this.

In the dial plan I've added this line:
exten => _610XXXXXXXXXX,n,SIPAddHeader(P-ASSERTED-IDENTITY: <sip:${CALLERID(num)}@voip.carrier.com>)

It works on our standard outbound calls but when putting "Lyra AMD for Asterisk 2.0.3" between the calls it doesn't seem to forward so my caller_id is the DID associated with the server not what I'm adding to the P-ASSERTED-IDENTITY header.

I've read over the lyra_user_guide.pdf and don't see anything about passing the header on. I do see other headers but those are for ID's for AMD logging which are working properly:

exten => _610XXXXXXXXXX,n,SipAddHeader(X-Netborder-Cpa-Reference-ID: ${CALLERID(name)})
exten => _610XXXXXXXXXX,n,SipAddHeader(X-Netborder-Cpa-Campaign-Name: CARRIER-A)

Any clues or tips would be most helpful.

Re: Passing SIP header to carrier through Lyra AMD

PostPosted: Mon Jul 18, 2016 1:59 pm
by williamconley
While it's been a while, I think you're going to need to do this in the configuration files of the Lyra server directly. Not a simplistic task if I recall correctly. 8-) Good job posting your specs (but "dell hardware"? Not "Dell PowerEdge 1950" but "Hardware"? LOL)

Re: Passing SIP header to carrier through Lyra AMD

PostPosted: Mon Jul 18, 2016 4:14 pm
by callcrazy
I just updated the footer today to post this question and it wasn't really hardware specific. I'll look up the model numbers in the future as we have a few different types back there for db and pbx's.

Not sure how exactly that Lyra is configured are you? From my research it appears there are some xml files that could be referenced to possibly create a sip header whitelist but the netborder documentation shows a GUI to create them and I don't believe lyra cpd comes with that.

Re: Passing SIP header to carrier through Lyra AMD

PostPosted: Mon Jul 18, 2016 11:21 pm
by williamconley
We've never seen a gui for Lyra. Everything is configuration files. The language is peculiar but understandable. We have found some resources by searching the web, but not in the Vicidial forums. It's always a struggle, but we've also always gotten it working.