Dear List

We are renewing our voicemail server and by this occasion I am
migrating from chan_sip to pjsip.

I have come to a problem I have not experienced on other pjsip examples.

Switzerland was heavily SS7 based in the past.

So usually you have a Network provided A Number, which is mapped to the
PAI Header in SIP.
And there is the user provided phone number aka Generic Number, aka
Display Number, which is to be displayed to the destination and which
is transmitted in the From: Header.

So the From: Number is the one we want as source of the call in the
voicemail:

With chan_sip:

Set(Caller=${CALLERID(number)})

${Caller} contains the number from the From: header

With pjsip:

${Caller} contains the number from the PAI header

Any clue how I can change this pjsip behavior?

Mit freundlichen Grüssen

-Benoît Panizzon-
-- 
I m p r o W a r e   A G    -    Leiter Commerce Kunden
______________________________________________________

Zurlindenstrasse 29             Tel  +41 61 826 93 00
CH-4133 Pratteln                Fax  +41 61 826 93 01
Schweiz                         Web  http://www.imp.ch
______________________________________________________

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to