[asterisk-bugs] [JIRA] (ASTERISK-30017) Sip ! DialString to Pjsip

cagdas kopuz (JIRA) noreply at issues.asterisk.org
Wed Apr 13 07:24:57 CDT 2022


cagdas kopuz created ASTERISK-30017:
---------------------------------------

             Summary: Sip ! DialString to Pjsip
                 Key: ASTERISK-30017
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-30017
             Project: Asterisk
          Issue Type: Information Request
      Security Level: None
          Components: Channels/chan_pjsip, Channels/chan_sip/General, pjproject/pjsip
    Affects Versions: GIT
         Environment: Linux Centos 7
            Reporter: cagdas kopuz
            Severity: Blocker


I decided to switch architecture chan_sip to pjsip.
So i started to testing Pjsip that is suitable for our system.

I couldn't manage to use header manipulation with exclamation mark in Pjsip.
I tried to some configuration with outbound parameters.But i failed. Maybe , i couldn't find way to change it.

I am using exclamation mark in chan_sip like this;

exten => _X.,n,Dial(SIP/${REDIRPREFIX}${EXTEN}!${EXTEN}@mytrunk)

My sip.conf

[general]
prematuremedia=no
allowsubscribe=yes
rtcachefriend=yes
rtupdate=yes
callcounter=yes
limitonpeers=yes
qualify=yes

[1001]
host=dynamic
type=friend
usename=1001
fromuser=1001
secret=1001

[mytrunk]
type= friend
context=pro
allow=ulaw,alaw
secret=password
host=host ip
fromuser=number
nat=force_rpport,comedia
insecure=port,invite


How can i solve this problem. Is there a way to change "to" header in pjsip.

Thanks for help.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list