Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Caller ID Not Being Overrirdden with Dial Verb #7

Closed
mattwilliamson opened this issue Jun 13, 2011 · 5 comments
Closed

Caller ID Not Being Overrirdden with Dial Verb #7

mattwilliamson opened this issue Jun 13, 2011 · 5 comments
Assignees

Comments

@mattwilliamson
Copy link
Contributor

The following XML is executed when I dial a DID from a SIP phone which sends it's caller id as (732) 276-1300. Instead of the caller id coming up as 17328381916, it comes up as 7322761300, the number dialing from.

<?xml version="1.0"?>
<Response>
    <Dial action="None" callerId="17328381916" hangupOnStar="false" method="POST" timeLimit="14400" timeout="30">
        <Number gateways="sofia/gateway/sip1">+18457026652</Number>
    </Dial>
    <Speak loop="1" voice="slt">The call failed or the remote party hung up. Goodbye</Speak>
</Response>
@ghost ghost assigned mike-plivo Jun 16, 2011
@mike-plivo
Copy link
Member

Can you catch and report the log line from plivo-outbound starting with 'Dial Started' when you execute this restxml ?

@mattwilliamson
Copy link
Contributor Author

It's a little different now, I'm dialing 1000@localhost -> plivo@localhost -> +17328381916

callerId = 19492660931

2011-06-20 12:13:37,989 outboundserver[58772]: INFO: (6) Dial Started {effective_caller_id_number=19492660931}sofia/gateway/flowroute/+17328381916|sofia/gateway/flowroute/+17328381916
2011-06-20 12:13:37,990 outboundserver[58772]: DEBUG: (6) Execute: bridge args={effective_caller_id_number=19492660931}sofia/gateway/flowroute/+17328381916|sofia/gateway/flowroute/+17328381916, uuid='', lock=True, loops=1
2011-06-20 12:13:37,992 outboundserver[58772]: DEBUG: (6) Response: <CommandResponse headers={'Content-Type': 'command/reply', 'Reply-Text': '+OK'}, body=>
2011-06-20 12:13:43,382 outboundserver[58772]: DEBUG: (6) Execute: api args='uuid_getvar c6208b0c-3a6b-4f71-b7d1-e2c17d91c55e bridge_hangup_cause'
2011-06-20 12:13:43,382 outboundserver[58772]: DEBUG: (6) Response: <ApiResponse headers={'Content-Length': '15', 'Content-Type': 'api/response'}, body=NORMAL_CLEARING>
2011-06-20 12:13:43,383 outboundserver[58772]: INFO: (6) Dial Finished with reason: NORMAL_CLEARING (B leg)
2011-06-20 12:13:43,383 outboundserver[58772]: DEBUG: (6) Execute: bgapi args='sched_del 4184f514-9b58-11e0-badb-109add5ec926'
2011-06-20 12:13:43,385 outboundserver[58772]: DEBUG: (6) Response: <BgapiResponse headers={'Content-Type': 'command/reply', 'Reply-Text': '+OK Job-UUID: 6a22ae4e-df5c-4d6a-8b0b-93a9fce609ba', 'Job-UUID': '6a22ae4e-df5c-4d6a-8b0b-93a9fce609ba'}, body=>
2011-06-20 12:13:43,385 outboundserver[58772]: DEBUG: (6) Execute: api args='uuid_getvar c6208b0c-3a6b-4f71-b7d1-e2c17d91c55e plivo_dial_rang'
2011-06-20 12:13:43,386 outboundserver[58772]: DEBUG: (6) Response: <ApiResponse headers={'Content-Length': '4', 'Content-Type': 'api/response'}, body=true>
2011-06-20 12:13:43,386 outboundserver[58772]: INFO: (6) [Dial] Done

@mattwilliamson
Copy link
Contributor Author

Here's the XML:

<?xml version="1.0"?>
<Response>
    <Dial callerId="19492660931" hangupOnStar="false" method="POST" timeLimit="14400" timeout="30">
        <Number gateways="sofia/gateway/flowroute,sofia/gateway/flowroute">+17328381916</Number>
    </Dial>
    <Speak loop="1" voice="slt">The call failed or the remote party hung up. Goodbye</Speak>
</Response>

@mike-plivo
Copy link
Member

thanks for the update.

Can you retry with the last commit ?

@mattwilliamson
Copy link
Contributor Author

It works! As usual you get it on the first try ;)

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants