Flowroute: Howto Set Outbound Callerid (ast 1.4)?

Report
Question
The flowroute website mentions that they set callerid on outbound calls based on the presence of (in order of preference): "P-Asserted-Identity", "Remote-Party-ID" or "From:". I've been trying to make outbound callerid work via flowroute to no avail. Does anyone have an extensions.conf / sip.conf snippet howto make this work? This is for Asterisk 1.4.44.
Asterisk Tips 3.2 years ago 10 Answers

Answers ( 10 )

  1. Alex Balashov
    +1
    July 10, 2012 at 11:30 am
    Reply

    SIPAddHeader() comes to mind. :-)

  2. Patrick Lists
    +1
    July 10, 2012 at 11:45 am
    Reply

    Yup I got that far :) I tried things like (with correct name & number):

    exten => _1ZXXXXXXXXX,1,SipAddHeader(P-Asserted-Identity: "Global Minties Corp" )

    But that did not work as flowroute always sends "VOIP CALLER" and a ton of different numbers on outbound calls. So I guess I am doing something wrong but I can't figure out what.

    Regards, Patrick

  3. Ira
    +1
    July 10, 2012 at 11:48 am
    Reply

    At 09:20 AM 7/10/2012, you wrote:

    This is a section of code I use to choose outgoing callerid for my Flowroute lines. I have a number of companies and this lets the caller select what the called parts sees.

    Ira

    same => n(got0),set(thiscid=NOONE<2345678901>) same => n,goto(gotcallerid) same => n(got1),set(thiscid=Bb and Lucy<3124726322>) same => n,goto(gotcallerid) same => n(got2),set(thiscid124724022<3124724022>) same => n,goto(gotcallerid) same => n(got3),set(thiscid=Mustang<3126925021>) same => n,goto(gotcallerid)

  4. Danny Nicholas
    +1
    July 10, 2012 at 11:49 am
    Reply

    Check your users.conf - this looks like an override issue to me.

    -----Original Message---

  5. Warren Selby
    +1
    July 10, 2012 at 11:52 am
    Reply

    You can't* set the outbound name. That's defined in the national caller id name database that the receiving phone company dips into. As far as I know, Flowroute does not add entries to this database, nor do they dip it when you receive a call to pass the caller ID name on inbound calls. Other providers do.

    * - You may be able to set it if you're calling other users on the Flowroute network, I'm not sure. But in general, once your call leaves the Flowroute network, the only way to get the CNAM info is from a CNAM dip to the national database (I don't recall the actual name).

    -- Thanks, --Warren Selby, dCAP http://www.SelbyTech.com

  6. Patrick Lists
    +1
    July 10, 2012 at 12:37 pm
    Reply

    Thank you for your feedback Warren. I removed the outbound name but still get random numbers & "VOIP CALLER" on outbound calls. Googling I tried some more:

    SipAddHeader(P-Asserted-Identity: ) SipAddHeader(P-Asserted-Identity: 19995551212) SipAddHeader(P-Preferred-Identity: ) SipAddHeader(P-Preferred-Identity: 19995551212)

    But none of them work. So unless someone has the magic incantation howto make this work I'll open a ticket with flowroute.

    Regards, Patrick

  7. Warren Selby
    +1
    July 10, 2012 at 12:48 pm
    Reply

    I use Flowroute. My outbound callerID is set as follows:

    [outgoing] exten => _X.,1,Verbose(Outound call from ${callidnum} to ${EXTEN} on ${STRFTIME(${EPOCH},,%D)} at ${STRFTIME(${EPOCH},,%T)}) exten => _X.,n,Set(CALLERID(num)=${callidnum}) exten => _X.,n,Goto(outgoing-dial,${EXTEN},1)

    [outgoing-dial] exten => _NXXNXXXXXX,1,Dial(SIP/1${EXTEN}@flowroute)

    exten => _1NXXNXXXXXX,1,Dial(SIP/${EXTEN}@flowroute)

    ${callidnum} is a variable from my SIP peer (setvar

  8. Patrick Lists
    +1
    July 10, 2012 at 13:00 pm
    Reply

    Thank you for your feedback Danny. users.conf is default and has not been touched.

    Regards, Patrick

  9. Patrick Lists
    +1
    July 10, 2012 at 13:01 pm
    Reply

    Thank you for that snippet Ira. You and Warren were spot on. All is fine now.

    Thanks! Patrick

  10. Patrick Lists
    +1
    July 10, 2012 at 13:07 pm
    Reply

    Thank you for that snippet Warren. I setup a different US DID and called that one via flowroute and the callerid worked. Previously I called a voip.ms toll-free number. I'll blame it on (lack of) carrier interoperability :) Good to know outbound callerid works without having to use magic SipAddHeader incantations.

    Thanks! Patrick

 Prev question

Next question