[asterisk-users] To Header instead of Request URI based routing

Benoit Panizzon benoit.panizzon at imp.ch
Fri Dec 22 07:54:01 CST 2017

Dear List

It looks like the common way to to sip signaling over a trunk is:

In the Request URI, return the 'Register' Contact.
In the To: Header, send the destination number.

Unfortunately, asterisk with pjsip (i did not try chan_sip) does
expect the dialed extension as request uri and does ignore what it is
getting in the To: header.

I could not find any hint in the documentation of this can be changed.

I found instructions for a work-around:


In the meantime: Is there a way to tell the asterisk with pjsip to use
the To: header to address an extension?

Kind regards

-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

More information about the asterisk-users mailing list