-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Hi Marcin,
I have looked at the code a bit more and realize the offnet request
being processed will have caller id in "Outbound-Caller-ID-Number" (or
"Emergency-Caller-ID-Number" if an emergency call).
Try changing the formatter to use "outbound_caller_id_number" instead; I
believe that should work for outbound.
Side note: I'm updating the docs for formatters to include the schemas
of the various AMQP requests that formatters would have access to when
running, which should hopefully make it more clear what fields should be
used. Should have a PR up in the next day or two.
>>
sip:...@2600hz.com <javascript:>
>> tel:
415.886.7905
>> irc:mc_ @ freenode
>> -----BEGIN PGP SIGNATURE-----
>>
>> iQEzBAEBCAAdFiEEvSh+xZ5hP1H8lVIU1Mpr4k9cJWAFAllWdYMACgkQ1Mpr4k9c
>> JWDULwf+PmG3ppPd/TzOwlS0XcYdXI7UfWt06d8r5SAmvEVpcfDnKtdpP5AzsIN5
>> UDM5ZUgXfXpDQmRaKt52lRI7tFKn501la4cTU+1e0VHxaZw0Wmtg5WXldj8rZb/k
>> bzEAxUvMByjSjr0FhPa3PumHtvROrKrHeWy4phCQyqpi3N2LeLylT38aj2hYvWyB
>> z082knanCx7TI9AktxS8AQi1bEQVPuJhzNL2n1KHturBefmNJ3WdkLd8oh9gYT18
>> Tb+tj0OYonzIghdvhpFq/iqpMcP5+bHZc0bCRdMGQxleuTNzntRkp07NUK76ehv2
>> DIgumksXzmGsG/e95KZCraZUKXNxhQ==
>> =aSLB
>> -----END PGP SIGNATURE-----
>>
- --
James Aimonetti
Lead Systems Architect
"If Dialyzer don't care, I don't care"
2600HzPDX |
http://2600hz.com
sip:ja...@2600hz.com
tel:
415.886.7905
irc:mc_ @ freenode
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCAAdFiEEvSh+xZ5hP1H8lVIU1Mpr4k9cJWAFAllYhUUACgkQ1Mpr4k9c
JWBg9QgAly9hrCf45Q2GASO4C3ZmHN7Hrm2fRH3LYZbG6AHml/ZDk9tr3vR/cDtX
0dDuUJfust7UdDj2aS6DQYyax7KSZy/Yc2ntg5LfQ8b0O7qD4WBQXTkHAdqhY7vm
r55lA/tREasb4DLP6JMIg2JRL/K6CZMBMGkgo8xEK3WPCqnTKj+HJQaBX2Amu6Ww
Cq+re7qZ3yxmvX75Hlqcidf1iFYycaVz2KFAdnRducXfy1SXAVzpmfEXtbyQNLgN
6LPJ6Z7JwIrs8i2SvwyZ1oJOYd7lAFLAgJlK2txcToj5pIzrPlooLN8BFbo3R18R
5ejyXSoCbFY5//37A0b9w8OpBx0+YQ==
=OR15
-----END PGP SIGNATURE-----