Hi,
I have a geeneral question (or problem in my head). I have Freeswitch and FusionPBX running. Now I receive an incoming call with this header:
INCOMING
From: <sip:+49111111@1.2.3.4>;tag=gK061ec06b
To: <sip:+49xxx@5.6.7.8>
P-Asserted-Identity: <sip:+49222222@1.2.3.4:5060>
My inbound route catches the call and bridges it to some asterisk server. But the outgoing sip header look like this:
OUTGOING (BRIDGE)
From: "+49111111" <sip:+49222222@some.domain>;tag=ZyQ94mS2S3KmK
To: <sip:+49xxx@som.domain>
P-Asserted-Identity: "+49111111" <sip:+49222222@kraemer-pferdesport.questfon.cloud>
The receiving asterisk servers grabs the caller-id from the from-header (+49222222). BUT this is not the original caller-id seen in the incoming call. So why is the PAI-Number put into From-Header when briding a call?
Of course, I could set effective_caller_id_number before bridging the call. But I want to understand the mechanism behind this feature. Is it "normal", that the caller-id is extracted from PAI when PAI is present? And can I suppress this behaviour?
BTW: this example comes from a german telekom lan ip connection.
Best regards, Thorsten
I have a geeneral question (or problem in my head). I have Freeswitch and FusionPBX running. Now I receive an incoming call with this header:
INCOMING
From: <sip:+49111111@1.2.3.4>;tag=gK061ec06b
To: <sip:+49xxx@5.6.7.8>
P-Asserted-Identity: <sip:+49222222@1.2.3.4:5060>
My inbound route catches the call and bridges it to some asterisk server. But the outgoing sip header look like this:
OUTGOING (BRIDGE)
From: "+49111111" <sip:+49222222@some.domain>;tag=ZyQ94mS2S3KmK
To: <sip:+49xxx@som.domain>
P-Asserted-Identity: "+49111111" <sip:+49222222@kraemer-pferdesport.questfon.cloud>
The receiving asterisk servers grabs the caller-id from the from-header (+49222222). BUT this is not the original caller-id seen in the incoming call. So why is the PAI-Number put into From-Header when briding a call?
Of course, I could set effective_caller_id_number before bridging the call. But I want to understand the mechanism behind this feature. Is it "normal", that the caller-id is extracted from PAI when PAI is present? And can I suppress this behaviour?
BTW: this example comes from a german telekom lan ip connection.
Best regards, Thorsten