similar to: Is it possible to perform PJSIP Add Header prior to calling Queue and have it part of the INVITE packet?

Displaying 20 results from an estimated 7000 matches similar to: "Is it possible to perform PJSIP Add Header prior to calling Queue and have it part of the INVITE packet?"

2015 Aug 27
2
Is it possible to perform PJSIP Add Header prior to calling Queue and have it part of the INVITE packet?
Thanks Scott. I?m taking over for someone else?s code, so I must admit I?m still learning the Agent and Queue concepts. Local channels are something I have not used either. Would local channels essentially be an internal bridge? How would I ?Register Local/number at agent in the queue on behalf of the agent (replace number with the agent's extension number)? From: asterisk-users-bounces
2015 Aug 27
2
Is it possible to perform PJSIP Add Header prior to calling Queue and have it part of the INVITE packet?
Thanks Scott. I was able to get the basic concept to run. However, it seems PJSIP INVITE for the Dial also does not support added headers. The Local channel dial plan did have the channel variable values. I added them as SIP headers, then Dial(PJSIP/Agent). The INVITE for the Dial on PJSIP continues to not include the SIP Headers I added. For chan_sip, I have no problem with this. Even the
2015 Aug 27
2
Is it possible to perform PJSIP Add Header prior to calling Queue and have it part of the INVITE packet?
I have both the PJSIP add and the chan_sip way of adding SIP headers in there. The Verbose is showing the variable value is there. The INVITE to PJSIP/Agent1 does not include either X-My-DNID or X-My-DNID2 headers. exten => 1234,1,Verbose(X-My-DNID:${MY_DNID}) same => n,Set(X-My-DNID=${MY_DNID}) same => n,Set(PJSIP_HEADER(add,X-My-DNID2)=${MY_DNID}) same => n,Dial(PJSIP/Agent1)
2014 Dec 15
2
PJSIP configuration question
On Mon, Dec 15, 2014 at 3:33 PM, Dan Cropp <dan at amtelco.com> wrote: > > Hi George, > > > > Thank you for looking into this. > > This is behind a nat? > > > Just to be clear...both the pbx and local endpoints are behind the same NAT? > [global] > > type = global > > debug = yes > > > > [transport1] > > type = transport
2014 Dec 15
2
PJSIP configuration question
On Mon, Dec 15, 2014 at 2:08 PM, Dan Cropp <dan at amtelco.com> wrote: > > Today, I tried the same behavior on Asterisk 13.1.0 and Asterisk 12.2.0. > > > > Same problem is happening with both of them. > > > > Could this be caused by PJPROJECT 2.3? > > > > Anyone have any suggestions for what I can try? > > > > My boss is giving me until
2014 Dec 15
2
PJSIP configuration question
On Mon, Dec 15, 2014 at 3:54 PM, Dan Cropp <dan at amtelco.com> wrote: > > Yes, everything is behind the same NAT. > > > > For the application I?m working on, the only endpoint is the endpoint to > Vitelity. > > We use AMI to Originate calls from Asterisk endpoint through Vitelity to > phones. > > After that, we control the call through AMI to perform the
2018 Oct 03
2
Any idea what causes "Oooh, got a frame with format of g729 on channel 'PJSIP/121-000001d2' when we're sending 'ulaw', switching to match"
The PJSIP endpoint is configured for ulaw only. Not sure how or why we are seeing the g729 on calls for this endpoint. Would this be a case that asterisk detects the rtp stream is g729 even though it's negotiated as ulaw? Why would asterisk change the format to g729 when disallow = all and allow = ulaw are the endpoint settings? [121] type = endpoint context = IS transport = transport1 aors
2014 Dec 10
4
PJSIP configuration question
Not sure why, but Vitelity changed the settings to IP based authentication on me. Here's the new sip.conf settings they sent me. type=friend dtmfmode=auto host=64.2.142.93 allow=all nat=yes canreinvite=no trustrpid=yes sendrpid=yes When I use these settings to originate calls using the sip.conf they sent me, everything works. Action: Originate ActionID: S8 Channel:
2014 Dec 16
4
PJSIP configuration question
On Mon, Dec 15, 2014 at 9:48 PM, Dan Cropp <dan at amtelco.com> wrote: > > Thanks George. > > I will correct my local_net in the morning. > > Vitelity chan_sip settings I have working, do not have a fromuser. > sip.conf settings... > > I think you can actually specify anything, it just has to be populated with something other than a sub-account username. >
2015 Jan 08
2
Asterisk 13.1.0/PJSIP peer IP address issue
I am following the instructions in https://wiki.asterisk.org/wiki/display/AST/Basic+PBX+Functionality and I am trying to make a call from extension Alice (6001) to extension for Bob (6002). When I make the call, I can hear the ringing on Alice's phone (caller), but Bob's phone (callee) doesn't ring, or show a call coming in from Alice. My setup and environment is as follows: Alice, Bob
2015 Apr 01
1
PJSIP Endpoint AOR question
I just realized that you are asking about dynamic AORs, not static Contacts in an AOR. That may be the difference. I have never actually tried giving a dynamic AOR a different name. And you wouldn't want more than one dynamic AOR, you'd just use an AOR that allowed more than 1 contact. On Wed, Apr 1, 2015 at 2:59 PM Trey Hilyard <kctrey at gmail.com> wrote: > I don't know
2020 Feb 14
2
Question on pjsip.conf and aors
I have the following configuration... [aor3] type = aor max_contacts = 1 remove_existing = yes [auth3] type = auth username = 1004 password = SuperSecretProbation [1004] type = endpoint context = IS transport = transport1 auth = auth3 aors = aor3 accountcode = 3 dtmf_mode = rfc4733 device_state_busy_at = 2 force_rport = no moh_passthrough = yes disallow = all allow = ulaw acl = acl1 When a
2014 Dec 16
2
PJSIP configuration question
On Mon, Dec 15, 2014 at 7:34 PM, Dan Cropp <dan at amtelco.com> wrote: > > I am not sure if I entered the correct settings for the transport > information. > > For the local_net, I entered my local ip address, but no mask. I will > check with the network admin so he can verify the settings I entered. > > > You need the network and mask. For example if the ip
2015 Jan 08
4
Asterisk 13.1.0/PJSIP peer IP address issue
Thank you for your note, Scott. I set rewrite_contact=yes for both contacts, and I also had to do remove_existing=yes because I had to remove the existing contact information (max_contacts = 1 was preventing new contact information) using pjsip qualify demo-alice etc., after which the right IP addresses showed in pjsip show endpoints. Anyway, it works as expected now, I think. My pjsip.conf is
2015 Apr 01
4
PJSIP Endpoint AOR question
I am running asterisk 13.1.0 In pjsip.conf, the endpoint section has an aors and an auth field. I can name the auth field anything I want. The key is to set the auth=field accordingly. However, when I try this with the aors field, it never works. It seems I have to name the aors=field to match the name of the endpoint section. Is this correct? Would there ever be a need for multiple aors to
2014 Oct 23
1
PJSIP and NAT behind a dynamic IP address
What should the PJSIP configuration be if your external IP address is dynamic, as is common with most home networks, and probably a lot of small business networks as well? The external_media_address and external_signaling_address transport settings are static. It would be possible to write a script that would detect the external IP address and rewrite the pjsip configuration file, but since you
2014 Dec 16
1
PJSIP configuration question
Here's an update... My network admin would not turn off the ALG because it would cause several other problems to other phone systems we have. He looked at the sip trace. What he found is the PJSIP trace showed a different IP address than the older chan_sip so he had me change the aor contact to outbound.vitelity.net At this point, it seems to be working (and this is going through a Cisco
2014 Jul 23
1
Asterisk 12.4.0 not able to install pjsip
Hi, I had tried all the steps which I used to inatall Asterisk 12.3.2 Pjsip in Asterisk 12.3.2 is working but in new release Asterisk 12.4.0 it is not working I am getting XXX in make menuselect resource_module. I tried all trouble shooting steps along with ldconfig etc. I think its a bug can any one help me on this ? -- Regards Sameer Rathod 8109413462 -------------- next part
2014 Oct 30
1
Register multiple phones to a single AOR with PJSIP
I just finished installing Asterisk 13 on our test server and I can now use PJSIP to register phones and make and receive calls. The only problem I am having is that when I register multiple phones to a single account only one of them rings. The AOR for the account has maxcontacts at 3. If I do a pjsip show endpoints I can see two "Contact" entries which I take to mean that
2014 Dec 14
2
PJSIP configuration question
I am running PJPROJECT 2.3 and Asterisk 13.0.0. I answer the call, about 15 seconds later, vitality hangs up on my cell phone. However, Asterisk is never notified When the OK (for the answer) occurs, the ACK seems to never be accepted. The OK recvd with ACK sent occurs several times. Here are the pjsip.conf settings... [global] type = global debug = yes [transport1] type = transport bind =