Re: [asterisk-users] # converts to %23

2018-02-19 Thread Joshua Colp
On Mon, Feb 19, 2018, at 9:56 AM, Marcus Kvarsell wrote:
> It is in the To: Header.

Encoding is supposed to be done in that case. This became the default in a 
later version, specifically the "pedantic" option in chan_sip was changed to 
default to "yes" instead of "no". If you really don't want it you can change it 
to "no" in sip.conf

-- 
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org

-- 
_
-- 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


Re: [asterisk-users] # converts to %23

2018-02-19 Thread Marcus Kvarsell
It is in the To: Header.

-Ursprungligt meddelande-
Från: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] För Joshua Colp
Skickat: den 19 februari 2018 11:58
Till: asterisk-users@lists.digium.com
Ämne: Re: [asterisk-users] # converts to %23

On Mon, Feb 19, 2018, at 4:24 AM, Marcus Kvarsell wrote:
> Hello,
> 
> I have a broblem in asterisk 15 where an ami originate suddenly 
> converts
> 58#+46435345534 to 58%23+46435345534. This happenend when upgrading 
> asterisk 1.8 to 15. Could anyone help me with how to resolve this issue?

You'll have to be more specific. Where do you see the %23? In SIP? As the 
extension trying to be executed in the dialplan?

--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: 
www.digium.com & www.asterisk.org

--
_
-- 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

-- 
_
-- 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


Re: [asterisk-users] how to get "SMS" messages (http) into Asterisk "sip messages"

2018-02-19 Thread Joshua Colp
On Mon, Feb 19, 2018, at 6:08 AM, Kevin Long wrote:
> 
> Hello,
> 
> We are building a shim to get SMS messages (which come in from twilio 
> via an http post to our python web app), forwarded on to the appropriate 
> SIP client registered to asterisk.
> 
> The application receiving the “SMS” via HTTPS from twilio does not have 
> a SIP component.
> 
> I am hoping there are different ways to get the message details into 
> Asterisk so that it can create a MESSAGE and send it to the local 
> endpoint.
> 
> Does anyone know the best way to get this information into Asterisk? Can 
> I do it with AMI, AGI, a file queue ?
> 
> Would love to hear from anyone who has implemented something like this. 
> Outbound is the easy part. How are you handling inbound SMS->SIP ?

ARI can be used to send messages[1] or you can use file based origination[2] to 
send a message using the dialplan[3].

[1] 
https://wiki.asterisk.org/wiki/display/AST/Asterisk+15+Endpoints+REST+API#Asterisk15EndpointsRESTAPI-sendMessageToEndpoint
[2] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Call+Files
[3] 
https://wiki.asterisk.org/wiki/display/AST/Asterisk+15+Application_MessageSend

-- 
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org

-- 
_
-- 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

Re: [asterisk-users] # converts to %23

2018-02-19 Thread Joshua Colp
On Mon, Feb 19, 2018, at 4:24 AM, Marcus Kvarsell wrote:
> Hello,
> 
> I have a broblem in asterisk 15 where an ami originate suddenly converts 
> 58#+46435345534 to 58%23+46435345534. This happenend when upgrading 
> asterisk 1.8 to 15. Could anyone help me with how to resolve this issue?

You'll have to be more specific. Where do you see the %23? In SIP? As the 
extension trying to be executed in the dialplan?

-- 
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org

-- 
_
-- 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


[asterisk-users] how to get "SMS" messages (http) into Asterisk "sip messages"

2018-02-19 Thread Kevin Long

Hello,

We are building a shim to get SMS messages (which come in from twilio via an 
http post to our python web app), forwarded on to the appropriate SIP client 
registered to asterisk.

The application receiving the “SMS” via HTTPS from twilio does not have a SIP 
component.

I am hoping there are different ways to get the message details into Asterisk 
so that it can create a MESSAGE and send it to the local endpoint.

Does anyone know the best way to get this information into Asterisk? Can I do 
it with AMI, AGI, a file queue ?

Would love to hear from anyone who has implemented something like this. 
Outbound is the easy part. How are you handling inbound SMS->SIP ?


Regards,

Kevin Long


-- 
_
-- 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

[asterisk-users] # converts to %23

2018-02-19 Thread Marcus Kvarsell
Hello,

I have a broblem in asterisk 15 where an ami originate suddenly converts 
58#+46435345534 to 58%23+46435345534. This happenend when upgrading asterisk 
1.8 to 15. Could anyone help me with how to resolve this issue?

Regards / Marcus

[Beskrivning: Fogwise - logotype]
Marcus Kvarsell
phone: +46766350384
e-mail: mar...@fogwise.se
url: http://www.fogwise.se
Like us on facebook: 
https://www.facebook.com/WiseDialer
Follow us on LinkedIn https://www.linkedin.com/company/fogwise-ab
FOGWISE AB
Fleminggatan 2
SE-602 24 Norrköping
Sweden

-- 
_
-- 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