Flowroute: Howto Set Outbound Callerid (ast 1.4)?

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.

10 Responses to “Flowroute: Howto Set Outbound Callerid (ast 1.4)?”

  1. Patrick Lists said:

    Jul 10, 12 at 11:45 am

    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

  2. Ira said:

    Jul 10, 12 at 11:48 am

    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)

  3. Danny Nicholas said:

    Jul 10, 12 at 11:49 am

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

    —–Original Message—

  4. Warren Selby said:

    Jul 10, 12 at 11:52 am

    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 < http://www.selbytech.com>

  5. Patrick Lists said:

    Jul 10, 12 at 12:37 pm

    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

  6. Warren Selby said:

    Jul 10, 12 at 12:48 pm

    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

  7. Patrick Lists said:

    Jul 10, 12 at 1:00 pm

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

    Regards, Patrick

  8. Patrick Lists said:

    Jul 10, 12 at 1:01 pm

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

    Thanks!
    Patrick

  9. Patrick Lists said:

    Jul 10, 12 at 1:07 pm

    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

  10. Alex Balashov said:

    Jul 10, 12 at 11:30 am

    SIPAddHeader() comes to mind. :-)